Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sponge fixes | Brock Noland | 2008-04-11 | 1 | -4/+5 |
| | | | | | | | | | | | *Fixed many bugs relating to renaming of temp file to output file *Doesn't set umask, not sure what correct behavior is *Does not try and delete /tmp/sponge.XXXXXX on exit if there was no temporary file used *Uses temporary file when buffer * 2 is >= mem_available as the buffer will double shortly after this operation *Only traps signals if we are creating a temporary file *Cleaned up error messages Signed-off-by: Brock Noland <brockn@gmail.com> | ||||
* | make sponge use a temp file if the input is large | Joey Hess | 2008-04-10 | 1 | -0/+300 |
patch from Brock Noland |