Mail Archives: djgpp/1997/11/26/04:51:00
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
- Raw text -