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 connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v41ffm$2j12l$3@dont-email.me>
Deutsch   English   Français   Italiano  
<v41ffm$2j12l$3@dont-email.me>

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

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Malcolm McLean <malcolm.arthur.mclean@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Running an editor from ANSI C
Date: Sat, 8 Jun 2024 12:32:06 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <v41ffm$2j12l$3@dont-email.me>
References: <v3pge7$uf2i$1@dont-email.me> <v3r2pl$16mtl$1@dont-email.me>
 <v3r7v8$1b57j$1@dont-email.me> <v3rek5$1c4i5$1@dont-email.me>
 <v3rrtm$1e6g8$1@dont-email.me> <v3ru84$1eafb$1@dont-email.me>
 <87o78dzw1a.fsf@nosuchdomain.example.com> <v3tkmb$1o860$3@dont-email.me>
 <v3uk0l$20s0s$2@dont-email.me> <v3uoeo$21g4g$5@dont-email.me>
 <v3v25a$2369h$1@dont-email.me> <v406ta$29fla$6@dont-email.me>
 <v40qt1$2fuud$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 08 Jun 2024 13:32:06 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8b6752f00a378e9a22da030b3b8d942a";
	logging-data="2720853"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18NXq3+mUyuIV4zIzWyynnTpiWpCHfuyvU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Y7gwF9PCpSdFxrcXTfQQqz8hwiM=
In-Reply-To: <v40qt1$2fuud$1@dont-email.me>
Content-Language: en-GB
Bytes: 2797

On 08/06/2024 06:40, James Kuyper wrote:

> I've been programming on Unix-like operating systems for more than 30
> years, and most of that time was on Linux systems, but even I'm not
> foolish enough to make such a claim for Linux. The last few years before
> I retired I worked on Windows systems doing maintenance on huge code
> bases that were required to work on both Windows and Linux systems. They
> didn't do so by being written to use only POSIX functionality, and rely
> upon POSIX-compatible wrappers on to work on Windows systems. They
> relied upon non-POSIX functions that did different things on POSIX and
> Windows systems. The code was built quite differently on the two
> operating systems - CMake was involved. I don't know a lot of the
> details of how all of that worked, my assigned tasks kept me far away
> from that part of the code - but I was aware of the complications that
> it caused for building the software.

And that is exactly what Baby X is trying to get away from. I've 
isolated the Posix dependent functions into single function files. 
Currently there a "readirectory_posix.c" file. If someone could write 
the corresponding "readdirectory_win.c" for Windows, I can switch 
eveything from Posix to Windows. I hope.

-- 
Check out Basic Algorithms and my other books:
https://www.lulu.com/spotlight/bgy1mm