From 9fb28ccfd9a7a47f369baf8113b4b85c5496e001 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 13 Apr 2011 11:04:46 -0700 Subject: [PATCH] currently, a fork doesn't work on all architectures => disable this feature in our examples --- newlib/examples/tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/examples/tests.c b/newlib/examples/tests.c index e2bc27d3..7288ed82 100644 --- a/newlib/examples/tests.c +++ b/newlib/examples/tests.c @@ -34,7 +34,7 @@ int main(int argc, char** argv) printf("Create child process...\n"); - pid = fork(); + pid = 42; //fork(); if (pid == 0) { // child char* newargs[] = {"/bin/hello", "one", "two", "three", NULL}; char* newenv[] = {"USER=root", "PATH=/bin:/sbin:/usr/bin", "PWD=/", "TEMP=/tmp", NULL};