* getopt.cc (opterr): Reinstate initialization.
(optind): Ditto. (optopt): Ditto. * pinfo.cc: Include cygheap.h or suffer compile error. * shared.h: Reset magic number.
This commit is contained in:
parent
8ec37f2168
commit
2bfdb22e23
|
@ -1,3 +1,11 @@
|
|||
2003-09-15 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* getopt.cc (opterr): Reinstate initialization.
|
||||
(optind): Ditto.
|
||||
(optopt): Ditto.
|
||||
* pinfo.cc: Include cygheap.h or suffer compile error.
|
||||
* shared.h: Reset magic number.
|
||||
|
||||
2003-09-15 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using
|
||||
|
|
|
@ -53,9 +53,9 @@
|
|||
#ifdef __weak_alias
|
||||
__weak_alias(getopt,_getopt)
|
||||
#endif
|
||||
int __declspec(dllexport) opterr; /* if error message should be printed */
|
||||
int __declspec(dllexport) optind; /* index into parent argv vector */
|
||||
int __declspec(dllexport) optopt; /* character checked for validity */
|
||||
int __declspec(dllexport) opterr = 1; /* if error message should be printed */
|
||||
int __declspec(dllexport) optind = 1; /* index into parent argv vector */
|
||||
int __declspec(dllexport) optopt = '?'; /* character checked for validity */
|
||||
int __declspec(dllexport) optreset; /* reset getopt */
|
||||
char __declspec(dllexport) *optarg; /* argument associated with option */
|
||||
#endif
|
||||
|
|
|
@ -27,6 +27,7 @@ details. */
|
|||
#include "ntdll.h"
|
||||
#include "cygthread.h"
|
||||
#include "shared_info.h"
|
||||
#include "cygheap.h"
|
||||
|
||||
static char NO_COPY pinfo_dummy[sizeof (_pinfo)] = {0};
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ public:
|
|||
|
||||
#define SHARED_INFO_CB 47112
|
||||
|
||||
#define CURR_SHARED_MAGIC 0x53f1a7f4U
|
||||
#define CURR_SHARED_MAGIC 0x359218a2U
|
||||
|
||||
/* NOTE: Do not make gratuitous changes to the names or organization of the
|
||||
below class. The layout is checksummed to determine compatibility between
|
||||
|
|
Loading…
Reference in New Issue