Hi Bart,
at least one bug located in freecom-watcom:
run
TESTS KE2041
will stop after a short while (this IS helpful)
with an error.
now
a:
COPY COMMAND.COM TEST
-->
unable to open file 'command'
after some liberal sprinkling of printf()'s,
static int addSource(char *p)
{ struct CopySource *h;
char *q;
printf("copy %u: addsource %s\n", __LINE__, p);
assert(p);
q = strtok(p, "+");
assert(q && *q);
printf("copy %u: addsource %s\n", __LINE__, p);
this results in output
copy 500: addsource command.com
copy 506: addsource command
for some reason strtok("command.com", "+"); found a "+"
I verified that "command.com" is still "command.com", and "+" is still
"+".
where can I find the watcom clib source?
strtok() is used in many places; and might be the source of more
trouble.
Tom
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel