1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

See ChangeLog: Thu Feb 25 18:47:39 CET 1999 Werner Koch

This commit is contained in:
Werner Koch 1999-02-25 17:51:55 +00:00
parent cbe6d2fd2a
commit 946916a53d
12 changed files with 90 additions and 11 deletions

View file

@ -93,7 +93,9 @@ open_outfile( const char *iname, int mode, IOBUF *a )
char *buf=NULL;
const char *name;
if( opt.outfile )
if( opt.dry_run )
name = "/dev/null";
else if( opt.outfile )
name = opt.outfile;
else {
#ifdef USE_ONLY_8DOT3
@ -162,6 +164,9 @@ copy_options_file( const char *destdir )
int linefeeds=0;
int c;
if( opt.dry_run )
return;
fname = m_alloc( strlen(datadir) + strlen(destdir) + 15 );
strcpy(stpcpy(fname, datadir), "/options" SKELEXT );
src = fopen( fname, "r" );