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
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