Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly.

This commit is contained in:
Poul-Henning Kamp 1995-03-19 06:09:01 +00:00
parent cb75121aaf
commit 9def6b02b2

View File

@ -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.