summaryrefslogtreecommitdiffstats
path: root/winsup/utils
Commit message (Collapse)AuthorAgeFilesLines
* * kill.cc (usage): Move to top of file.Christopher Faylor2002-03-112-40/+42
| | | | | (getsig): Ditto. (forcekill): Ditto.
* * cygcheck.cc: Reformat.Christopher Faylor2002-03-072-37/+43
|
* * cygcheck.cc (longopts): Use correct short option for --version.Christopher Faylor2002-03-072-1/+5
|
* * cygpath.cc: Reformat.Christopher Faylor2002-03-072-144/+186
| | | | | | * cygpath.cc (print_version): New function. (main): Accommodate new version function. Initialize 'o' to prevent warning. * cygcheck.cc (main): Eliminate non-GNU formatting glitch.
* Update optionsChristopher Faylor2002-02-281-6/+8
|
* Change copyright format.Christopher Faylor2002-02-271-1/+1
|
* * cygcheck.cc (main): Eliminate non-GNU formatting glitch.Christopher Faylor2002-02-271-2/+1
|
* * ssp.c (help_desk): Fix compiler warning. Christopher Faylor <cgf@redhat.com>Christopher Faylor2002-02-274-84/+142
| | | | | | | | | | | | | | | Change appropriate globals to statics throughout. * cygcheck.cc (usage): Simplify usage output. Generalize to allow use for help. (longopts): Add version option. (opts): Add 'V" version option. (print_version): New function. (main): Accommodate new version option. Accommodate usage parameter changes. Use usage to output help message. * Makefile.in (CXXFLAGS): Add override so that HAVE_DECL_GETOPT is defined. (libbfd): Use -B rather than -L so that bfd from build directory is correctly found. (libintl): Ditto.
* update copyrightChristopher Faylor2002-02-251-2/+2
|
* * mount.cc (usage): Fix typo in output.Christopher Faylor2002-02-152-2/+6
|
* * strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.Christopher Faylor2002-02-142-1/+5
|
* * mkpasswd.c (main): Set default home path for 9x/Me if --path-to-homeCorinna Vinschen2002-01-312-0/+8
| | | | isn't given.
* * passwd.cc (ChangePW): Add parameter to differ between called forCorinna Vinschen2002-01-302-4/+14
| | | | | | | checking old password and called for changing password. If called for checking old password, return non-zero only if password is surely incorrect. (main): Call ChangePW() with additional parameter.
* * dump_setup.cc (parse_filename): Don't consider '_' part of the version.Christopher Faylor2002-01-292-1/+6
|
* * cygcheck.cc: Fix typo. Remove uid_t kludge. Rely on kludge in sys/cygwin.hChristopher Faylor2002-01-294-8/+18
| | | | | | | instead. * getfacl.c: Add include to remove warning. * mkgroup.c (main): Assign variables outside of parameter passing. This seems to eliminate some compiler warnings.
* * cygcheck.cc: Use specific cygwin includes, as required.Christopher Faylor2002-01-292-5/+9
|
* * Makefile.in (MINGW_INCLUDES): Change cygwin include.Christopher Faylor2002-01-293-35/+108
| | | | | | | | | | | | | * strace.cc: Use specific cygwin includes, as required. (load_cygwin): New function. Loads cygwin DLL, if necessary. (attach_process): Attaches strace to a running process. (dostrace): Accept pid argument. Attach to pid if supplied. (usage): Describe -p option. Correct system description. (longopts): Alphabetize. (opts): Ditto. (main): Ditto. Handle -p option. * Makefile.in (CXXFLAGS): Ensure that important settings are preserved even when overriden by command line.
* * Makefile.in (CXXFLAGS): Ensure that important settings are preserved evenChristopher Faylor2002-01-221-1/+2
| | | | when overriden by command line.
* * Makefile.in: Build intermediate cygcheck.o to force use of MINGW_CXXFLAGS.Christopher Faylor2002-01-224-8/+33
| | | | | | | | * cygcheck.cc (cygwin_info): Intitialize variable to quiet g++ warning. (dump_sysinfo): Make variables unsigned to quiet g++ warnings. * strace.cc (version_string): Rename from SCCSid. (add_child): Remove unused variable. (version): Use version_string. Avoid use of fprintf.
* * Makefile.in: Use CXX instead of CC to compile C++ sources.Christopher Faylor2002-01-212-6/+10
|
* * cygcheck.cc (already_did): Avoid default constructors, which may requireChristopher Faylor2002-01-182-1/+6
| | | | exception support.
* * cygpath.cc (main): Add options to show Desktop and StartCorinna Vinschen2002-01-173-40/+149
| | | | | | Menu's Programs directory for current user or all users. Move bulk of DPWS options outside the getopt case statement. * utils.sgml: Update cygpath section for ADPWS options.
* * cygpath.cc (doit): Empty file ignored using option -i.Corinna Vinschen2002-01-152-2/+11
|
* * mkpasswd.c (print_win_error): Add a new function.Corinna Vinschen2002-01-152-24/+33
| | | | | | (enum_users): Use print_win_error. (enum_local_groups): Ditto. (main): Ditto.
* * cygpath.cc (doit): Detect and warn about an empty path. Detect and warnChristopher Faylor2001-12-262-7/+32
| | | | | | about errors converting a path. (main): Set prog_name correctly -- don't leave an extra slash or backslash at the beginning of it.
* * mkpasswd.c (enum_users): Change to unconditionally useCorinna Vinschen2001-12-142-12/+27
| | | | | | | the --path-to-home option, if supplied by the user. Use default --path-to-home option value, if appropriate. (usage): Change usage statement to reflect new semantics. (main): Remove defaulting of the --path-to-home option.
* * mkpasswd.c (opts): Add indication that '-p' option requires an argument.Christopher Faylor2001-12-142-1/+6
|
* * Makefile.in: Add define to CXXFLAGS.Christopher Faylor2001-12-118-12/+15
|
* remove extra mask infoChristopher Faylor2001-12-041-1/+1
|
* remove extra mask infoChristopher Faylor2001-12-041-21/+0
|
* * cygcheck.cc (usage): Add -c description.Christopher Faylor2001-12-045-83/+142
| | | | | * cygpath.cc (usage): Alphabetize options. * strace.cc (usage): Ditto.
* Fix typo.Christopher Faylor2001-11-241-1/+1
|
* * path.cc (cygpath): Don't consider cygpath stuff when trying to derive nativeChristopher Faylor2001-11-222-1/+9
| | | | paths.
* Patch by Mark Bradshaw <bradshaw@staff.crosswalk.com>:Corinna Vinschen2001-11-212-20/+60
| | | | | | | | | | | * mkpasswd.c: include lmerr.h (main): New -u option to allow specifying a specific user. If specified, groups aren't displayed and output is limited to only the specified user. (enum_users): If specific user is specified, via -u option, display only that user's record. With -u use NetUserGetInfo instead of NetUserEnum. (load_netapi): Added netusergetinfo.
* Change copyright.Christopher Faylor2001-11-211-1/+1
|
* * strace.cc (main): Change getopt() to getopt_long().Corinna Vinschen2001-11-172-2/+234
| | | | | | | | | | | | | | | | Add support for help and version info. Use new parse_mask() function for -m/--mask option. (longopts): Add long options structure. (opts): Move options string from getopts call to static var. (usage): Print usage information. (SCCSid): Version info. (version): New function for displaying version info. (parse_mask): New function supporting parsing of mnemonics, hex, and basic expressions in masks. (mnemonic2ul): New mnemonic parsing function. (tag_mask_mnemonic): New type. (mnemonic_table): New table of mnemonics for mnemonic2ul() to search through.
* Fix ChangeLog entry.Corinna Vinschen2001-11-121-0/+1
|
* * cygcheck.cc (dump_sysinfo): Redefine output format slightly.Corinna Vinschen2001-11-122-3/+10
|
* * cygcheck.cc (main): Slight formatting tweak.Christopher Faylor2001-11-122-1/+6
|
* * cygcheck.cc (dump_sysinfo): Add some more details.Corinna Vinschen2001-11-122-4/+22
|
* Add missing ChangeLog entry.Christopher Faylor2001-11-121-0/+4
|
* * cygcheck.cc (dump_sysinfo): Print more detailed OS information stringCorinna Vinschen2001-11-122-12/+39
| | | | using OSVERSIONINFOEX information.
* * path.h: New file.Christopher Faylor2001-11-121-0/+11
|
* * cygcheck.cc (scan_registry): Open registry with read-only access.Christopher Faylor2001-11-125-16/+32
| | | | | | (main): Reflect argument change for dump_setup. * dump_setup.cc (dump_setup): Add preliminary extra argument for future use. * path.cc (read_mounts): Open registry with read-only access.
* * cygcheck.cc (main): Display package info when '-s' is specified.Christopher Faylor2001-11-113-6/+17
| | | | | * dump_setup.cc (dump_setup): Change header. Remove typo. Always sort packages output.
* * dump_setup.cc: New file.Christopher Faylor2001-11-115-25/+303
| | | | | | * Makefile.in: Add info for dump_setup.o. * cygcheck.cc (main): Recognize '-c' option for checking setup installed base. * path.cc (cygpath): Read mount table if not loaded.
* * Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable.Christopher Faylor2001-11-114-13/+423
| | | | | | | | * path.cc: New file. * cygcheck.cc (init_paths): Use MS-DOS path syntax. (cygwin_info): Properly display cygwin version numbers. Prettify some output. (dump_sysinfo): Calculate max names of posix and ms-dos paths for prettier output.
* * cygcheck.cc (dump_sysinfo): Print more detailed OS information string.Corinna Vinschen2001-11-092-4/+25
|
* * getfacl.c (username): New function.Corinna Vinschen2001-11-043-51/+255
| | | | | | | | | | | | | (groupname): Ditto. (usage): Ditto. Add more user friendly help text. (main): Add -n and --help option. Print names instead of IDs unless -n option is given. * setfacl.c (getperm): Tolerate whitespace and comment chars in input. (getaclentry): Fix several input string misdetections. (getaclentries): Allow - as input file name to read from stdin. Tolerate whitespace and comment chars in input. (usage): Add more user friendly help text. (main): Add --help option.
* * strace.cc (main): New option '-w'. Start traced process in separateEgor Duda2001-11-042-3/+31
| | | | | | window. New option '-S x'. Flush buffered output every x seconds. (create_child): Start child process in new window, when requested. When requested, periodically flush debugging output.