Date: Tue, 29 May 2001 11:03:15 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ed ed.h main.c re.c Message-ID: <200105291803.f4TI3FZ53549@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2001/05/29 11:03:15 PDT Modified files: bin/ed ed.h main.c re.c Log: Use PATH_MAX rather than MAXPATHLEN. Also fix a possible off by one error caused by the -1 being on the wrong side of the comparison. This would not cause an overflow, as near as I can tell, because we truncate later anyway. We'd just fail to get a diagnostic for 1024 and 1025 byte file names. Revision Changes Path 1.14 +3 -9 src/bin/ed/ed.h 1.18 +9 -8 src/bin/ed/main.c 1.16 +2 -2 src/bin/ed/re.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105291803.f4TI3FZ53549>