Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!feeds.phibee-telecom.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Richard Harnden Newsgroups: comp.lang.c Subject: Re: Running an editor from ANSI C Date: Thu, 6 Jun 2024 15:13:55 +0100 Organization: A noiseless patient Spider Lines: 16 Message-ID: References: Reply-To: richard.harnden@invalid.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 06 Jun 2024 16:13:57 +0200 (CEST) Injection-Info: dont-email.me; posting-host="22accba3d974c695475b46a2100770d0"; logging-data="1629142"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18AyQ2vfxctWQHB5dJE7ZTxDFRZEmLxgtQ=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:9jMeRFwjjB9X94rS3HXEnOXR4qw= In-Reply-To: Content-Language: en-GB Bytes: 1813 On 06/06/2024 14:54, Scott Lurndal wrote: > David Brown writes: >> On 06/06/2024 10:27, Malcolm McLean wrote: >> >>> It does work. But my compiler warns about rmpnam() being deprecated. >>> >> >> I presume you mean "tmpnam()" here. No, it has not been deprecated - > > True, but at least one form of it is not thread-safe. > My man page (Linux man-pages 6.04, 2023-03-30) says that both tmpnam and tmpnam_r are deprecated, and you should use mkstemp(3) or tmpfile(3) instead.