pgp_gpg.c: replace one fdopen with Fdopen ENGINE-451
authorClaudio Luck <claudio.luck@pep.foundation>
Mon, 13 Aug 2018 12:42:58 +0200
branchENGINE-451
changeset 2814eb72dc767118
parent 2813 7f17851f7f17
child 2815 a68431e7f3c1
pgp_gpg.c: replace one fdopen with Fdopen
src/pgp_gpg.c
     1.1 --- a/src/pgp_gpg.c	Mon Aug 13 11:13:31 2018 +0200
     1.2 +++ b/src/pgp_gpg.c	Mon Aug 13 12:42:58 2018 +0200
     1.3 @@ -318,7 +318,7 @@
     1.4      if (temp_config_filedesc == -1)
     1.5          goto quickfix_error;
     1.6  
     1.7 -    temp_config_file = fdopen(temp_config_filedesc, "w");    // no "b" in fdopen() is documentend, use freopen()
     1.8 +    temp_config_file = Fdopen(temp_config_filedesc, "w");    // no "b" in fdopen() is documentend, use freopen()
     1.9      fprintf(stderr, "temp_config_file '%s' (fd=%d)\n", temp_config_filedesc, temp_config_file);
    1.10      assert(temp_config_file != NULL);
    1.11      if (temp_config_file == NULL)