Commit Graph

10 Commits

Author SHA1 Message Date
dwts 459161481a use always static for usage and keep usage definition above main 2014-04-22 14:49:23 +01:00
FRIGN a4d9b7b11e Use PRIu32 and avoid cast 2014-02-01 20:16:14 +00:00
sin 04a32251e4 Use uint32_t instead of unsigned int in cksum(1) 2014-01-31 13:53:28 +00:00
sin b8edf3b4ee Add weprintf() and replace fprintf(stderr, ...) calls
There is still some programs left to be updated for this.

Many of these programs would stop on the first file that they
could not open.
2013-11-13 11:41:43 +00:00
sin 8fdfa7caeb Convert cksum(1) to use FILE * instead of an fd
In sbase we generally do I/O through FILE * instead of file
descriptors directly.

Do not error out on the first file that can't be opened.
2013-11-12 11:17:08 +00:00
stateless c1c367c1bd Explicitly cast len to unsigned long for %lu 2013-07-02 14:09:36 -04:00
Connor Lane Smith fcb8821246 revert to per-cmd usage() 2012-05-15 13:32:56 +01:00
Connor Lane Smith f3188246d8 cksum: ARGBEGIN, no buffering 2012-05-14 21:30:02 +01:00
Connor Lane Smith 70ba7a6e62 cksum: error check 2011-06-10 04:36:40 +01:00
Connor Lane Smith 6be3e82218 add cksum 2011-06-10 04:14:05 +01:00