diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-03-02 22:29:42 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-03-02 22:29:42 +0100 |
commit | c42b7e8de6c122a378e334f0646f000d73e83bd8 (patch) | |
tree | 118e15dfadfbf90ff89cf23b502f16987e1c1fc1 /src/libopts/makeshell.c | |
parent | 95102a4a1b25141bb768f7d10d2efc162ce451f3 (diff) | |
download | gnutls-c42b7e8de6c122a378e334f0646f000d73e83bd8.tar.gz |
Added ifdef HAVE_FCHMOD
Diffstat (limited to 'src/libopts/makeshell.c')
-rw-r--r-- | src/libopts/makeshell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libopts/makeshell.c b/src/libopts/makeshell.c index 1730c8176d..a2b0a2e101 100644 --- a/src/libopts/makeshell.c +++ b/src/libopts/makeshell.c @@ -164,7 +164,9 @@ optionParseShell(tOptions * pOpts) printf(SHOW_PROG_ENV, pOpts->pzPROGNAME); fflush(stdout); +#ifdef HAVE_FCHMOD fchmod(STDOUT_FILENO, 0755); +#endif fclose(stdout); if (ferror(stdout)) { fputs(zOutputFail, stderr); |