home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17072 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.2 KB

  1. Path: sparky!uunet!pipex!warwick!uknet!axion!rtf.bt.co.uk!grundy
  2. From: grundy@rtf.bt.co.uk (Martin Grundy)
  3. Newsgroups: comp.os.linux
  4. Subject: Meaning of "gets unreliable" message?
  5. Message-ID: <1992Nov18.103822.7703@rtf.bt.co.uk>
  6. Date: 18 Nov 92 10:38:22 GMT
  7. Organization: BT Customer Systems, Brighton, UK
  8. Lines: 24
  9.  
  10. I am running linux-0.98.1 which I down-loaded from hlu's GCC distribution
  11. from tsx-11-mirror on doc.ic.ac.uk, and it all appears to run very well.
  12. (Many thanks Linus et al.!).
  13.  
  14. However, when I try to compile (gcc 2.2.2d and lib4.1) a program that
  15. uses the gets() function, I get a warning message from the linker (I think)
  16. that says:
  17.  
  18.     "the `gets' function is unreliable and should not be used"
  19.  
  20. Despite this message, the programs so far have worked ok.
  21.  
  22. I haven't seen any other threads on c.o.l about this (yet), and am
  23. wondering if:
  24.  
  25.     a) the message means what it says, and it will be fixed in lib4.2
  26. or if   b) the message is spurious?
  27. -- 
  28. --
  29. Martin Grundy                     |  email: grundy@rtf.bt.co.uk
  30. British Telecom Customer Systems  |
  31. Hyperion House                    |  phone: +44 273 762105
  32. 96-99 Queens Road                 |  fax:   +44 273 722038
  33. Brighton BN1 3XF.                 |
  34.