Date: Mon, 9 Mar 1998 18:30:42 +0200 (IST) From: Eli Zaretskii To: "Salvador Eduardo Tropea (SET)" cc: djgpp-workers AT delorie DOT com Subject: Re: errno constants in In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 9 Mar 1998, Salvador Eduardo Tropea (SET) wrote: > It sounds better than having an errno too different than the UNIX one. I would definitely NOT change errno. Too many programs say things like "if (errno == EEXIST)" etc. > And perhaps (if no so much overhead is involved) we can even have both > errno styles selectable through some variable. Is there really a need for this option? If we have both errno and _dos_errno, an application could test both of them if it needs. Portability (both to Posix and DOS compilers) is served well by having both of these separate.