From 6a942ef2ace92d035096e03568d08dd6bcc0aefe Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 19 Mar 1995 06:09:01 +0000 Subject: Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly. --- usr.sbin/ctm/ctm_rmail/ctm_rmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ctm/ctm_rmail/ctm_rmail.c b/usr.sbin/ctm/ctm_rmail/ctm_rmail.c index 4a82e1f..cc42e3f 100644 --- a/usr.sbin/ctm/ctm_rmail/ctm_rmail.c +++ b/usr.sbin/ctm/ctm_rmail/ctm_rmail.c @@ -114,7 +114,7 @@ main(int argc, char **argv) * Construct the file name of a piece of a delta. */ #define mk_piece_name(fn,d,p,n) \ - sprintf((fn), "%s/%s+%d-%d", piece_dir, (d), (p), (n)) + sprintf((fn), "%s/%s+%03d-%03d", piece_dir, (d), (p), (n)) /* * Construct the file name of an assembled delta. -- cgit v1.1