diff options
Diffstat (limited to 'winsup/cygwin/lib')
-rw-r--r-- | winsup/cygwin/lib/_cygwin_crt0_common.cc | 2 | ||||
-rw-r--r-- | winsup/cygwin/lib/cygwin_crt0.c | 2 | ||||
-rw-r--r-- | winsup/cygwin/lib/getopt.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/lib/_cygwin_crt0_common.cc b/winsup/cygwin/lib/_cygwin_crt0_common.cc index 0e2d94df6..dd9554d29 100644 --- a/winsup/cygwin/lib/_cygwin_crt0_common.cc +++ b/winsup/cygwin/lib/_cygwin_crt0_common.cc @@ -65,7 +65,7 @@ _cygwin_crt0_common (MainFunc f, per_process *u) _impure_ptr = u->impure_ptr; /* Use field initialized in newer DLLs. */ else u->impure_ptr_ptr = &_impure_ptr; /* Older DLLs need this. */ - + u->forkee = 0; /* This should only be set in dcrt0.cc when the process is actually forked */ u->main = f; diff --git a/winsup/cygwin/lib/cygwin_crt0.c b/winsup/cygwin/lib/cygwin_crt0.c index 6bfb07797..d1c76e1f7 100644 --- a/winsup/cygwin/lib/cygwin_crt0.c +++ b/winsup/cygwin/lib/cygwin_crt0.c @@ -30,5 +30,5 @@ cygwin_crt0 (MainFunc f) memset (u, 0, sizeof (u)); (void) _cygwin_crt0_common (f, u); } - dll_crt0__FP11per_process (u); /* Jump into the dll, never to return */ + dll_crt0__FP11per_process (u); /* Jump into the dll, never to return */ } diff --git a/winsup/cygwin/lib/getopt.c b/winsup/cygwin/lib/getopt.c index b09e133a6..da7ecfc76 100644 --- a/winsup/cygwin/lib/getopt.c +++ b/winsup/cygwin/lib/getopt.c @@ -40,7 +40,7 @@ int opterr = 1; /* if error message should be printed */ int optind = 1; /* index into parent argv vector */ int optopt; /* character checked for validity */ int optreset; /* reset getopt */ -char *optarg; /* argument associated with option */ +char *optarg; /* argument associated with option */ static char * __progname (char *); int getopt_internal (int, char * const *, const char *); @@ -268,7 +268,7 @@ int test_getopt_long(args, expected_result) actual_result[pass] = '\0'; return(strcmp(actual_result, expected_result)); - + } #if 0 |