X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com X-Authenticated: #27081556 X-Provags-ID: V01U2FsdGVkX19TBmYn+uNTbhM/WuEVaqlChulo+02DUrWY/HnNyD gpfW5tziqM+La8 From: Juan Manuel Guerrero To: djgpp-workers AT delorie DOT com Subject: DT_SOCK and S_IFSOCK. Date: Sun, 4 May 2008 00:31:28 +0200 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805040031.30990.juan.guerrero@gmx.de> X-Y-GMX-Trusted: 0 Reply-To: djgpp-workers AT delorie DOT com dirent.h defines DT_SOCK but AFAIK DTTOIF is not able to convert it into an st_mode value (S_IFSOCK). Is this intentional or am I missing something? The reason for the question is that some code of findutils makes the assumption that if DT_SOCK is defined this automaticaly implies that also S_IFSOCK must be available/defined. This is not true for DJGPP. Clarification will be welcome. Regards, Juan M. Guerrero