VRPC RISC OS 4.39
gcc (GCC) 4.1.1 (GCCSDK GCC 4.1.1 Prerelease 1)

#include <stdlib.h>
int main() {
  return system("cat");
}

gcc -o test abc.c

1) Initially this runs OK, with normal output from 'cat'.

2) However, put some other executable called 'cat' in the current directory,
   and the output is from this new 'cat' command.

3) Load SharedUnixLib 1.10, and the output is as in 1) again.

Regards

Duncan Moore


_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to