home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22221 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1010 b   |  24 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cs.utexas.edu!swrinde!sdd.hp.com!usc!news.cerf.net!netlabs!lwall
  3. From: lwall@netlabs.com (Larry Wall)
  4. Subject: Re: Undefined C library functions
  5. Message-ID: <1992Dec31.005051.3569@netlabs.com>
  6. Sender: news@netlabs.com
  7. Nntp-Posting-Host: scalpel.netlabs.com
  8. Organization: NetLabs, Inc.
  9. References: <1992Dec26.215216.11318@cbfsb.cb.att.com> <1992Dec27.163339.15681@mnemosyne.cs.du.edu>
  10. Date: Thu, 31 Dec 1992 00:50:51 GMT
  11. Lines: 11
  12.  
  13. In article <1992Dec27.163339.15681@mnemosyne.cs.du.edu> amartell@nyx.cs.du.edu (Alex Martelli) writes:
  14. : Note that you CANNOT patch with perl, since it truncates input files at
  15. : first binary byte of 0 (the little fix for this perl bug has also been
  16. : posted in a followup to my msg, if you have perl sources to patch).
  17.  
  18. Well, you can, but you just have to avoid using <>, the line input
  19. operator.  Any of getc(), read() or sysread() will work fine.  But the
  20. <> bug is easily fixed, as Alex pointed out.
  21.  
  22. Larry Wall
  23. lwall@netlabs.com
  24.