Hi all
I have finally found the answer to a very old DOS bug 34396148.5C71@ujf-grenoble.fr namely a bug appearing when running time.exe from command.com, and not when running it within rhide or under the bash shell. This has nothing to do with gpc, but it is due to a bizarre characteristic of DOS. When there is no explicit directory in a command, the name is looked for in the set of "internal commands", the current directory and in the paths listed is the PATH variable, in that order. And time is an "internal command" in DOS. So when you type "time.exe" DOS understands the command "time" with a parameter (which should be the new time) .exe (or exe with . as a separator), which makes no sense, and it barks invalid time. The workaround is to type explicitly the directory .\time.exe, so that there is no search for implicit directories. This is a common practice in unix shells, because the current directory is not prepended to the path list, but is usually never done in DOS. So remove the bug from the bug list and forget it. Or may be change the name time.p in the test list to tim.p (an change accordingly the makefile) to avoid the bug popping anew for an other user.
Greetings
Maurice
-- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 51 45 44 mailto:Maurice.Lombardi@ujf-grenoble.fr
Hi,
I should read the FAQ first I suppose, but will gpc ever be integrated into egcs ?
Regards,
Michael.
Michael Meeks wrote:
I should read the FAQ first I suppose, but will gpc ever be
integrated into egcs ?
Yes. This is planned for egcs-1.2 and gpc-2.1.
Peter