Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-08-25 | Remove trailing white space with: | Frans Kaashoek | 1 | -3/+3 | |
for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done (Thanks to Nicolás Wolovick) | |||||
2015-03-24 | Fix missing NUL-terminator in grep | Austin Clements | 1 | -1/+2 | |
Currently, grep read()s into a buffer and then uses the buffer as a string. Since there's no NUL-terminator, this can cause it to falsely identify line breaks and matches from leftover data on earlier lines and, if a line fills up the entire buffer, to read past the end of the buffer. Fix this by NUL-terminating any data returned by read(). Thanks to Keiichi Watanabe for the report. | |||||
2007-08-28 | add grep; add lost echo | rsc | 1 | -0/+106 | |