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 <20240529172345.943@kylheku.com>
Deutsch   English   Français   Italiano  
<20240529172345.943@kylheku.com>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Kaz Kylheku <643-408-1753@kylheku.com>
Newsgroups: comp.lang.c
Subject: Re: Status of Posix on Windows
Date: Thu, 30 May 2024 00:30:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <20240529172345.943@kylheku.com>
References: <v36t6v$137bn$1@dont-email.me> <20240529085608.3@kylheku.com>
 <v37pan$18367$1@dont-email.me>
Injection-Date: Thu, 30 May 2024 02:30:10 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="77df987f99ce1d272a191f7175925c82";
	logging-data="1444696"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+JkNzNVDZ9YIzeDuy0HSlHIiJniCD5pTs="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:B4+ZpFx1b1Xa/de029V324Ry08w=
Bytes: 1909

On 2024-05-29, Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:
> OK. So bottom line is no, I can't reasonably expect my millions of 
> Windows Baby X programmer users to use directorytoxml.

What? On the contrary here is a .zip of the executable, with needed
DLLs:

https://www.kylheku.com/~kaz/d2xml.zip

SHA256: fbd56a70a23cc34e6085c5a754c79046c0f96258e4aebda8197e82a53c3551ef

All I did weas build this on Cygwin with

   gcc -O2 directorytoxml.c -o d2xml
   
Then bundled the d2xml.exe with the needed DLLs and zipped up.
Literally, a minute of work.

The cygwin1.dll isn't the Cygwin one but from the Cygnal project,
so this should understand native Windows paths. If you point it
at C:\Users\whoever\whatever, it should work.

Remark: I would have used the POSIX nftw function in this, instead of
rolling my own recursive traversal.

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca