1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-09 12:54:23 +01:00

use EXTSEP_S instead of "."

This commit is contained in:
Stefan Bellon 2002-05-07 14:43:00 +00:00
parent 0295445a4c
commit 7d217ecd7a
4 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-05-07 Stefan Bellon <sbellon@sbellon.de>
* md.c (md_start_debug): Use EXTSEP_S instead of ".".
2002-04-24 Werner Koch <wk@gnupg.org> 2002-04-24 Werner Koch <wk@gnupg.org>
* tiger.c (tiger_final): Removed superfluous toke pasting operators. * tiger.c (tiger_final): Removed superfluous toke pasting operators.

View File

@ -497,7 +497,7 @@ md_start_debug( MD_HANDLE md, const char *suffix )
return; return;
} }
idx++; idx++;
sprintf(buf, "dbgmd-%05d.%.10s", idx, suffix ); sprintf(buf, "dbgmd-%05d" EXTSEP_S "%.10s", idx, suffix );
md->debug = fopen(buf, "w"); md->debug = fopen(buf, "w");
if( !md->debug ) if( !md->debug )
log_debug("md debug: can't open %s\n", buf ); log_debug("md debug: can't open %s\n", buf );

View File

@ -1,3 +1,7 @@
2002-05-07 Stefan Bellon <sbellon@sbellon.de>
* gpgsplit.c (create_filename): Use EXTSEP_S instead of ".".
2002-04-23 David Shaw <dshaw@jabberwocky.com> 2002-04-23 David Shaw <dshaw@jabberwocky.com>
* Makefile.am: Do not list libraries in -lxxx format in a * Makefile.am: Do not list libraries in -lxxx format in a

View File

@ -192,7 +192,7 @@ create_filename (int pkttype)
assert (pkttype < 1000 && pkttype >= 0 ); assert (pkttype < 1000 && pkttype >= 0 );
partno++; partno++;
sprintf (name, "%s%06u-%03d.%.40s", sprintf (name, "%s%06u-%03d" EXTSEP_S "%.40s",
opt_prefix, partno, pkttype, pkttype_to_string (pkttype)); opt_prefix, partno, pkttype, pkttype_to_string (pkttype));
return name; return name;
} }