Age | Commit message (Collapse) | Author |
|
|
|
files on the command line.
|
|
|
|
|
|
permission for file data when we just want to look at directory info.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"type-punned pointers", so typecast to void * instead to shut it up. (Up there with the "may be used uninitialized" gripes.)
|
|
|
|
|
|
|
|
appears in the middle of the filename
|
|
This exposed one issue in head.c -- printf was not flushing and
file names could appear after file contents instead of before.
The issue is fixed by calling xflush after xprintf.
|
|
indent/brackets a bit more regular/obvious, and replace some spaces with tabs in help text (in a way that won't matter until I finish rewriting scripts/config2help.py in C).
|
|
add tests for octal and hexadecimal formatting
|
|
|
|
|
|
|
|
|
|
Abuse loopfiles() to handle both arguments, caching the first pass in globals.
That eliminates get_fd() since loopfiles already knows how to handle "-" arg.
Chop toybuf in half and use half for each file, eliminating malloc/free.
main() becomes just a call to loopfiles(), which does all open/close.
|
|
xopen(), style cleanup on curly brackets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get a chance to finish it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
something.
|
|
|
|
|