* pinfo.cc (codepage_init): Move function.

* environ.cc (codepage_init): To here.
* exceptoins.cc (SIG_NONMASKABLE): Remove SIGCONT from consideration since it
is supposed to be maskable.
* signal.cc (sigaction): Ditto.
* sigproc.cc (wait_sig): Ditto.
* winsup.h: Eliminate global declaration of codepage_init.
This commit is contained in:
Christopher Faylor
2001-01-08 04:02:02 +00:00
parent 10422a10ea
commit 077ec4cb37
17 changed files with 60 additions and 52 deletions

View File

@@ -1,6 +1,6 @@
/* dcrt0.cc -- essentially the main() for the Cygwin dll
Copyright 1996, 1997, 1998, 1999, 2000 Cygnus Solutions.
Copyright 1996, 1997, 1998, 1999, 2000, 2001 Red Hat, Inc.
This file is part of Cygwin.
@@ -793,7 +793,7 @@ dll_crt0_1 ()
line = strcpy ((char *) alloca (strlen (line) + 1), line);
if (current_codepage == oem_cp)
CharToOemA ( line, line );
CharToOemA (line, line);
/* Scan the command line and build argv. Expand wildcards if not
called from another cygwin process. */