mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Upgraded gettext.
Fixed accidental dependency on libgcrypt 1.3.0.
This commit is contained in:
parent
174521f8da
commit
d5052fd228
82 changed files with 11894 additions and 10538 deletions
|
@ -77,6 +77,10 @@ overwrite_filep( const char *fname )
|
|||
if ( !strcmp ( fname, "/dev/null" ) )
|
||||
return 1; /* does not do any harm */
|
||||
#endif
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
if ( !strcmp ( fname, "/dev/nul" ) )
|
||||
return 1;
|
||||
#endif
|
||||
|
||||
/* fixme: add some backup stuff in case of overwrite */
|
||||
if( opt.answer_yes )
|
||||
|
@ -196,8 +200,14 @@ open_outfile( const char *iname, int mode, IOBUF *a )
|
|||
char *buf = NULL;
|
||||
const char *name;
|
||||
|
||||
if( opt.dry_run )
|
||||
name = "/dev/null";
|
||||
if ( opt.dry_run )
|
||||
{
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
name = "/dev/nul";
|
||||
#else
|
||||
name = "/dev/null";
|
||||
#endif
|
||||
}
|
||||
else if( opt.outfile )
|
||||
name = opt.outfile;
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue