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