Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.os.linux.misc Subject: Re: Joy of this, Joy of that Date: Tue, 26 Nov 2024 21:36:59 -0000 (UTC) Organization: A noiseless patient Spider Lines: 23 Message-ID: References: <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com> <20241120081039.00006d2a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 26 Nov 2024 22:36:59 +0100 (CET) Injection-Info: dont-email.me; posting-host="884e8e3d13bad04345a336fccab9cba8"; logging-data="3811223"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1bfXix8Xt5zLgqjoYCnYB" User-Agent: Pan/0.161 (Chasiv Yar; ) Cancel-Lock: sha1:aIbTSwhH9oJ4MzbEvlWfwunW168= Bytes: 2373 On Tue, 26 Nov 2024 21:30:12 +0000, Richard Kettlewell wrote: > Lawrence D'Oliveiro writes: > >> On Tue, 26 Nov 2024 08:32:32 +0000, Richard Kettlewell wrote: >> >>>> The examples show that freeing the same pointer twice can be detected >>>> reliably. >>> >>> They do no such thing. >> >> free(p); >> printf("%s(): returned from first free() call\n", __func__); >> >> free(p); >> printf("%s(): returned from second free() call\n", __func__); >> >> Is that or is that not freeing the same pointer twice? > > Obviously you are not arguing in good faith. Is this some special meaning of “they do no such thing” that is private to you?