Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly.
This commit is contained in:
parent
cb75121aaf
commit
9def6b02b2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7147
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user