From: "Tom Demmer" Organization: Lehrstuhl Stroemungsmechanik, RUB To: rmejia AT HOST DOT ucuenca DOT edu DOT ec, djgpp AT delorie DOT com Date: Wed, 26 Nov 1997 10:46:44 GMT-1 Subject: Re: djgpp 2.0 and netware Reply-to: Demmer AT LStM DOT Ruhr-Uni-Bochum DOT De Message-ID: Precedence: bulk How I hate to correct my own mistakes... In the C stuff is a bug: > > int main(int argc,char **argv){ > char cmd[256]; > char *s = getenv("MACHINE")+1; This line must simply be char *s = getenv("MACHINE"); [...] > > Oh yes, and please drop me a note if this really works. My ideas > before the coffee break tend to have some gotchas... > Had some coffeee now ;-) Ciao Tom ****************************************************************** * Thomas Demmer * Phone : +49 234 700 6434 * * Universitaetsstr. 150 * Fax : +49 234 709 4162 * * Lehrstuhl fuer Stroemungsmechanik * * * D-44780 Bochum * * ****************************************************************** * Email: demmer AT LStM DOT Ruhr-Uni-Bochum DOT De * * WWW: http://www.lstm.ruhr-uni-bochum.de/~demmer * ****************************************************************** When all other methods of communication fail, try words