Message-Id: <199904291651.QAA22874@out1.ibm.net> From: "Mark E." To: Eli Zaretskii , djgpp-workers AT delorie DOT com Date: Thu, 29 Apr 1999 12:52:07 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: v2.03: wrapping up References: In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.01d) Reply-To: djgpp-workers AT delorie DOT com > > On Wed, 28 Apr 1999, I wrote: > > code doesn't seem too large. See the diffs below. Please comment on the > idea and its implementation, so we could put this problem behind us. > Since I obviously like the idea, I'll just comment on the implementation. I used the sample program below to test to modified putpath.c and haven't find a problem with the enhancement so far. One question unrelated to your changes: Shouldn't \dev\null be equivalent to /dev/null? With the sample program below '/dev/null' returns 'c:/djgpp/projects/putpath/nul' and '\dev\null' returns 'c:/dev/null'. 'c:/djgpp/projects/putpath' is the working directory. #include #include int main(int argc, char **argv) { char cooked_name[FILENAME_MAX]; int i = 1; if (argc < 2) return 0; while (i < argc) { _fixpath (argv[i], cooked_name); printf("arg: %s\n", cooked_name); ++i; } return 0; } --- Mark Elbrecht, snowball3 AT bigfoot DOT com http://snowball.frogspace.net/