public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/350] start removing long time deprecated functions like gets()
       [not found] <bug-350-131@http.sourceware.org/bugzilla/>
@ 2012-02-10 11:43 ` edpeur at gmail dot com
  2012-02-10 12:41 ` jsm28 at gcc dot gnu.org
  1 sibling, 0 replies; 5+ messages in thread
From: edpeur at gmail dot com @ 2012-02-10 11:43 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=350

edpeur at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #4 from edpeur at gmail dot com 2012-02-10 11:42:50 UTC ---
POSIX.1-2008 removes the specification of gets()
http://www.kernel.org/doc/man-pages/online/pages/man3/gets.3.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/gets.html

Should it be removed now to conform to POSIX.1-2008 and preventing developers
from using it?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/350] start removing long time deprecated functions like gets()
       [not found] <bug-350-131@http.sourceware.org/bugzilla/>
  2012-02-10 11:43 ` [Bug libc/350] start removing long time deprecated functions like gets() edpeur at gmail dot com
@ 2012-02-10 12:41 ` jsm28 at gcc dot gnu.org
  1 sibling, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-02-10 12:41 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=350

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |jsm28 at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #5 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-02-10 12:40:40 UTC ---
> POSIX.1-2008 removes the specification of gets()

> http://pubs.opengroup.org/onlinepubs/9699919799/functions/gets.html

That page says it's obsolete, not removed.

> Should it be removed now to conform to POSIX.1-2008 and preventing developers
> from using it?

It's ISO C11 that removes gets, and if you use current glibc git in C11 (or
GNU) mode then gets will not be declared in stdio.h.  It is of course still
declared for C90, C99 etc. modes, since gets is included in those standards.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/350] start removing long time deprecated functions like gets()
  2004-08-27 15:31 [Bug libc/350] New: " eperez at it dot uc3m dot es
  2004-08-30  9:34 ` [Bug libc/350] " aj at suse dot de
  2004-09-20 10:14 ` eperez at it dot uc3m dot es
@ 2004-09-20 10:24 ` aj at suse dot de
  2 siblings, 0 replies; 5+ messages in thread
From: aj at suse dot de @ 2004-09-20 10:24 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aj at suse dot de  2004-09-20 10:24 -------
I disagree.  There's nothing we can and will do.

And if the standards change, we will adopt them in a proper way, so no need
to keep this one open and confuse us.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID


http://sources.redhat.com/bugzilla/show_bug.cgi?id=350

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/350] start removing long time deprecated functions like gets()
  2004-08-27 15:31 [Bug libc/350] New: " eperez at it dot uc3m dot es
  2004-08-30  9:34 ` [Bug libc/350] " aj at suse dot de
@ 2004-09-20 10:14 ` eperez at it dot uc3m dot es
  2004-09-20 10:24 ` aj at suse dot de
  2 siblings, 0 replies; 5+ messages in thread
From: eperez at it dot uc3m dot es @ 2004-09-20 10:14 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From eperez at it dot uc3m dot es  2004-09-20 10:14 -------
As many people don't want these functions on their systems there's a need to
have them removed.
I think this is better left open because you want these functions removed from
glibc.
It just depends on fixing ISO C and POSIX to remove these dangerous and
deprecated functions.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


http://sources.redhat.com/bugzilla/show_bug.cgi?id=350

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/350] start removing long time deprecated functions like gets()
  2004-08-27 15:31 [Bug libc/350] New: " eperez at it dot uc3m dot es
@ 2004-08-30  9:34 ` aj at suse dot de
  2004-09-20 10:14 ` eperez at it dot uc3m dot es
  2004-09-20 10:24 ` aj at suse dot de
  2 siblings, 0 replies; 5+ messages in thread
From: aj at suse dot de @ 2004-08-30  9:34 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From aj at suse dot de  2004-08-30 09:34 -------
Those are required by the ISO C and POSIX standards, we cannot remove them.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sources.redhat.com/bugzilla/show_bug.cgi?id=350

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-10 12:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-350-131@http.sourceware.org/bugzilla/>
2012-02-10 11:43 ` [Bug libc/350] start removing long time deprecated functions like gets() edpeur at gmail dot com
2012-02-10 12:41 ` jsm28 at gcc dot gnu.org
2004-08-27 15:31 [Bug libc/350] New: " eperez at it dot uc3m dot es
2004-08-30  9:34 ` [Bug libc/350] " aj at suse dot de
2004-09-20 10:14 ` eperez at it dot uc3m dot es
2004-09-20 10:24 ` aj at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).