Christopher Faylor
ce17145aa8
revert accidental checkin
2003-10-17 17:20:06 +00:00
Christopher Faylor
fa10472e4a
* cygcheck.cc (pretty_id): Don't exec if `id' program is not found.
2003-10-17 17:19:31 +00:00
Christopher Faylor
7ed1b504b6
* kill.cc (main): Allow negative pids (indicates process groups).
2003-09-20 20:24:33 +00:00
Christopher Faylor
b1e00863f3
* parse_pe.cc (exclusion::sort_and_check): Make error message a little more
...
explicit and ignore (hopefully) harmless region overlap.
2003-09-18 01:46:18 +00:00
Christopher Faylor
a98a001169
* kill.c (forcekill): Wait for process to terminate even if TerminateProcess
...
says it failed.
2003-09-13 18:20:52 +00:00
Christopher Faylor
3a25635489
* Makefile.in: Tweak mingw libz.a detection to make it more reliably detect
...
when libz.a is not available.
2003-09-12 01:51:21 +00:00
Corinna Vinschen
59a7603554
* cygcheck.cc (dump_only): New global variable.
...
(usage): Add "--dump-only" option, fix "--verbose" line.
(longopts, opts): Add "--dump-only" option.
(main): Process the "--dump-only" flag. Add new semantic check.
Pass dump_only information to dump_setup().
2003-09-11 16:24:26 +00:00
Corinna Vinschen
a5ba4027f4
* getfacl (main): Remove extern declaration of optind.
...
* setfacl (main): Remove extern declaration of optarg and optind.
2003-09-11 07:55:51 +00:00
Christopher Faylor
bd79b736d4
* Makefile.in (cygcheck.o): Use MINGW_CXX for compilation.
...
* cygcheck.cc: Just include <getopt.h> rather than cygwin version.
(pretty_id): Avoid compiler warnings.
* cygpath.cc (usage): Ditto.
2003-09-11 02:56:40 +00:00
Christopher Faylor
b07b167eec
* Makefile.in (MINGW_CXX): Define and use for mingw-compiled files.
...
* path.cc: Include more path info in cygwin-specific includes since the cygwin
directory is no longer included by default.
2003-09-11 02:00:42 +00:00
Christopher Faylor
704d8c321e
* Makefile.in: More fixups to adjust for the fact that mingw_getopt.o is no
...
longer built.
2003-09-11 00:07:28 +00:00
Christopher Faylor
4a6890e76e
* Makefile.in: Remove references to getopt since it is now part of mingwex.
2003-09-10 21:55:59 +00:00
Christopher Faylor
87f9911114
fix typo
2003-09-08 05:09:13 +00:00
Christopher Faylor
7b06693464
* Makefile.in (zlib_h): Rename libz.h -> zlib.h.
2003-09-08 04:29:34 +00:00
Christopher Faylor
d31c5928dd
* Makefile.in: Detect existence of mingw zlib headers and libraries. Build
...
cygcheck wihtout package checking if they are unavailable.
* dump_setup.cc: Generate dummy zlib macros when zlib is not available.
(open_package_list): Use zlib functions to uncompress package lists. Return
gzFile rather than FILE *.
(check_package_files): Change fp to gzFile to accommodate zlib functions. Use
gzgets to read from package file. Use gzclose to close the handle.
(package_list): Ditto.
(package_find): Ditto.
2003-09-08 02:50:02 +00:00
Christopher Faylor
1f602fd729
* dump_setup.cc (check_package_files): Don't fail on empty package.
2003-09-06 02:02:30 +00:00
Christopher Faylor
e48feef96a
* mount.cc (mount_commands): Ensure user mode is actually user mode and not the
...
default system mode.
2003-09-04 01:04:57 +00:00
Christopher Faylor
ef58cd2f44
* kill.cc (forcekill): Silence some compiler warnings.
2003-09-01 02:40:16 +00:00
Christopher Faylor
f6f88b66d2
* Makefile.in: Oops. Put the '...' in the right place.
2003-09-01 02:33:50 +00:00
Christopher Faylor
40d885eb7b
* Makefile.in: Display "..." when not-verbose.
...
* kill.cc (forcekill): Default to entered pid when pinfo fails. Issue some
warnings when things don't work.
2003-09-01 01:57:44 +00:00
Corinna Vinschen
919497ee6b
* dump_setup.cc (check_package_files): Strip leading / and ./ from
...
package file names.
2003-08-17 17:26:08 +00:00
Corinna Vinschen
b723879025
* dump_setup.cc (package_find): Don't stop searching on missing
...
file list.
(package_list): Ditto.
* dump_setup.cc: (package_list): Make output terse unless
verbose requested. Fix formatting.
(package_find): Ditto.
2003-08-16 09:09:09 +00:00
Corinna Vinschen
200f243c42
* cygcheck.cc (main): Fix some formatting and help text printing.
...
* cygcheck.cc (find_package,list_package): New global
variables.
(usage): Add "--find-package" and "--list-package" options,
reformat output.
(longopts, opts): Add "--find-package" and "--list-package"
options.
(main): Process the "--find-package" and "--list-package"
flags. Add new semantic checks. Add calls to find_package()
and list_package().
* dump_setup.cc: Fix header comment.
(match_argv): Change return type to int to distinguish
between real matches and default ones.
(open_package_list): New static function.
(check_package_files): Factor out opening the package list
file into open_package_list().
(get_packages): New static function.
(dump_setup): Factor out getting a list of packages into
get_packages().
(package_list, package_find): New global functions.
2003-08-15 20:26:11 +00:00
Corinna Vinschen
dae37d5d84
* regtool.cc (usage): Add missing linefeed. Move example to --help
...
text. Fix forward slash description.
2003-08-15 08:58:54 +00:00
Corinna Vinschen
e2b1a74c13
* dump_setup.cc (check_package_files): Fix extra '/' in filename.
...
Resize command buffer. Fix buffer overflow bug.
2003-08-13 19:37:40 +00:00
Christopher Faylor
e41630b08a
* dump_setup.cc (dump_setup): Check for the existence of the package list file.
...
Rework slightly to use static buffer for popen commands.
2003-08-10 01:07:04 +00:00
Christopher Faylor
58d4b72d33
* dump_setup.cc (version_len): New static variable.
...
(could_not_access,directory_exists): New static function.
(file_exists): Ditto.
(check_package_files): Ditto.
(dump_setup): Check the contents of each package if check_files is true and
output the result in the "Status" column. Flush output after each package.
* dump_setup.cc (dump_setup): Remove redundant null check. Add informative
message if package info not found.
2003-08-09 16:32:22 +00:00
Christopher Faylor
2f631ebc94
change default for --change-default-prefix
2003-08-05 01:06:22 +00:00
Christopher Faylor
035df9eff5
* mount.cc (do_mount): Issue warning when using managed mount option on
...
non-empty directory.
2003-07-26 05:38:51 +00:00
Christopher Faylor
ddb6762155
* configure.in: Use 'install-sh -c'.
...
* configure: Regenerate.
2003-07-26 01:53:18 +00:00
Christopher Faylor
5ed664d4a6
preliminary checkin
2003-07-26 00:28:59 +00:00
Christopher Faylor
9ddd929f68
preliminary checkin
2003-07-26 00:10:48 +00:00
Christopher Faylor
7f4773b3ef
* configure.in: Always use install-sh.
...
* configure: Regenerate.
2003-07-25 23:52:30 +00:00
Christopher Faylor
baf77a53b0
* mount.cc (struct opt): Remove posix option.
2003-07-04 03:20:22 +00:00
Christopher Faylor
08604f02bc
* mount.cc (longopts): Add long "options" keyword.
...
(opts): Add -o option.
(usage): Display -o option.
(struct opt): New.
(concat3): New function.
(main): Handle -o flag.
2003-07-04 03:11:18 +00:00
Christopher Faylor
6806f4f6e2
* cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.
2003-06-13 02:36:12 +00:00
Christopher Faylor
8d60a6029c
clarify
2003-06-13 02:21:18 +00:00
Christopher Faylor
cc3ce0bb5f
Throughout, always return error when GetShortPathName returns 0.
2003-06-12 20:40:58 +00:00
Joshua Daniel Franklin
45bfd8ed74
* mkpasswd.c (usage) Remove extra newline from description output.
2003-04-26 22:33:00 +00:00
Joshua Daniel Franklin
aa275fe010
* cygcheck.cc (usage) Add description output.
2003-04-26 21:52:03 +00:00
Joshua Daniel Franklin
518a04c40b
Pierre's update for mkgroup/mkpasswd
2003-04-10 23:27:13 +00:00
Pierre Humblet
57efd527df
2003-04-10 Pierre Humblet <pierre.humblet@ieee.org>
...
* mkpasswd.c (current_user): print uid and gid as unsigned.
(enum_users): Ditto. Do not free servername.
(usage): Update to allow several domains and improve -p.
(main): On Win9x limit uids to 1000. Only print specials
when -l is specified. Add a loop to allow several domains
and free servername in the loop.
* mkgroup.c (enum_groups): Do not free servername.
(usage): Update to allow several domains. Change uid to gid.
(main): Only print specials when -l is specified. Add a
loop to allow several domains and free servername in the loop.
2003-04-10 01:14:18 +00:00
Christopher Faylor
921587de50
note mount binary default.
2003-03-27 18:46:16 +00:00
Christopher Faylor
ce7a361072
* cygcheck.cc (dump_sysinfo): Ensure that CYGWIN environment variable is
...
correctly set.
2003-03-25 01:20:04 +00:00
Christopher Faylor
0e2b01821a
fix typo
2003-03-12 17:21:31 +00:00
Christopher Faylor
bc1c4e1e64
.
2003-03-09 19:29:22 +00:00
Corinna Vinschen
ef1aafb0f3
* getfacl.c (username): Fix ambiguous printf calls.
...
(groupname): Ditto.
(main): Ditto.
2003-03-09 19:04:23 +00:00
Christopher Faylor
229f2bb465
* Makefile.in (strace.exe): Include mingw_getopt.o in link line.
...
* cygcheck.cc (print_version): Update copyright.
* strace.cc (print_version): Ditto.
(main): Allow cygwin paths for -o option.
(create_child): Allow cygwin path as argv[0].
* path.cc (path.cc): Allow UNC paths.
2003-03-04 05:30:50 +00:00
Joshua Daniel Franklin
34a50bf03f
Document new mkgroup,mkpasswd options
2003-03-01 17:29:51 +00:00
Pierre Humblet
f78765dadd
2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>
...
* mkpasswd.cc (main): On Win95, output both a default line and a
line for the current user (if known) with a pseudorandom uid. If
the -u switch is given, produce a line for the specified user.
* mkgroup.cc (main): On Win95 change the group name from "unknown" to
"all".
2003-03-01 16:38:26 +00:00