1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

2004-09-11 Moritz Schulte <moritz@g10code.com>

* openfile.c (copy_options_file): Fixed last commit (added a `+').
This commit is contained in:
Moritz Schulte 2004-09-11 13:34:41 +00:00
parent 609d9516be
commit 305f910ed2
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-09-11 Moritz Schulte <moritz@g10code.com>
* openfile.c (copy_options_file): Fixed last commit (added a `+').
2004-08-31 Werner Koch <wk@g10code.de> 2004-08-31 Werner Koch <wk@g10code.de>
* openfile.c (copy_options_file): Use gpg-conf.skel. Better take * openfile.c (copy_options_file): Use gpg-conf.skel. Better take

View File

@ -309,7 +309,7 @@ copy_options_file( const char *destdir )
return; return;
fname = xmalloc ( strlen(datadir) + strlen(destdir) fname = xmalloc ( strlen(datadir) + strlen(destdir)
strlen (SKELEXT) + 15 ); + strlen (SKELEXT) + 15 );
strcpy(stpcpy(fname, datadir), DIRSEP_S "gpg-conf" SKELEXT ); strcpy(stpcpy(fname, datadir), DIRSEP_S "gpg-conf" SKELEXT );
src = fopen( fname, "r" ); src = fopen( fname, "r" );
if( !src ) { if( !src ) {