From 7d217ecd7a9ef3ba4e31987a27cb07981e0c94c9 Mon Sep 17 00:00:00 2001 From: Stefan Bellon Date: Tue, 7 May 2002 14:43:00 +0000 Subject: [PATCH] use EXTSEP_S instead of "." --- cipher/ChangeLog | 4 ++++ cipher/md.c | 2 +- tools/ChangeLog | 4 ++++ tools/gpgsplit.c | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/cipher/ChangeLog b/cipher/ChangeLog index 8e28db04c..6aaaf7c34 100644 --- a/cipher/ChangeLog +++ b/cipher/ChangeLog @@ -1,3 +1,7 @@ +2002-05-07 Stefan Bellon + + * md.c (md_start_debug): Use EXTSEP_S instead of ".". + 2002-04-24 Werner Koch * tiger.c (tiger_final): Removed superfluous toke pasting operators. diff --git a/cipher/md.c b/cipher/md.c index 8d20a9804..49728638b 100644 --- a/cipher/md.c +++ b/cipher/md.c @@ -497,7 +497,7 @@ md_start_debug( MD_HANDLE md, const char *suffix ) return; } idx++; - sprintf(buf, "dbgmd-%05d.%.10s", idx, suffix ); + sprintf(buf, "dbgmd-%05d" EXTSEP_S "%.10s", idx, suffix ); md->debug = fopen(buf, "w"); if( !md->debug ) log_debug("md debug: can't open %s\n", buf ); diff --git a/tools/ChangeLog b/tools/ChangeLog index c62d7efe9..0cb89ae11 100644 --- a/tools/ChangeLog +++ b/tools/ChangeLog @@ -1,3 +1,7 @@ +2002-05-07 Stefan Bellon + + * gpgsplit.c (create_filename): Use EXTSEP_S instead of ".". + 2002-04-23 David Shaw * Makefile.am: Do not list libraries in -lxxx format in a diff --git a/tools/gpgsplit.c b/tools/gpgsplit.c index 17c4a0aa1..8d89b1b9d 100644 --- a/tools/gpgsplit.c +++ b/tools/gpgsplit.c @@ -192,7 +192,7 @@ create_filename (int pkttype) assert (pkttype < 1000 && pkttype >= 0 ); partno++; - sprintf (name, "%s%06u-%03d.%.40s", + sprintf (name, "%s%06u-%03d" EXTSEP_S "%.40s", opt_prefix, partno, pkttype, pkttype_to_string (pkttype)); return name; }