Date: Thu, 3 Jun 2004 15:33:50 -0700 (PDT) From: Brian Somers <brian@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/sed main.c Message-ID: <200406032233.i53MXomV046024@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406032233.i53MXomV046024>
