The following program fails with an "abort on data transfer" error.
This happens on both VRPC and RPCEmu.

*Type c.err_exec
#include <unistd.h>
int main(int argc,char** argv) {
  (void) argc;
  execvp(argv[1],&argv[2]);
  return 0;
}

*gcc -std=gnu11 err_exec.c -o err_exec

*wget
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.

*err_exec wget
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
Internal error: abort on data transfer at &0226627C

And when run from a TaskObey file, it can stiff the machine.

wget is from
https://www.riscos.info/packages/arm/Network/wget_1.20.3-2_arm.zip

Regards
Duncan Moore

gcc (GCCSDK GCC 4.7.4 Release 6) 4.7.4
SharedUnixLibrary 1.16
VirtualRPC-AdjustSA RISC OS 4.39
RPCEmu 0.9.3 RISC OS 5.24


_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
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