summaryrefslogtreecommitdiffstats
path: root/winsup/utils
Commit message (Collapse)AuthorAgeFilesLines
* * kill.cc (main): Allow negative pids (indicates process groups).Christopher Faylor2003-09-202-3/+18
|
* * parse_pe.cc (exclusion::sort_and_check): Make error message a little moreChristopher Faylor2003-09-183-9/+16
| | | | explicit and ignore (hopefully) harmless region overlap.
* * kill.c (forcekill): Wait for process to terminate even if TerminateProcessChristopher Faylor2003-09-132-3/+9
| | | | says it failed.
* * Makefile.in: Tweak mingw libz.a detection to make it more reliably detectChristopher Faylor2003-09-122-5/+10
| | | | when libz.a is not available.
* * cygcheck.cc (dump_only): New global variable.Corinna Vinschen2003-09-112-3/+20
| | | | | | | (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().
* * getfacl (main): Remove extern declaration of optind.Corinna Vinschen2003-09-113-3/+5
| | | | * setfacl (main): Remove extern declaration of optarg and optind.
* * Makefile.in (cygcheck.o): Use MINGW_CXX for compilation.Christopher Faylor2003-09-114-7/+14
| | | | | | * cygcheck.cc: Just include <getopt.h> rather than cygwin version. (pretty_id): Avoid compiler warnings. * cygpath.cc (usage): Ditto.
* * Makefile.in (MINGW_CXX): Define and use for mingw-compiled files.Christopher Faylor2003-09-113-13/+22
| | | | | * path.cc: Include more path info in cygwin-specific includes since the cygwin directory is no longer included by default.
* * Makefile.in: More fixups to adjust for the fact that mingw_getopt.o is noChristopher Faylor2003-09-112-3/+8
| | | | longer built.
* * Makefile.in: Remove references to getopt since it is now part of mingwex.Christopher Faylor2003-09-102-12/+9
|
* fix typoChristopher Faylor2003-09-081-1/+1
|
* * Makefile.in (zlib_h): Rename libz.h -> zlib.h.Christopher Faylor2003-09-082-1/+5
|
* * Makefile.in: Detect existence of mingw zlib headers and libraries. BuildChristopher Faylor2003-09-083-30/+59
| | | | | | | | | | | 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.
* * dump_setup.cc (check_package_files): Don't fail on empty package.Christopher Faylor2003-09-062-3/+6
|
* * mount.cc (mount_commands): Ensure user mode is actually user mode and not theChristopher Faylor2003-09-042-36/+47
| | | | default system mode.
* * kill.cc (forcekill): Silence some compiler warnings.Christopher Faylor2003-09-012-2/+7
|
* * Makefile.in: Oops. Put the '...' in the right place.Christopher Faylor2003-09-012-2/+6
|
* * Makefile.in: Display "..." when not-verbose.Christopher Faylor2003-09-013-5/+15
| | | | | * kill.cc (forcekill): Default to entered pid when pinfo fails. Issue some warnings when things don't work.
* * dump_setup.cc (check_package_files): Strip leading / and ./ fromCorinna Vinschen2003-08-172-0/+11
| | | | package file names.
* * dump_setup.cc (package_find): Don't stop searching on missingCorinna Vinschen2003-08-162-15/+27
| | | | | | | | | file list. (package_list): Ditto. * dump_setup.cc: (package_list): Make output terse unless verbose requested. Fix formatting. (package_find): Ditto.
* * cygcheck.cc (main): Fix some formatting and help text printing.Corinna Vinschen2003-08-153-64/+230
| | | | | | | | | | | | | | | | | | | | | | * 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.
* * regtool.cc (usage): Add missing linefeed. Move example to --helpCorinna Vinschen2003-08-152-15/+22
| | | | text. Fix forward slash description.
* * dump_setup.cc (check_package_files): Fix extra '/' in filename.Corinna Vinschen2003-08-132-4/+9
| | | | Resize command buffer. Fix buffer overflow bug.
* * dump_setup.cc (dump_setup): Check for the existence of the package list file.Christopher Faylor2003-08-102-15/+37
| | | | Rework slightly to use static buffer for popen commands.
* * dump_setup.cc (version_len): New static variable.Christopher Faylor2003-08-092-15/+138
| | | | | | | | | | (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.
* change default for --change-default-prefixChristopher Faylor2003-08-051-1/+1
|
* * mount.cc (do_mount): Issue warning when using managed mount option onChristopher Faylor2003-07-262-0/+25
| | | | non-empty directory.
* * configure.in: Use 'install-sh -c'.Christopher Faylor2003-07-261-0/+5
| | | | * configure: Regenerate.
* preliminary checkinChristopher Faylor2003-07-262-2/+2
|
* preliminary checkinChristopher Faylor2003-07-263-5/+5
|
* * configure.in: Always use install-sh.Christopher Faylor2003-07-253-8/+17
| | | | * configure: Regenerate.
* * mount.cc (struct opt): Remove posix option.Christopher Faylor2003-07-043-2/+22
|
* * mount.cc (longopts): Add long "options" keyword.Christopher Faylor2003-07-043-2/+72
| | | | | | | | (opts): Add -o option. (usage): Display -o option. (struct opt): New. (concat3): New function. (main): Handle -o flag.
* * cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.Christopher Faylor2003-06-132-7/+11
|
* clarifyChristopher Faylor2003-06-131-1/+2
|
* Throughout, always return error when GetShortPathName returns 0.Christopher Faylor2003-06-122-3/+7
|
* * mkpasswd.c (usage) Remove extra newline from description output.Joshua Daniel Franklin2003-04-263-6/+26
|
* * cygcheck.cc (usage) Add description output.Joshua Daniel Franklin2003-04-2615-5/+40
|
* Pierre's update for mkgroup/mkpasswdJoshua Daniel Franklin2003-04-101-10/+10
|
* 2003-04-10 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-04-103-88/+94
| | | | | | | | | | | | | * 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.
* note mount binary default.Christopher Faylor2003-03-271-2/+2
|
* * cygcheck.cc (dump_sysinfo): Ensure that CYGWIN environment variable isChristopher Faylor2003-03-252-1/+10
| | | | correctly set.
* fix typoChristopher Faylor2003-03-121-1/+1
|
* .Christopher Faylor2003-03-091-1/+1
|
* * getfacl.c (username): Fix ambiguous printf calls.Corinna Vinschen2003-03-092-6/+12
| | | | | (groupname): Ditto. (main): Ditto.
* * Makefile.in (strace.exe): Include mingw_getopt.o in link line.Christopher Faylor2003-03-046-10/+21
| | | | | | | | * 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.
* Document new mkgroup,mkpasswd optionsJoshua Daniel Franklin2003-03-011-27/+47
|
* 2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-03-013-14/+32
| | | | | | | | * 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".
* * Makefile.in (cygcheck.o): Fix so that actual mingw include files are used.Christopher Faylor2003-03-013-5/+94
| | | | | | | * cygcheck.cc (find_on_path): Translate from cygwin path when qualified path name found. (pretty_id): New function. Dump output of id command. (dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.
* * cygpath.cc (doit): Allocate more space for non-path filename.Christopher Faylor2003-02-122-5/+9
|