delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/06/12:04:37

Message-ID: <393D1398.F7DD2D7A@softhome.net>
Date: Tue, 06 Jun 2000 18:07:04 +0300
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.72 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: DJGPP Workers <djgpp-workers AT delorie DOT com>
Subject: EMLINK / ELOOP ?
Reply-To: djgpp-workers AT delorie DOT com

Current documentation says:

@item 18

EMLINK -- Too many links.  Not used in DJGPP (as DOS doesn't support
links).

I assume that this applies to symbolic links, not hard ones, because
DOS always supports one hard link to given file.

But in Single UNIX specification

[EMLINK]
          Too many links An attempt was made to have the link count of a single file exceed {LINK_MAX}. 

This clearly speaks about hard links. Which is right? What does POSIX say?

This is not very big problem, only documentation needs clarifying.
(And my symlink code has to use ELOOP instead of EMLINK.)
How about following?

Laurynas
--- errno.txh.old	Sun Mar 21 00:48:18 1999
+++ errno.txh	Tue Jun  6 18:03:00 2000
@@ -121,8 +121,8 @@
 
 @item 18
 
-EMLINK -- Too many links.  Not used in DJGPP (as DOS doesn't support
-links).
+EMLINK -- Too many links.  Not used in DJGPP (as DOS supports only
+one hard link to any file).
 
 @item 19

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019