Deutsch   English   Français   Italiano  
<usrlkt$r66p$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: James Kuyper <jameskuyper@alumni.caltech.edu>
Newsgroups: comp.lang.c
Subject: Re: avoiding strdup()
Date: Wed, 13 Mar 2024 03:46:37 -0400
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <usrlkt$r66p$2@dont-email.me>
References: <us0brl$246bf$1@dont-email.me> <ushea7$28prq$2@dont-email.me>
 <ushnkb$1rnlb$4@dont-email.me> <87r0gizzuo.fsf@nosuchdomain.example.com>
 <20240310101101.00001fd4@yahoo.com> <20240310100715.866@kylheku.com>
 <ifnHN.386274$vFZa.250421@fx13.iad> <usnb64$3n297$1@dont-email.me>
 <yMGHN.481214$PuZ9.381006@fx11.iad> <usoa6a$3tqji$1@dont-email.me>
 <87sf0w8cux.fsf@nosuchdomain.example.com> <ZV_HN.561554$xHn7.260048@fx14.iad>
 <usqlsu$hqqv$1@dont-email.me> <rT5IN.564442$xHn7.452709@fx14.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Mar 2024 07:46:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6cb70556f80bfaf12b0556a734c4370e";
	logging-data="891097"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+K98K8ddCMJ+NmFzqnzJx27BCl9Xqsujw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:9YjLVfH1Ume1VRC+e0kqBVk8iis=
In-Reply-To: <rT5IN.564442$xHn7.452709@fx14.iad>
Content-Language: en-US
Bytes: 2859

On 3/12/24 19:50, Scott Lurndal wrote:
> Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
....
>> So 2,294 Americans in 1932 had the experience "you want to withdraw 
>> cash? OK, here we go, oh sorry, that just took us over the edge and the 
>> bank is now closed". Everyone else, either "here's your money", or 
>> "sorry, the bank has now closed, no more withdrawal requests".
> 
> I'm pretty sure the quote above from Wikipedia is written in
> a form of English that even the English understand, so I don't see
> how you came up with the idea that only 2,294 Americans were
> affected when 2,294 banks failed.

Every bank fails at some particular time, when it runs out of money.
There is always one particular claim on that bank's resources that
caused it to run out and for some reason he's focusing on those claims.
Other Americans also had problems due to the bank having already failed,
but at most 2294 Americans made claims that actually triggered that
failure. I haven't a clue as to why he considers that fact important,
but he has correctly made that distinction.

Actually, it may be that in some cases a bank closed immediately as soon
as a successful withdrawal request left it with too little funds, so the
number might actually be less that 2294.

> Nor to I see the relevence to checking the return value
> of strdup(3).

Agreed.