Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > gets() rationale

Reply
Thread Tools

gets() rationale

 
 
Mark McIntyre
Guest
Posts: n/a
 
      12-15-2003
On Fri, 12 Dec 2003 12:21:10 -0500, in comp.lang.c ,
http://www.velocityreviews.com/forums/(E-Mail Removed) (Eric) wrote:

>Kelsey Bjarnason <(E-Mail Removed)> wrote:
>
>> On Thu, 11 Dec 2003 17:30:20 +0000, CBFalconer wrote:
>>
>> > It makes you look sloppy and ignorant.

>>
>> However, it also has that effect. The two aren't exclusive.

>
>Nonsense.
>
>There are perfectly legitimate uses for gets that would do nothing of
>the sort.


Troll alert.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
 
Mark McIntyre
Guest
Posts: n/a
 
      12-15-2003
On Fri, 12 Dec 2003 18:43:46 -0500, in comp.lang.c ,
(E-Mail Removed) (Eric) wrote:

>CBFalconer <(E-Mail Removed)> wrote:
>
>> No, I would write something like the following, and cackle:

snippage
>>
>> and encourage the users to declare char arrays of size MAXLGH. I
>> could also be persuaded to return some status information rather
>> than the void.

>
>'The check of the buffer length put you over pre-defined limits. We're
>going with another person who understands our situation. You're fired.'


Troll alert.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
 
Mark McIntyre
Guest
Posts: n/a
 
      12-15-2003
On Fri, 12 Dec 2003 18:54:25 -0500, in comp.lang.c ,
(E-Mail Removed) (Eric) wrote:

>Why are you going to insist on putting in an absolutely unnecessary
>buffer check in the subset of cases I am talking about, making the
>problem unsolvable?


troll alert.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about rationale for java.nio.Buffer design. Harald Kirsch Java 0 06-14-2004 12:15 PM
Re: The Sigma-Foveon pixel rationale Dave Martindale Digital Photography 42 04-06-2004 10:11 PM
Re: The Sigma-Foveon pixel rationale Dave Martindale Digital Photography 2 04-02-2004 08:49 PM
Re: The Sigma-Foveon pixel rationale Dave Martindale Digital Photography 2 04-01-2004 05:01 PM
Re: The Sigma-Foveon pixel rationale David J. Littleboy Digital Photography 2 04-01-2004 08:11 AM



Advertisments