diff options
author | phk <phk@FreeBSD.org> | 1995-03-19 06:09:01 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-03-19 06:09:01 +0000 |
commit | 6a942ef2ace92d035096e03568d08dd6bcc0aefe (patch) | |
tree | 62e1f62f0d9b6bef3574c213239acf53f571f044 /usr.sbin/ctm/ctm_rmail | |
parent | 9bbe457704b3dd1932dbaf155bc4c5cd3923795b (diff) | |
download | FreeBSD-src-6a942ef2ace92d035096e03568d08dd6bcc0aefe.zip FreeBSD-src-6a942ef2ace92d035096e03568d08dd6bcc0aefe.tar.gz |
Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly.
Diffstat (limited to 'usr.sbin/ctm/ctm_rmail')
-rw-r--r-- | usr.sbin/ctm/ctm_rmail/ctm_rmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. |