home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22734 < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.7 KB  |  38 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!uunet.ca!xenitec!mongrel!shrdlu!gdm
  3. From: gdm@shrdlu.kwnet.on.ca (Giles D Malet)
  4. Subject: Re: libc.so.4.2 Caveats!
  5. References: <MNL.93Jan2002919@mnlsun.dtro.e-technik.th-darmstadt.de>
  6. Organization: 3.141592653589793238462643383279502884197169399
  7. Date: Tue, 5 Jan 1993 04:30:03 GMT
  8. Message-ID: <C0D5u4.A0I@shrdlu.kwnet.on.ca>
  9. Lines: 27
  10.  
  11. In article <MNL.93Jan2002919@mnlsun.dtro.e-technik.th-darmstadt.de>
  12.     mnl@dtro.e-technik.th-darmstadt.de (Michael N. Lipp) writes:
  13. >
  14. >2) sed doesn't work any more. I have recompiled it using FSF sed-1.13.tar.Z.
  15. >   Strange enough, although I removed the sed-local regex.o getop.o and
  16. >   getopt1.o (thus using the functions in libc.so.4.2) and compiled with
  17. >   -O2, my new sed is about twice as large as the old one. Was it not
  18. >   FSF sed-1.13 in the SLS distribution?
  19.  
  20. You have already been told how to reduce the program size (-N).
  21.  
  22. I grabbed the SLS sed a couple of weeks ago and found problems
  23. with it.  It is (was) version 1.09, and the problems turned out to be
  24. in libc.so.4.2.  If you look in <regex.h> you will see a flag called
  25. RE_NO_BK_PARENS, and it appears the state of this flag has been toggled
  26. between 4.1 and 4.2.  This causes sed to fail, as a `group' is now
  27. defined by (...) rather than \(...\).
  28.  
  29. H.J.Lu appears to indicate this is a change in the original library, not
  30. just the Linux version. Somewhat stupid, that. Now you have to compile
  31. sed (and I presume other programs too) with their included regex code.
  32.  
  33. So what are libraries for, anyway ?
  34.  
  35. -- 
  36. Giles D Malet                                             gdm@shrdlu.kwnet.on.ca
  37. Waterloo, Ont, Canada       +1 519 725 5726       gdmalet@descartes.uwaterloo.ca
  38.