Corinna Vinschen
d1ce2c4a15
* parse_pe.c (exclusion::sort_and_check): Remove crude cast.
2005-06-14 12:42:57 +00:00
Corinna Vinschen
26797de314
* cygcheck.cc (dump_sysinfo): Recognize XP Media Center and Tablet PC
...
Editions. Change .NET to 2003 throughout. Recognize 2003 Web Server
and Datacenter Server. Report when running in terminal server session.
2005-05-30 15:49:31 +00:00
Christopher Faylor
cba3b11fc5
* cygcheck.cc (load_cygwin): Make half-hearted attempt to work with older DLLs.
...
* strace.cc (load_cygwin): Ditto.
2005-05-27 15:45:53 +00:00
Corinna Vinschen
827cff7fe2
* cygcheck.cc (dump_sysinfo_services): Add new function that uses
...
new cygrunsrv options to dump service info.
(dump_sysinfo): Call dump_sysinfo_services if running under NT.
Change 'Cygnus' to 'Cygwin' in output.
2005-05-23 09:54:44 +00:00
Christopher Faylor
f609f58d32
* cygcheck.cc (load_cygwin): Remove debugging statement.
2005-05-20 16:50:39 +00:00
Christopher Faylor
ceb7fa1c4a
* cygcheck.cc (dump_sysinfo): Don't attempt to use path if it is not set.
...
(nuke): Fix off by one error in allocation of environment variable.
(load_cygwin): Always set PATH even if cygwin environment is empty.
2005-05-20 16:38:42 +00:00
Christopher Faylor
ac674bc896
* cygcheck.cc (cygwin_internal): Define as a "C" function.
...
* strace.cc (cygwin_internal): Ditto.
* cygpath.cc (print_version): Update copyright.
2005-05-17 01:26:16 +00:00
Christopher Faylor
41dcb6199c
* cygcheck.cc (load_cygwin): Avoid calling putenv with a NULL path.
2005-05-16 03:18:29 +00:00
Corinna Vinschen
90253b8276
* cygcheck.cc (load_cygwin): Don't touch $PATH for now.
...
(print_version): Fix copyright.
* strace.cc (print_version): Ditto.
2005-05-15 12:29:47 +00:00
Christopher Faylor
180cd17fa1
* mount.cc (mount_commands): Display "-X" option when appropriate.
2005-05-13 20:24:20 +00:00
Christopher Faylor
f991d0e53e
* cygcheck.cc (nuke): New function.
...
(load_cygwin): New function.
(main): Use load_cygwin to load argv/envp from cygwin environment, if
appropriate.
2005-05-09 01:56:34 +00:00
Christopher Faylor
26c07f704b
* strace.cc (attach_process): Don't call load_cygwin(). Assume that it's
...
already happened.
(dotoggle): Ditto.
(main): Set argv from cygwin environment, if it exists.
2005-05-09 01:21:43 +00:00
Christopher Faylor
0d235234c5
* mount.cc (usage): Clarify action of -m option.
2005-05-01 15:50:02 +00:00
Dave Korn
65e941162d
* path.cc (getmntent): Add previously-omitted 'noexec' and 'managed'flags to
...
mnt_opts string if present in mount flags.
2005-04-29 16:39:34 +00:00
Christopher Faylor
6f4a176f07
* mount.cc (mount_commands): Display "-X" option when appropriate.
2005-04-25 14:40:53 +00:00
Corinna Vinschen
a30482a386
* utils.sgml (mount): Clarify setting cygdrive prefix for user
...
and system-wide.
2005-04-20 12:25:43 +00:00
Corinna Vinschen
0f0595abd9
* cygcheck.cc (init_paths): Use full path instead of "." for the
...
current directory. Do not add "." if present in $PATH.
(dump_sysinfo): Skip placeholder first value of paths[].
2005-03-24 14:48:15 +00:00
Christopher Faylor
4534561877
* kill.cc (getsig): Rectify bug introduced by 2005-02-26 change. Don't pad
...
signal name with spaces.
2005-03-08 04:06:26 +00:00
Corinna Vinschen
a593a4c5e3
* strace.cc (handle_output_debug_string): Fix compiler warning.
2005-03-07 10:24:23 +00:00
Christopher Faylor
5f8e4efa67
* cygpath.cc (usage): Pass in one more copy of program_name to printf to avoid
...
a SEGV.
2005-03-06 18:00:03 +00:00
Christopher Faylor
9dc6005ae2
* regtool.cc (opts): The argument to 'K' is not optional.
...
(main): Revert previous change. Just let getopt deal with missing argument.
2005-02-27 17:55:54 +00:00
Christopher Faylor
2391eea57e
* regtool.cc (main): Avoid a SEGV when nothing follows -K.
2005-02-27 06:10:58 +00:00
Christopher Faylor
78d9eaa5ea
* kill (getsig): Avoid buffer overflow when generating a signal name.
...
* strace.cc (handle_output_debug_string): Make error a little more specific.
2005-02-27 03:03:19 +00:00
Joshua Daniel Franklin
4c6344923e
* cygpath.cc (usage): Clarify help output to indicate acceptance
...
of multiple file names as arguments.
2005-02-24 04:32:45 +00:00
Christopher Faylor
459a956197
* ps.cc (main): Eliminate use of PID_ZOMBIE.
...
* strace.cc (main): Recognize new option for displaying hex value of strace
type.
(handle_output_debug_string): Prepend output with hex value of strace message
if -H is specified.
2005-01-16 17:13:51 +00:00
Pierre Humblet
114b7248ee
2005-01-11 Pierre Humblet <pierre.humblet@ieee.org>
...
* mkpasswd.c (print_win_error): Transform into macro.
(_print_win_error): Upgrade former print_win_error by
printing the line.
(current_user): Call _print_win_error.
(enum_users): Print name in case of lookup failure.
(enum_local_groups): Ditto.
2005-01-11 23:03:24 +00:00
Joshua Daniel Franklin
c98b30eadc
* .sgml: Cleanup markup for XML validity.
2004-12-24 21:58:38 +00:00
Bas van Gompel
d26eb2a13b
* cygcheck.cc (eprintf): New function.
2004-11-18 05:20:23 +00:00
Bas van Gompel
cd1ab47e38
* cygcheck.cc (find_on_path): Clear show_error and/or print_failed
...
parameters to display_error.
(rva_to_offset): Ditto.
(dll_info): Ditto.
(track_down): Ditto.
2004-11-16 05:16:59 +00:00
Pierre Humblet
87b838398a
2004-11-13 Pierre Humblet <pierre.humblet@ieee.org>
...
* kill.cc (forcekill): Do not pass negative pids to
cygwin_internal. Check if sig == 0. Improve error messages.
(main): Make pid a long long and distinguish between pids, gpids
(i.e. negative pids) and Win9x pids.
2004-11-13 16:30:19 +00:00
Christopher Faylor
213c7a7d94
* cygcheck.cc: Change "keyeprint" to "display_error" throughout.
2004-11-11 01:56:02 +00:00
Christopher Faylor
28fbe53af8
* cygcheck.cc (main): Allow a '-l' without an additional argument.
2004-11-11 01:52:33 +00:00
Bas van Gompel
5ccf388ed8
* cygcheck.cc (keyeprint): New optional parameters: show_error and
...
print_failed.
2004-11-11 01:17:29 +00:00
Bas van Gompel
fe5cd1608b
* cygcheck.cc (get_dword): Fix errormessage.
...
(cygwin_info): Ditto.
(track_down): Ditto.
(check_keys): Ditto.
2004-10-31 18:46:31 +00:00
Bas van Gompel
ccf4c1e6cd
* cygcheck.cc (dump_sysinfo): Warn about missing or multiple cygwin1
...
dlls.
2004-10-27 01:28:07 +00:00
Christopher Faylor
9a0fdd2315
whitespace
2004-10-25 21:20:09 +00:00
Bas van Gompel
a3a401001a
* cygcheck.cc (dump_sysinfo): Add leading newline before legend for
...
drive-list.
2004-10-25 16:11:41 +00:00
Christopher Faylor
4bfc614b42
fix whitespace, update some copyrights
2004-10-25 15:49:36 +00:00
Christopher Faylor
bc4ab99276
Remove CRs
2004-10-25 15:35:41 +00:00
Bas van Gompel
be1d479e09
* cygcheck.cc (dump_sysinfo): In legend for drive-list: Add ``ram'' and
...
``unk''. Use single puts. Add leading newline. Line up equal-signs.
2004-10-22 01:29:10 +00:00
Christopher Faylor
be957eb563
* cygcheck.cc (dump_sysinfo): Allow for larger drives in drive-list. Change
...
``Used'' to ``Free'' in helptext-title for drive-list.
2004-10-21 00:06:37 +00:00
Corinna Vinschen
eedf24742c
* cygcheck.cc (pretty_id): Don't let i become negative. Fix
...
printf-format.
2004-10-18 10:25:38 +00:00
Christopher Faylor
3f8c5ee627
fix date
2004-10-18 01:47:00 +00:00
Christopher Faylor
0ffa77a9f5
* cygcheck.cc (pretty_id): Allocate space for ')' in uid and guid.
2004-10-18 01:44:55 +00:00
Christopher Faylor
0597641a74
* cygcheck.cc (pretty_id): Allocate space for trailing '\0' on uid and guid.
2004-10-17 23:31:23 +00:00
Christopher Faylor
167f0d8513
* cygcheck.cc (pretty_id): Don't exit on id error. Fix size calculations.
2004-10-15 13:57:56 +00:00
Christopher Faylor
902edd4512
* cygcheck.cc (pretty_id): Correct column calculations. Abort if id is acting
...
funny.
2004-10-14 17:35:46 +00:00
Christopher Faylor
a82955fa29
minor change
2004-10-11 02:27:43 +00:00
Christopher Faylor
76ad4d0a6e
* cygcheck.cc (add_path): Don't leak memory when path is already in ``paths''.
2004-10-10 17:07:23 +00:00
Christopher Faylor
0795a24552
* cygcheck.cc (dump_sysinfo): Warn about trailing (back)slash on mount entries.
2004-10-09 23:19:38 +00:00
Christopher Faylor
82e127caac
* cygcheck.cc (dump_sysinfo): Don't warn about empty path components, just
...
display ``.''.
2004-10-09 23:15:36 +00:00
Corinna Vinschen
4f8dc86255
* strace.cc (_impure_ptr): Remove.
2004-10-06 09:51:11 +00:00
Corinna Vinschen
5f175ea697
* cygcheck.cc (dump_sysinfo): Warn about empty path-components.
2004-10-06 09:46:40 +00:00
Corinna Vinschen
a5aa8c3e3a
* cygcheck.cc (pretty_id): Close pipe.
2004-10-04 09:42:08 +00:00
Corinna Vinschen
79de498006
* dump_setup.cc (dump_setup): Remove unneeded strlen when check_files
...
is not set.
2004-09-23 10:32:20 +00:00
Corinna Vinschen
71de401447
* dump_setup.cc (dump_setup): Avoid trailing spaces on package-list.
2004-09-22 11:50:51 +00:00
Corinna Vinschen
b103e0d732
* getfacl.c (main): Correct layout when nopt is set.
2004-09-15 07:51:06 +00:00
Corinna Vinschen
e3118d880b
* mkgroup.cc (netapibufferallocate,netgroupgetinfo): New function
...
pointers.
(load_netapi): Load NetApiBufferAllocate and NetGroupGetInfo.
(enum_local_groups,enum_groups): Add disp_groupname parameter.
Load info for disp_groupname if specified.
(usage): Add description of "-g/--group" option.
(longopts,opts): Add "-g/--group" option.
(main): Process "-g/--group" option.
* utils.sgml (mkgroup): Add description of "-g/--group" option
2004-07-12 16:52:16 +00:00
Alan Modra
64b49cceb5
* dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
...
instead of _raw_size.
(dumper::write_core_dump): Likewise.
* parse_pe.cc (select_data_section): Likewise.
2004-06-15 02:18:51 +00:00
Joshua Daniel Franklin
af6b55758b
Define ps status flags
2004-06-11 18:25:06 +00:00
Joshua Daniel Franklin
1a8b65e301
2004-05-29 John Paul Wallington <jpw@gnu.org>
...
* ssp.c (usage): Add missing linefeed.
2004-05-30 06:33:02 +00:00
Christopher Faylor
1973881114
clarify last entry slightly.
2004-05-27 15:58:29 +00:00
Christopher Faylor
0512945eb5
* kill.cc (listsig): NSIG includes Signal 0, so we need to avoid calling
...
strtosigno with NSIG - 1.
2004-05-27 15:15:51 +00:00
Christopher Faylor
0cf94b8c62
* cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.
2004-03-21 17:58:14 +00:00
Christopher Faylor
befdf18b4d
* cygpath.cc (usage): Don't issue helpful message if -i is used.
...
(from Igor Pechtchanski)
2004-03-15 21:34:12 +00:00
Corinna Vinschen
5817840adf
* kill.cc (get_debug_priv): New function.
...
(forcekill): Call get_debug_priv before trying to kill process.
2004-03-13 18:11:13 +00:00
Christopher Faylor
f135dd3ee7
* cygpath.cc (long_options): Add "mode" option.
...
(options): Ditto.
(usage): Report on new option.
(report_mode): New function.
(main): Implement -M option.
2004-02-25 01:23:20 +00:00
Christopher Faylor
7c03f79971
* Makefile.in (build_dumper): Detect missing iconv library.
...
* cygpath.cc (dowin): Report on filename conversion errors.
(doit): Ditto.
* strace.cc (main): Use symbolic constant for _STRACE_ALL when setting mask.
2004-02-21 04:51:15 +00:00
Corinna Vinschen
e92be2201a
* ssp.c (opts): Add leading '+' to force posixly correct behaviour.
2004-02-14 19:43:07 +00:00
Corinna Vinschen
960471b1a6
* strace.cc (opts): Add leading '+' to force posixly correct
...
behaviour.
(main): Revert POSIXLY_CORRECT manipulations.
2004-02-11 13:30:02 +00:00
Joshua Daniel Franklin
49a4f409df
* utils.sgml: Update cygcheck options
2004-02-11 04:10:47 +00:00
Christopher Faylor
6dbfb93a04
* strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.
2004-02-11 00:29:42 +00:00
Christopher Faylor
c662f402aa
* strace.cc: Update copyrights.
...
* cygcheck.cc: Update copyrights.
2004-02-10 16:15:53 +00:00
Christopher Faylor
744ed079bc
* strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
...
* cygcheck.cc (main): Ditto.
2004-02-10 16:01:31 +00:00
Joshua Daniel Franklin
d5f60b41f4
Cleanup minor markup problems.
2004-01-24 08:10:27 +00:00
Christopher Faylor
7dddf53f5c
* cygcheck.cc (pretty_id): Make more robust in absence of id.exe.
2004-01-23 23:04:27 +00:00
Corinna Vinschen
30352c261c
* cygpath.cc (dowin): Revert accidental checkin from November.
2004-01-22 09:21:56 +00:00
Joshua Daniel Franklin
701c67ff9e
Document new passwd options.
2004-01-20 01:00:20 +00:00
Corinna Vinschen
f25babdf07
* mkgroup.c (main): Print "root" group with local admins group sid
...
and gid 0.
2003-11-26 15:47:44 +00:00
Corinna Vinschen
e545df31d5
* Makefile.in: Add rules to build ipcrm and ipcs.
...
* ipcrm.c: New file.
* ipcs.c: New file.
2003-11-19 18:50:52 +00:00
Corinna Vinschen
7326e3ffd9
Revert most of last check in to ChangeLog. It duplicated
...
accidentally a big bunch of old entries.
2003-11-19 10:11:46 +00:00
Corinna Vinschen
508682370b
* mkgroup.c: Avoid compiler warnings throughout.
...
* mkpasswd.c: Ditto.
* passwd.c: Ditto.
2003-11-14 19:14:43 +00:00
Corinna Vinschen
0a5ea9471b
* cygpath.cc (main): Allow multiple pathnames on command line.
2003-11-07 18:30:35 +00:00
Corinna Vinschen
02bd05e386
* passwd.c (PrintPW): Turn around meaning printed for "Password not
...
required" option to be in line with Windows meaning.
(main): Use more appropriate 1008 option when calling
NetUserSetInfo to change flag values.
2003-11-04 10:54:47 +00:00
Corinna Vinschen
1f4e5e1571
* passwd.c (UF_LOCKOUT): Remove (defined in lmaccess.h).
...
(version): Bump version number to 1.5.
(longopts): Add -c, -C, -e, -E, -p, -P options.
(opts): Ditto.
(PrintPW): Print values of UF_PASSWD_CANT_CHANGE and
UF_DONT_EXPIRE_PASSWD flags. Slightly reformat output. Don't suppress
correct system password settings just because the account has admin
privileges.
(usage): Define as "noreturn" function. Restructure and rephrase
output. Accomodate new options.
(print_version): Fix copyright dates.
(main): Accomodate new options for setting UF_PASSWD_CANT_CHANGE,
UF_DONT_EXPIRE_PASSWD and UF_PASSWD_NOTREQD settings.
2003-11-04 10:30:35 +00:00
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
Christopher Faylor
dbc49afd52
* Makefile.in (cygcheck.o): Fix so that actual mingw include files are used.
...
* 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.
2003-03-01 03:38:19 +00:00
Christopher Faylor
7ca68b7ec3
* cygpath.cc (doit): Allocate more space for non-path filename.
2003-02-12 22:48:13 +00:00
Christopher Faylor
3202ad2b9e
* dump_setup.cc (compar): Use case insensitive comparisons.
...
(dump_setup): Calculate package_len based on already used "len". Don't bother
with version_len.
2003-02-07 21:34:34 +00:00
Corinna Vinschen
eceb45bdff
* dump_setup.cc (dump_setup): Compute the longest package name
...
and align columns properly.
2003-02-07 21:11:44 +00:00
Christopher Faylor
4a9cbef09d
* cygcheck.cc (common_apps): Add some more apps.
...
* path.cc (get_cygdrive): Correctly set system flag.
2003-02-07 04:51:26 +00:00
Joshua Daniel Franklin
46c1de5bf7
* cygwinenv.sgml: Add section for 'CYGWIN codepage:[ansi|oem]'
2003-02-03 00:30:45 +00:00
Corinna Vinschen
92005b4cec
* Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.
...
(MINGW_LDFLAGS): Remove in favor of definition from Makefile.common.
2003-01-22 17:15:53 +00:00
Corinna Vinschen
3903b47b79
* mkgroup.c: Fix copyright date.
...
* mkpasswd.c: Ditto.
* setfacl.c: Ditto.
Fix ChangeLog typos.
2003-01-15 10:08:37 +00:00
Corinna Vinschen
e410614acf
* setfacl (usage): Remove double ":" for mask and other.
2003-01-10 11:39:19 +00:00
Corinna Vinschen
f1c9046a57
* mkpasswd.cc (current_user): Create.
...
(usage): Reorganize to support Win95/98/ME.
(main): Add option for -c. Reorganize to parse options for
Win95/98/ME and to call current_user. Add username in gecos field
on Win95/98/ME.
* mkgroup.cc (enum_groups): Print gid with %u.
(print_win_error): Create from passwd.cc.
(current_group): Create.
(usage): Reorganize to support Win95/98/ME.
(main): Add option for -c. Reorganize to parse options for
Win95/98/ME and to call current_group.
2003-01-08 17:38:11 +00:00
Christopher Faylor
c6c890e21a
minor reformatting
2002-12-25 23:49:40 +00:00
Corinna Vinschen
2b3ddfcd26
* setfacl.c (main): Place a single : after other and mask.
...
* getfacl.c (getaclentry): Allow both : and :: for other and mask.
(main): Remove extraneous break.
2002-12-15 10:09:35 +00:00
Corinna Vinschen
d1b6d5cd14
* mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.
2002-11-25 15:12:50 +00:00
Corinna Vinschen
2d06bd1109
* setfacl.c (getperm): Set only `other' permission bits.
...
(getaclentry): Set a_id to -1 by default.
2002-11-24 18:07:30 +00:00
Corinna Vinschen
ad2bc53e8f
* getfacl.c (permstr): Use `other' permission bits for requesting
...
ace permissions.
2002-11-24 16:15:33 +00:00