delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/19/05:15:23

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Which editor, and, install prob with tmp dir
Date: 19 Dec 2002 08:23:28 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 15
Message-ID: <atrvm0$hha$1@antares.lu.erisoft.se>
References: <5 DOT 1 DOT 1 DOT 6 DOT 2 DOT 20021218174514 DOT 028a6ec0 AT bud DOT cc DOT swin DOT edu DOT au> <5 DOT 1 DOT 1 DOT 6 DOT 2 DOT 20021219042514 DOT 02872d00 AT bud DOT cc DOT swin DOT edu DOT au>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
X-Received-Date: Thu, 19 Dec 2002 09:40:07 MET (news01.chello.no)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jeremy W. Murphy (jwm AT bud DOT cc DOT swin DOT edu DOT au) wrote:
: `dir' was just for the sake of example - this all came about because I am 
: trying to compile Atlas, and the `config' program is failing to run `uname' 
: with this error even _after_ I unset SHELL!

: system("uname -s > c:\djgpp\tmp/dj710000 2>&1");
: c:\djgpp\tmp/dj910000: c:djgpptmp/dj710000: No such file or directory (ENOENT)

This is simple. "\" is special in C (and some other languages as
well). To get one you need to two ("\\").


Right,

						MartinS

- Raw text -


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