Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: relearning C: why does an in-place change to a char* segfault? Date: Mon, 23 Mar 2026 21:14:34 -0700 Organization: A noiseless patient Spider Lines: 12 Message-ID: <86ikal50et.fsf@linuxsc.com> References: <87jzh0gdru.fsf@nosuchdomain.example.com> <20240801174256.890@kylheku.com> <864j7oszhu.fsf@linuxsc.com> <10poav2$3563c$1@raubtier-asyl.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 24 Mar 2026 04:14:37 +0000 (UTC) Injection-Info: dont-email.me; posting-host="49275a8acb80bae5953bf00d88b0bbe4"; logging-data="774486"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18D71bg8Xh4TQROlCfYNMKoo29LBiZVBJ8=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:Fi8rSeAkGPJZIERt6ZY/hLxsSDY= sha1:UnrMYffDIm2LTQYzBZy1WzcVnDw= Xref: csiph.com comp.lang.c:397169 Bonita Montero writes: > Am 14.08.2024 um 02:46 schrieb Tim Rentsch: > >> The C language doesn't have integer literals. C has string >> literals, and compound literals, and it has integer constants. >> But C does not have integer literals. > > There's no problem when you call them integer literals. > Except when you're pedantic as hell. Oh no! An insult from a narcissist! Whatever shall I do?