summaryrefslogtreecommitdiffstats
path: root/g10/openfile.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-05-09 13:01:33 +0200
committerWerner Koch <wk@gnupg.org>2007-05-09 13:01:33 +0200
commitedb3dc99e9833136a7454561d8e0845aa9e55609 (patch)
tree112160d61c00df7b476409a698f746b07076e20c /g10/openfile.c
parentAdd a howto section. (diff)
downloadgnupg2-edb3dc99e9833136a7454561d8e0845aa9e55609.tar.xz
gnupg2-edb3dc99e9833136a7454561d8e0845aa9e55609.zip
Preparing 2.0.4gnupg-2.0.4
Diffstat (limited to 'g10/openfile.c')
-rw-r--r--g10/openfile.c4
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