[dev] [sbase][RFC] patch: whitespace patches

2016-02-24 Thread Mattias Andrée
Hi! I'm working on implementing patch(1). I'm thinking about introducing an extension to the standard: -w. When this flag is used, patch will verify that the patchfile only changes whitespace in the file. So I have 2 question. 1) Do you think this should be a flag or a separate tool? 2) Should

[dev] [sbase][PATCH v2] add sha512-224sum (SHA512/224) and sha512-256sum (SHA512/256)

2016-02-24 Thread Mattias Andrée
Signed-off-by: Mattias Andrée --- Makefile | 36 ++ README | 190 ++- libutil/sha512-224.c | 26 +++ libutil/sha512-256.c | 26 +++ sha512-224.h | 16 + sha512-224sum.1 | 32 +

[dev] [sbase][PATCH v3] Add diff(1) and bdiff(1)

2016-02-24 Thread Mattias Andrée
Signed-off-by: Mattias Andrée --- Makefile | 12 +- README |2 + TODO |1 - bdiff.1| 84 diff.1 | 107 diff.c | 1397 libutil/ncprintf.c | 50 ++ u

Re: [dev] [sbase][PATCH 2/2] add sha512-224sum (SHA512/224) and sha512-256sum (SHA512/256)

2016-02-24 Thread Dimitris Papastamos
Thanks for the patches! I've applied the first. This one causes a compilation issue with the sbase-box target because of the '-' in the source file name. Can you have a look?

[dev] [sbase][PATCH 1/2] add sha224sum and sha384sum

2016-02-24 Thread Mattias Andrée
Signed-off-by: Mattias Andrée --- Makefile | 6 ++ README | 2 ++ libutil/sha224.c | 26 ++ libutil/sha256.c | 10 -- libutil/sha384.c | 26 ++ libutil/sha512.c | 10 -- sha224.h | 16

[dev] [sbase][PATCH 2/2] add sha512-224sum (SHA512/224) and sha512-256sum (SHA512/256)

2016-02-24 Thread Mattias Andrée
Signed-off-by: Mattias Andrée --- Makefile | 6 ++ README | 190 ++- libutil/sha512-224.c | 26 +++ libutil/sha512-256.c | 26 +++ sha512-224.h | 16 + sha512-224sum.1 | 32 + sha512-2