From: Larry Wall (lwall@netlabs.com)
Date: 12/30/92


From: lwall@netlabs.com (Larry Wall)
Subject: Re: Undefined C library functions
Date: Thu, 31 Dec 1992 00:50:51 GMT

In article <1992Dec27.163339.15681@mnemosyne.cs.du.edu> amartell@nyx.cs.du.edu (Alex Martelli) writes:
: Note that you CANNOT patch with perl, since it truncates input files at
: first binary byte of 0 (the little fix for this perl bug has also been
: posted in a followup to my msg, if you have perl sources to patch).

Well, you can, but you just have to avoid using <>, the line input
operator. Any of getc(), read() or sysread() will work fine. But the
<> bug is easily fixed, as Alex pointed out.

Larry Wall
lwall@netlabs.com