Date: Tue, 25 Nov 1997 14:40:08 +0200 (IST) From: Eli Zaretskii To: Wojtek Galazka cc: djgpp-workers AT delorie DOT com Subject: Re: errno constants in In-Reply-To: <9711251231.AA08896@dodek.chem.uw.edu.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 25 Nov 1997, Wojtek Galazka wrote: > I want to change these values because I want to add some more EA*s > that are related to socket errors and so like. I want errno to be > consistently used in all the networking stuff I work on instead of > messing with WSAEA* winsock errors. > > What's your opinion? Don't! No program should ever look at the actual numeric value of all the E* symbols used by errno. There's simply no need for what you want to do, and doing so might get you in trouble, because the library, internally, still assigns the old numeric values to errno. You might of course recompile the DJGPP's libc with the new definitions. But I fail to understand why this is even needed.