In the discussion group comp.std.c Mr Gwyn wrote:
< quote >
.... gets has been declared an obsolescent feature and
deprecated, as a direct result of my submitting a DR about it
(which originally suggested a less drastic change). (The official
impact awaits wrapping up the latest batch of TCs into a formal
amending document, and getting it approved and published.)
< end quote >
This is a very positive development. After all those discussions,
reason prevailed and we got rid of that wart.
It *is* possible to influence the comitee as it seems.
This is good news.
jacob 280 8875
On Wed, 25 Apr 2007 01:02:04 +0200, jacob navia
<ja***@jacob.re mcomp.frwrote:
>
< quote >
... gets has been declared an obsolescent feature and
deprecated, as a direct result of my submitting a DR about it
(which originally suggested a less drastic change). (The official
impact awaits wrapping up the latest batch of TCs into a formal
amending document, and getting it approved and published.)
< end quote >
R.I.P.
G.
--
E-mail: info<at>simple-line<Punkt>de
Gregor H. <nomail@invalid writes:
On Wed, 25 Apr 2007 01:02:04 +0200, jacob navia
<ja***@jacob.re mcomp.frwrote:
>< quote >
... gets has been declared an obsolescent feature and deprecated, as a direct result of my submitting a DR about it (which originally suggested a less drastic change). (The official impact awaits wrapping up the latest batch of TCs into a formal amending document, and getting it approved and published.)
< end quote >
R.I.P.
It's not dead yet. "Deprecated " merely means that it can be
considered for removal in the next version of the standard (which
presumably will be released some time after C99 actually catches on).
Conforming implementations are still required to support gets().
But this is the first step in getting rid of it.
--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Keith Thompson said:
<snip>
Conforming implementations are still required to support gets().
But this is the first step in getting rid of it.
Surely the first step was the continual rage and horror expressed at its
prolonged survival, over a period of many years, by a great many
people, until ISO were embarrassed by their own inadequate explanations
for its continued existence?
Next stop: unmodified %s in scanf.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999 http://www.cpax.org.uk
email: rjh at the above domain, - www.
Richard Heathfield <rj*@see.sig.in validwrites:
Keith Thompson said:
<snip>
>Conforming implementations are still required to support gets().
But this is the first step in getting rid of it.
Surely the first step was the continual rage and horror expressed at its
prolonged survival, over a period of many years, by a great many
people, until ISO were embarrassed by their own inadequate explanations
for its continued existence?
Yeah, that too.
--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Richard Heathfield wrote:
Keith Thompson said:
<snip>
>Conforming implementations are still required to support gets().
But this is the first step in getting rid of it.
Surely the first step was the continual rage and horror expressed at its
prolonged survival, over a period of many years, by a great many
people, until ISO were embarrassed by their own inadequate explanations
for its continued existence?
Next stop: unmodified %s in scanf.
.... along with unrestricted "[%", I guess. But there's no
compelling reason to remove either of them from sscanf() ...
--
Eric Sosman es*****@acm-dot-org.invalid
Richard Heathfield wrote:
Keith Thompson said:
<snip>
>Conforming implementations are still required to support gets().
But this is the first step in getting rid of it.
Surely the first step was the continual rage and horror expressed
at its prolonged survival, over a period of many years, by a great
many people, until ISO were embarrassed by their own inadequate
explanations for its continued existence?
Next stop: unmodified %s in scanf.
Not needed, it can be handled. More useful would be inclusion of
generic routines for numerical input from streams without buffers.
--
<http://www.cs.auckland .ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfoc us.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>
cbfalconer at maineline.net
--
Posted via a free Usenet account from http://www.teranews.com
On Wed, 25 Apr 2007 01:13:08 +0200, Gregor H. <nomail@invalid wrote:
>On Wed, 25 Apr 2007 01:02:04 +0200, jacob navia <ja***@jacob.r emcomp.frwrote:
You snipped one rather important line:
"In the discussion group comp.std.c Mr Gwyn wrote:"
>> < quote >
... gets has been declared an obsolescent feature and deprecated, as a direct result of my submitting a DR about it (which originally suggested a less drastic change). (The official impact awaits wrapping up the latest batch of TCs into a formal amending document, and getting it approved and published.)
< end quote > R.I.P.
Your editing made it appear that this was a quote from Jacob Navia.
Incidentally, I am unable to find this article with a Google Groups
search of comp.std.c. Does anyone have a link?
--
Al Balmer
Sun City, AZ
jacob navia wrote:
[...]
This is a very positive development. After all those discussions,
reason prevailed and we got rid of that wart.
These days, there should be no experienced C programmers using gets()
in security sensitive programs anyway, so I don't see the big fuzz about
this.
I have done a number of C code audits in safety-critical systems, and never
seen a single gets(), and didn't expect such a trivial bug either.
Who cares what students use?
I don't.
In article <Q4************ *********@telen or.com>,
Tor Rustad <to****@online. nowrote:
>jacob navia wrote:
[...]
>This is a very positive development. After all those discussions, reason prevailed and we got rid of that wart.
It's the sort of thing that gets people in this ng hot.
>These days, there should be no experienced C programmers using gets() in security sensitive programs anyway, so I don't see the big fuzz about this.
I'd have said: no experienced C programmers using gets()
and left it at that. According to the ng regs, everything is "security
sensitive", so including that text is superfluouos.
>I have done a number of C code audits in safety-critical systems, and never seen a single gets(), and didn't expect such a trivial bug either.
Who cares what students use?
I don't.
The anal-retentive freaks in this ng obviously do.
They've got nothing else in their lives, that much is clear. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: bukzor |
last post by:
Does anyone have a pythonic way to check if a process is dead, given
the pid?
This is the function I'm using is quite OS dependent. A good candidate
might be "try: kill(pid)", since it throws an exception if the pid is
dead, but that sends a signal which might interfere with the process.
Thanks.
--Buck
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |