cvs commit: src/usr.bin/sed main.c
Brian Somers
brian at FreeBSD.org
Thu Jun 3 15:33:50 PDT 2004
brian 2004/06/03 15:33:50 PDT
FreeBSD src repository
Modified files:
usr.bin/sed main.c
Log:
Plug a file descriptor leak.
When sed is asked to inline-edit files, it forgets to close the temporary
file and runs out of descriptors for long command lines (assuming you reset
kern.maxfilesperproc to something sane that's less than the number of files
passed to sed).
Revision Changes Path
1.32 +13 -7 src/usr.bin/sed/main.c
More information about the cvs-src
mailing list