diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-28 05:39:38 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-28 05:39:38 +0000 |
commit | ce475802f8aa48518553eabd5887bcc439b61a0d (patch) | |
tree | 328fd19ec94c0812540ab5a772e5f30584a40ad9 /winsup/utils/dumper.cc | |
parent | eedc36cb12f20ed62f5dfeaea25c84c7c984cf5f (diff) | |
download | cygnal-ce475802f8aa48518553eabd5887bcc439b61a0d.tar.gz cygnal-ce475802f8aa48518553eabd5887bcc439b61a0d.tar.bz2 cygnal-ce475802f8aa48518553eabd5887bcc439b61a0d.zip |
* Makefile.in: Accomodate newer gcc's which require linking of c++ programs
with g++. Fixup output for some compilations.
* cygcheck.cc: Respond to compiler warnings.
* dumper.cc (main): Ditto.
* parse_pe.cc (exclusion::sort_and_check): Ditto.
* setfacl.cc (getaclentry): Ditto.
Diffstat (limited to 'winsup/utils/dumper.cc')
-rw-r--r-- | winsup/utils/dumper.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/utils/dumper.cc b/winsup/utils/dumper.cc index df3f14640..db4e16deb 100644 --- a/winsup/utils/dumper.cc +++ b/winsup/utils/dumper.cc @@ -79,7 +79,7 @@ dumper::dumper (DWORD pid, DWORD tid, const char *file_name) dumper_abort (); } -dumper: :~dumper () +dumper::~dumper () { close (); free (file_name); @@ -740,7 +740,7 @@ int main (int argc, char **argv) { int opt; - char *p = ""; + const char *p = ""; DWORD pid; while ((opt = getopt (argc, argv, "dc:")) != EOF) |