Article View: comp.lang.c
Article #2233Re: is wraper on realloc good idea? maybe more wrappers?
From: Tristan Wibberley
Date: Sat, 05 Dec 2026 08:14
Date: Sat, 05 Dec 2026 08:14
36 lines
2894 bytes
2894 bytes
On 29/11/2026 14:57, fir wrote: > fir pisze: >> never used it but generally wrappers on some standard functions >> probably are good idea, or not? > > i also think if not tu built in system for localizing runtime errors > > i rarely have runtime errors but when something appears its unplesant > the you need to do such weird debug thing to localize crash > > sulution would be doing some simple list where i would log some > function tags in array in ram then probably i could show this is system/ > signal/crash handler i guess Have you considered always running under a debugger with crash handling there? Depending on your runtime environment it might provide the best language for the job. For example, a main process that forks a job processor and gdb, attaching gdb to the job processor to react to process exits. Why make life hard by trying to do it all in C with flawlessness on day one? -- Tristan Wibberley The message body is Copyright (C) 2026 Tristan Wibberley except citations and quotations noted. All Rights Reserved except that you may, of course, cite it academically giving credit to me, distribute it verbatim as part of a usenet system or its archives, and use it to promote my greatness and general superiority without misrepresentation of my opinions other than my opinion of my greatness and general superiority which you _may_ misrepresent. You definitely MAY NOT train any production AI system with it but you may train experimental AI that will only be used for evaluation of the AI methods it implements.
Technical Details
Message-ID:
<11f0h5c$2i7jn$4@dont-email.me>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11eh538$3fet7$1@dont-email.me> <11eheha$3j5qd$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tristan Wibberley <tristan.wibberley+netnews2@alumni.manchester.ac.uk> Newsgroups: comp.lang.c Subject: Re: is wraper on realloc good idea? maybe more wrappers? Date: Sat, 5 Dec 2026 08:14:36 +0000 Organization: A noiseless patient Spider Lines: 36 Message-ID: <11f0h5c$2i7jn$4@dont-email.me> References: <11eh538$3fet7$1@dont-email.me> <11eheha$3j5qd$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Sat, 05 Dec 2026 08:14:37 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2694775"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+PpnU4tJ++eJlpM0Y9fsf4fl9EbuGKb/pyWyjCvLzMA=="; posting-host="e210ba6551fa09f4d8612e67f408742d" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:1AjOsQZKJ7Si/Y/eiEjYfgG4tFI= sha256:s3nUusKMT2JGzR8JsjOnbiixk/5mBGNVZYx7s876R+M= sha1:gc6WUTR90ttOlDf+aOT4U/6BtKo= sha256:86QspY3aRF4S1RTwiqsgbLgxz7W0+KglSPmppE0KK+4= In-Reply-To: <11eheha$3j5qd$1@dont-email.me> Content-Language: en-GB