diff options
author | Werner Koch <wk@gnupg.org> | 2007-05-09 13:01:33 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-05-09 13:01:33 +0200 |
commit | edb3dc99e9833136a7454561d8e0845aa9e55609 (patch) | |
tree | 112160d61c00df7b476409a698f746b07076e20c /g10/openfile.c | |
parent | Add a howto section. (diff) | |
download | gnupg2-edb3dc99e9833136a7454561d8e0845aa9e55609.tar.xz gnupg2-edb3dc99e9833136a7454561d8e0845aa9e55609.zip |
Preparing 2.0.4gnupg-2.0.4
Diffstat (limited to 'g10/openfile.c')
-rw-r--r-- | g10/openfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/openfile.c b/g10/openfile.c index d0be66157..008752fb8 100644 --- a/g10/openfile.c +++ b/g10/openfile.c @@ -78,7 +78,7 @@ overwrite_filep( const char *fname ) return 1; /* does not do any harm */ #endif #ifdef HAVE_W32_SYSTEM - if ( !strcmp ( fname, "/dev/nul" ) ) + if ( !strcmp ( fname, "nul" ) ) return 1; #endif @@ -203,7 +203,7 @@ open_outfile( const char *iname, int mode, IOBUF *a ) if ( opt.dry_run ) { #ifdef HAVE_W32_SYSTEM - name = "/dev/nul"; + name = "nul"; #else name = "/dev/null"; #endif |