1 2004-10-18 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
3 * cygcheck.cc (pretty_id): Don't let i become negative. Fix
6 2004-10-17 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
8 * cygcheck.cc (pretty_id): Allocate space for ')' in uid and guid.
10 2004-10-17 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
11 Christopher Faylor <cgf@timesys.com>
13 * cygcheck.cc (pretty_id): Allocate space for trailing '\0' in uid and
16 2004-10-15 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
17 Christopher Faylor <cgf@timesys.com>
19 * cygcheck.cc (pretty_id): Don't exit on id error. Fix size
22 2004-10-14 Christopher Faylor <cgf@timesys.com>
23 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
25 * cygcheck.cc (pretty_id): Correct column calculations. Abort if id is
28 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
30 * cygcheck.cc (add_path): Don't leak memory when path is already in
33 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
35 * cygcheck.cc (dump_sysinfo): Warn about trailing (back)slash on mount
38 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
40 * cygcheck.cc (dump_sysinfo): Don't warn about empty path components,
43 2004-10-06 Corinna Vinschen <corinna@vinschen.de>
45 * strace.cc (_impure_ptr): Remove.
47 2004-10-06 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
49 * cygcheck.cc (dump_sysinfo): Warn about empty path components.
51 2004-10-04 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
53 * cygcheck.cc (pretty_id): Close pipe.
55 2004-09-23 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
57 * dump_setup.cc (dump_setup): Remove unneeded strlen when check_files
60 2004-09-22 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
61 Corinna Vinschen <corinna@vinschen.de>
63 * dump_setup.cc (dump_setup): Avoid trailing spaces on package-list.
65 2004-09-15 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
67 * getfacl.c (main): Correct layout when nopt is set.
69 2004-07-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
71 * mkgroup.cc (netapibufferallocate,netgroupgetinfo): New function
73 (load_netapi): Load NetApiBufferAllocate and NetGroupGetInfo.
74 (enum_local_groups,enum_groups): Add disp_groupname parameter.
75 Load info for disp_groupname if specified.
76 (usage): Add description of "-g/--group" option.
77 (longopts,opts): Add "-g/--group" option.
78 (main): Process "-g/--group" option.
79 * utils.sgml (mkgroup): Add description of "-g/--group" option
81 2004-06-15 Alan Modra <amodra@bigpond.net.au>
83 * dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
85 (dumper::write_core_dump): Likewise.
86 * parse_pe.cc (select_data_section): Likewise.
88 2004-05-29 John Paul Wallington <jpw@gnu.org>
90 * ssp.c (usage): Add missing linefeed.
92 2004-05-27 Christopher Faylor <cgf@alum.bu.edu>
94 * kill.cc (listsig): Fix "kill -l" segv. NSIG includes Signal 0, so we
95 need to avoid calling strtosigno with NSIG - 1.
97 2004-03-21 Christopher Faylor <cgf@redhat.com>
99 * cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.
101 2004-03-15 Christopher Faylor <cgf@redhat.com>
103 * cygpath.cc (usage): Don't issue helpful message if -i is used.
104 (from Igor Pechtchanski)
106 2004-03-13 Rob Siklos <rob2@siklos.ca>
108 * kill.cc (get_debug_priv): New function.
109 (forcekill): Call get_debug_priv before trying to kill process.
111 2004-02-24 Christopher Faylor <cgf@redhat.com>
113 * cygpath.cc (long_options): Add "mode" option.
115 (usage): Report on new option.
116 (report_mode): New function.
117 (main): Implement -M option.
119 2004-02-20 Christopher Faylor <cgf@redhat.com>
121 * Makefile.in (build_dumper): Detect missing iconv library.
123 * cygpath.cc (dowin): Report on filename conversion errors.
126 * strace.cc (main): Use symbolic constant for _STRACE_ALL when setting
129 2004-02-14 Corinna Vinschen <corinna@vinschen.de>
131 * ssp.c (opts): Add leading '+' to force posixly correct behaviour.
133 2004-02-11 Corinna Vinschen <corinna@vinschen.de>
135 * strace.cc (opts): Add leading '+' to force posixly correct
137 (main): Revert POSIXLY_CORRECT manipulations.
139 2004-02-10 Christopher Faylor <cgf@redhat.com>
141 * strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.
143 2004-02-10 Christopher Faylor <cgf@redhat.com>
145 * strace.cc: Update copyrights.
146 * cygcheck.cc: Update copyrights.
148 2004-02-10 Christopher Faylor <cgf@redhat.com>
150 * strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
151 * cygcheck.cc (main): Ditto.
153 2004-01-23 Christopher Faylor <cgf@redhat.com>
155 * cygcheck.cc (pretty_id): Make more robust in absence of id.exe.
157 2004-01-22 Corinna Vinschen <corinna@vinschen.de>
159 * cygpath.cc (dowin): Revert accidental checkin from November.
161 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
163 * mkgroup.c (main): Print "root" group with local admins group sid
166 2003-11-19 Corinna Vinschen <corinna@vinschen.de>
168 * Makefile.in: Add rules to build ipcrm and ipcs.
172 2003-11-14 Corinna Vinschen <corinna@vinschen.de>
174 * mkgroup.c: Avoid compiler warnings throughout.
178 2003-11-07 Mark Blackburn <marklist@fangorn.ca>
180 * cygpath.cc (main): Allow multiple pathnames on command line.
182 2003-11-04 Corinna Vinschen <corinna@vinschen.de>
184 * passwd.c (PrintPW): Turn around meaning printed for "Password not
185 required" option to be in line with Windows meaning.
186 (main): Use more appropriate 1008 option when calling
187 NetUserSetInfo to change flag values.
189 2003-11-04 Corinna Vinschen <corinna@vinschen.de>
191 * passwd.c (UF_LOCKOUT): Remove (defined in lmaccess.h).
192 (version): Bump version number to 1.5.
193 (longopts): Add -c, -C, -e, -E, -p, -P options.
195 (PrintPW): Print values of UF_PASSWD_CANT_CHANGE and
196 UF_DONT_EXPIRE_PASSWD flags. Slightly reformat output. Don't suppress
197 correct system password settings just because the account has admin
199 (usage): Define as "noreturn" function. Restructure and rephrase
200 output. Accomodate new options.
201 (print_version): Fix copyright dates.
202 (main): Accomodate new options for setting UF_PASSWD_CANT_CHANGE,
203 UF_DONT_EXPIRE_PASSWD and UF_PASSWD_NOTREQD settings.
205 2003-10-17 Christopher Faylor <cgf@redhat.com>
207 * cygcheck.cc (pretty_id): Don't exec if `id' program is not found.
209 2003-09-20 Christopher Faylor <cgf@redhat.com>
211 * kill.cc (main): Allow negative pids (indicates process groups).
213 2003-09-17 Christopher Faylor <cgf@redhat.com>
215 * parse_pe.cc (exclusion::sort_and_check): Make error message a little
216 more explicit and ignore (hopefully) harmless region overlap.
218 2003-09-13 Christopher Faylor <cgf@redhat.com>
220 * kill.c (forcekill): Wait for process to terminate even if
221 TerminateProcess says it failed.
223 2003-09-11 Christopher Faylor <cgf@redhat.com>
225 * Makefile.in: Tweak mingw libz.a detection to make it more reliably
226 detect when libz.a is not available.
228 2003-09-11 Igor Pechtchanski <pechtcha@cs.nyu.edu>
230 * cygcheck.cc (dump_only): New global variable.
231 (usage): Add "--dump-only" option, fix "--verbose" line.
232 (longopts, opts): Add "--dump-only" option.
233 (main): Process the "--dump-only" flag. Add new semantic check.
234 Pass dump_only information to dump_setup().
236 2003-09-11 Corinna Vinschen <corinna@vinschen.de>
238 * getfacl (main): Remove extern declaration of optind.
239 * setfacl (main): Remove extern declaration of optarg and optind.
241 2003-09-10 Christopher Faylor <cgf@redhat.com>
243 * Makefile.in (cygcheck.o): Use MINGW_CXX for compilation.
244 * cygcheck.cc: Just include <getopt.h> rather than cygwin version.
245 (pretty_id): Avoid compiler warnings.
246 * cygpath.cc (usage): Ditto.
248 2003-09-10 Christopher Faylor <cgf@redhat.com>
250 * Makefile.in (MINGW_CXX): Define and use for mingw-compiled files.
251 * path.cc: Include more path info in cygwin-specific includes since the
252 cygwin directory is no longer included by default.
254 2003-09-10 Christopher Faylor <cgf@redhat.com>
256 * Makefile.in: More fixups to adjust for the fact that mingw_getopt.o
259 2003-09-10 Christopher Faylor <cgf@redhat.com>
261 * Makefile.in: Remove references to getopt since it is now part of
264 2003-09-08 Christopher Faylor <cgf@redhat.com>
266 * Makefile.in: Rename libz.h -> zlib.h.
268 2003-09-07 Christopher Faylor <cgf@redhat.com>
270 * Makefile.in: Detect existence of mingw zlib headers and libraries.
271 Build cygcheck without package checking if they are unavailable.
272 * dump_setup.cc: Generate dummy zlib macros when zlib is not available.
273 (open_package_list): Use zlib functions to uncompress package lists.
274 Return gzFile rather than FILE *.
275 (check_package_files): Change fp to gzFile to accommodate zlib
276 functions. Use gzgets to read from package file. Use gzclose to close
278 (package_list): Ditto.
279 (package_find): Ditto.
281 2003-09-05 Igor Pechtchanski <pechtcha@cs.nyu.edu>
283 * dump_setup.cc (check_package_files): Don't fail on empty package.
285 2003-09-01 AJ Reins <reinsaj@yahoo.com>
287 * mount.cc (mount_commands): Ensure user mode is actually user mode and
288 not the default system mode.
290 2003-08-31 Christopher Faylor <cgf@redhat.com>
292 * kill.cc (forcekill): Silence some compiler warnings.
294 2003-08-31 Christopher Faylor <cgf@redhat.com>
296 * Makefile.in: Oops. Put the '...' in the right place.
298 2003-08-31 Christopher Faylor <cgf@redhat.com>
300 * Makefile.in: Display "..." when not-verbose.
302 * kill.cc (forcekill): Default to entered pid when pinfo fails. Issue
303 some warnings when things don't work.
305 2003-08-17 David Rothenberger <daveroth@acm.org>
307 * dump_setup.cc (check_package_files): Strip leading / and ./ from
310 2003-08-16 David Rothenberger <daveroth@acm.org>
312 * dump_setup.cc (package_find): Don't stop searching on missing
314 (package_list): Ditto.
316 2003-08-16 Igor Pechtchanski <pechtcha@cs.nyu.edu>
318 * dump_setup.cc: (package_list): Make output terse unless
319 verbose requested. Fix formatting.
320 (package_find): Ditto.
322 2003-08-15 Corinna Vinschen <corinna@vinschen.de>
324 * cygcheck.cc (main): Fix some formatting and help text printing.
326 2003-08-15 Igor Pechtchanski <pechtcha@cs.nyu.edu>
328 * cygcheck.cc (find_package,list_package): New global
330 (usage): Add "--find-package" and "--list-package" options,
332 (longopts, opts): Add "--find-package" and "--list-package"
334 (main): Process the "--find-package" and "--list-package"
335 flags. Add new semantic checks. Add calls to find_package()
337 * dump_setup.cc: Fix header comment.
338 (match_argv): Change return type to int to distinguish
339 between real matches and default ones.
340 (open_package_list): New static function.
341 (check_package_files): Factor out opening the package list
342 file into open_package_list().
343 (get_packages): New static function.
344 (dump_setup): Factor out getting a list of packages into
346 (package_list, package_find): New global functions.
348 2003-08-15 Corinna Vinschen <corinna@vinschen.de>
350 * regtool.cc (usage): Add missing linefeed. Move example to --help
351 text. Fix forward slash description.
353 2003-08-13 Igor Pechtchanski <pechtcha@cs.nyu.edu>
355 * dump_setup.cc (check_package_files): Fix extra '/' in filename.
356 Resize command buffer. Fix buffer overflow bug.
358 2003-08-09 Igor Pechtchanski <pechtcha@cs.nyu.edu>
359 Christopher Faylor <cgf@redhat.com>
361 * dump_setup.cc (dump_setup): Check for the existence of the package
362 list file. Rework slightly to use static buffer for popen commands.
364 2003-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
365 Christopher Faylor <cgf@redhat.com>
367 * dump_setup.cc (version_len): New static variable.
368 (could_not_access,directory_exists): New static function.
369 (file_exists): Ditto.
370 (check_package_files): Ditto.
371 (dump_setup): Check the contents of each package if check_files is true
372 and output the result in the "Status" column. Flush output after each
375 2003-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
376 Christopher Faylor <cgf@redhat.com>
378 * dump_setup.cc (dump_setup): Remove redundant null check. Add
379 informative message if package info not found.
381 2003-07-26 Christopher Faylor <cgf@redhat.com>
383 * mount.cc (do_mount): Issue warning when using managed mount option on
386 2003-07-25 Christopher Faylor <cgf@redhat.com>
388 * configure.in: Use 'install-sh -c'.
389 * configure: Regenerate.
391 2003-07-25 Christopher Faylor <cgf@redhat.com>
393 * configure.in: Always use install-sh.
394 * configure: Regenerate.
396 2003-07-03 Christopher Faylor <cgf@redhat.com>
398 * mount.cc (struct opt): Remove posix option.
400 2003-07-03 Christopher Faylor <cgf@redhat.com>
402 * mount.cc (longopts): Add long "options" keyword.
403 (opts): Add -o option.
404 (usage): Display -o option.
406 (concat3): New function.
407 (main): Handle -o flag.
409 2003-06-12 Christopher Faylor <cgf@redhat.com>
411 * cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.
413 2003-06-12 Christopher Faylor <cgf@redhat.com>
415 * cygpath.cc: Throughout, always return error when GetShortPathName
418 2003-04-26 Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
420 * mkpasswd.c (usage) Remove extra newline from description output.
422 2003-04-26 Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
424 * cygcheck.cc (usage) Add description output.
425 * cygpath.cc (usage) Add description output.
426 * dumper.cc (usage) Add newline to description output.
427 * kill.cc (usage) Add description output.
428 * mkgroup.c (usage) Grammatical change to description output.
429 * mkpasswd.c (usage) Grammatical change to description output.
430 * mount.cc (usage) Add description output.
431 * passwd.c (usage) Add description output.
432 * ps.cc (usage) Add description output.
433 * regtool.cc (usage) Add description output.
434 * setfacl.c (usage) Remove extra newline from description output.
435 * ssp.c (usage) Add description output.
436 * strace.cc (usage) Add description output.
437 * umount.cc (usage) Add description output.
439 2003-04-10 Pierre Humblet <pierre.humblet@ieee.org>
441 * mkpasswd.c (current_user): print uid and gid as unsigned.
442 (enum_users): Ditto. Do not free servername.
443 (usage): Update to allow several domains and improve -p.
444 (main): On Win9x limit uids to 1000. Only print specials
445 when -l is specified. Add a loop to allow several domains
446 and free servername in the loop.
447 * mkgroup.c (enum_groups): Do not free servername.
448 (usage): Update to allow several domains. Change uid to gid.
449 (main): Only print specials when -l is specified. Add a
450 loop to allow several domains and free servername in the loop.
452 2003-03-24 Christopher Faylor <cgf@redhat.com>
454 * cygcheck.cc (dump_sysinfo): Ensure that CYGWIN environment variable
457 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
459 * getfacl.c (username): Fix ambiguous printf calls.
463 2003-03-04 Christopher Faylor <cgf@redhat.com>
465 * Makefile.in (strace.exe): Include mingw_getopt.o in link line.
466 * cygcheck.cc (print_version): Update copyright.
467 * strace.cc (print_version): Ditto.
468 (main): Allow cygwin paths for -o option.
469 (create_child): Allow cygwin path as argv[0].
470 * path.cc (path.cc): Allow UNC paths.
472 2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>
474 * mkpasswd.cc (main): On Win95, output both a default line and a
475 line for the current user (if known) with a pseudorandom uid. If
476 the -u switch is given, produce a line for the specified user.
477 * mkgroup.cc (main): On Win95 change the group name from "unknown" to
480 2003-02-28 Christopher Faylor <cgf@redhat.com>
482 * Makefile.in (cygcheck.o): Fix so that actual mingw include files are
484 * cygcheck.cc (find_on_path): Translate from cygwin path when qualified
486 (pretty_id): New function. Dump output of id command.
487 (dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.
489 2003-02-12 Christopher Faylor <cgf@redhat.com>
491 * cygpath.cc (doit): Allocate more space for non-path filename.
493 2003-02-07 Christopher Faylor <cgf@redhat.com>
495 * dump_setup.cc (compar): Use case insensitive comparisons.
496 (dump_setup): Calculate package_len based on already used "len". Don't
497 bother with version_len.
499 2003-02-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
501 * dump_setup.cc (dump_setup): Compute the longest package name
502 and align columns properly.
504 2003-02-06 Christopher Faylor <cgf@redhat.com>
506 * cygcheck.cc (common_apps): Add some more apps.
507 * path.cc (get_cygdrive): Correctly set system flag.
509 2003-01-22 Corinna Vinschen <corinna@vinschen.de>
511 * Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.
512 (MINGW_LDFLAGS): Remove in favor of definition from Makefile.common.
514 2003-01-15 Corinna Vinschen <corinna@vinschen.de>
516 * mkgroup.c: Fix copyright date.
520 2003-01-09 Pierre Humblet <pierre.humblet@ieee.org>
522 * setfacl.c (usage): Remove double ":" for mask and other.
524 2003-01-07 Pierre Humblet <pierre.humblet@ieee.org>
526 * mkpasswd.c (current_user): Create.
527 (usage): Reorganize to support Win95/98/ME.
528 (main): Add option for -c. Reorganize to parse options for
529 Win95/98/ME and to call current_user. Add username in gecos field
531 * mkgroup.c (enum_groups): Print gid with %u.
532 (print_win_error): Create from passwd.cc.
533 (current_group): Create.
534 (usage): Reorganize to support Win95/98/ME.
535 (main): Add option for -c. Reorganize to parse options for
536 Win95/98/ME and to call current_group.
538 2002-12-14 Pierre Humblet <pierre.humblet@ieee.org>
540 * setfacl.c (main): Place a single : after other and mask.
541 * getfacl.c (getaclentry): Allow both : and :: for other and mask.
542 (main): Remove extraneous break.
544 2002-11-25 Corinna Vinschen <corinna@vinschen.de>
546 * mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.
548 2002-11-24 Corinna Vinschen <corinna@vinschen.de>
550 * setfacl.c (getperm): Set only `other' permission bits.
551 (getaclentry): Set a_id to -1 by default.
553 2002-11-24 Corinna Vinschen <corinna@vinschen.de>
555 * getfacl.c (permstr): Use `other' permission bits for requesting
558 2002-11-08 Corinna Vinschen <corinna@vinschen.de>
560 * setfacl.c (usage): Add missing LF.
562 2002-10-30 Christopher Faylor <cgf@redhat.com>
564 * cygpath.cc (get_long_path_name_w32impl): Define similarly to
566 (get_long_name): Correctly prototype GetLongPathName.
567 (get_long_paths): Implement using get_long_name to cut down on code
569 (doit): Do various things to make path output work predictably.
571 2002-10-19 Christopher Faylor <cgf@redhat.com>
573 * mount.cc (usage): Correctly report default mode.
574 * strace.cc (main): Use strtoul as appropriate.
576 2002-09-29 Christopher Faylor <cgf@redhat.com>
578 * cygpath.cc (close_arg): Remove unused static.
579 * mkgroup.c (enum_local_users): Avoid compiler warning.
581 * mkpasswd.c: Ditto throughout.
582 * ssp.c: Ditto throughout.
584 2002-09-18 Christopher Faylor <cgf@redhat.com>
586 * cygcheck.cc: Include sys/time.h rather than time.h to avoid a
589 2002-09-17 Christopher Faylor <cgf@redhat.com>
591 * cygcheck.cc: Reorder includes to avoid compiler error.
593 2002-09-15 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
595 * cygcheck.cc (print_version) Add final newline.
596 * getfacl.c (print_version) Add final newline.
597 * kill.cc (print_version) Add final newline.
598 * mkgroup.c (print_version) Add final newline.
599 * mkpasswd.c (print_version) Add final newline.
600 * mount.cc (print_version) Add final newline.
601 * passwd.c (print_version) Add final newline.
602 * ps.cc (print_version) Add final newline.
603 * regtool.cc (print_version) Add final newline.
604 * setfacl.c (print_version) Add final newline.
605 * ssp.c (print_version) Add final newline.
606 * strace.cc (print_version) Add final newline.
607 * umount.cc (print_version) Add final newline.
609 2002-09-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
611 * cygpath.cc (options) New global variable.
612 (main) Make short options global for easier change.
613 (print_version) Add a missing newline.
615 2002-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
617 * regtool.cc (find_key): Add support for custom key separator.
618 (usage): Document it.
620 2002-08-02 Corinna Vinschen <corinna@vinschen.de>
622 * mkgroup.c (main): Don't print an entry for "Everyone".
623 * mkpasswd.c (print_special): Set pw_gid to 544 for SYSTEM user.
624 (main): Don't print an entry for "Everyone".
626 2002-07-06 Christopher Faylor <cgf@redhat.com>
628 * configure.in: Check for libiconv.a.
629 * configure: Regenerate.
630 * Makefile.in: Add libiconv.a to libraries required for dumper.exe.
632 2002-07-06 Christopher Faylor <cgf@redhat.com>
634 * Makefile.in: Use MINGW stuff from Makefile.common.
636 2002-07-01 Corinna Vinschen <corinna@vinschen.de>
638 * mkgroup.c: Add function pointers for functions from advapi32.dll.
639 (load_netapi): Load used functions from advapi32.dll.
640 (main): Use function pointers instead of statically linked functions
643 2002-07-01 Christopher Faylor <cgf@redhat.com>
645 * mount.cc (main): Ensure that mount_already_exists() also gets default
646 flag that is passed to do_mount.
648 2002-06-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
650 * cygpath.cc (long_options): Add "dos" and "mixed", correct "close",
651 "file" and "type" to use NULL flag.
652 (usage): Clean up usage output (more), accomodate new options.
653 (main): Add --dos and --mixed options; accomodate all output forms in
654 --type. Make UNIXy output default.
656 2002-06-18 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
658 * cygpath.cc (usage): Clean up usage output.
659 (dowin): Correct output of -t mixed for -ADHPSW options.
661 2002-06-14 Corinna Vinschen <corinna@vinschen.de>
663 * passwd.c: Rearrange includes to avoid unnecessary warnings.
664 (GetPW): Add parameter to (dis)allow printing of Windows username.
665 Use defines instead of numerical constants where possible.
666 Try avoiding impersonation problem. Rearrange to print Windows
667 username only if it's different from Cygwin username.
668 (ChangePW): Use defines instead of numerical constants where possible.
669 (main): Call GetPW with additional parameter. Change error text.
671 2002-06-14 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
673 * passwd.c (GetPW): Handle case of user-edited /etc/passwd
674 with cygwin_internal (CW_EXTRACT_DOMAIN_AND_USER, ...).
676 2002-06-09 Christopher Faylor <cgf@redhat.com>
678 * path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
681 2002-06-09 Christopher Faylor <cgf@redhat.com>
683 * mount.cc (main): Use default system/user flag for cygdrive stuff,
685 (change_cygdrive_prefix): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
686 * umount.cc (remove_cygdrive_prefix): Ditto.
687 (main): Use default system/user flag for cygdrive stuff, too.
689 2002-06-08 Christopher Faylor <cgf@redhat.com>
691 * mount.cc (opts): Remove '-i' option.
694 (longopts): Remove --import-old-mounts option.
696 2002-06-07 David Peterson <chief@mail.idrive.com>
697 Christopher Faylor <cgf@redhat.com>
699 * cygpath.cc: Add option to output windows paths in different formats:
701 (main): Process options.
702 (doit): Check new options flags.
704 2002-06-06 Egor Duda <deo@logos-m.ru>
706 * regtool.cc (Fail): Be more verbose.
707 (find_key): Add support for remote registry access.
708 (usage): Document it.
709 * utils.sgml: Document it.
711 2002-06-06 Christopher Faylor <cgf@redhat.com>
713 * strace.cc (main): Make toggle a local variable.
715 2002-06-07 Conrad Scott <conrad.scott@dsl.pipex.com>
717 * strace.cc (toggle): New global variable.
718 (error): Use exit instead of ExitProcess so that stdio buffers get
720 (create_child): Remove command line error checking.
722 (dotoggle): New function.
723 (usage): Add entry for new option -T|--toggle. Alphabetize.
724 (longopts): Add new option -T|--toggle.
726 (main): Handle new -T|--toggle option. Move all command line checking
727 here from other functions.
728 * utils.sgml: Update section for strace.
730 2002-06-05 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
732 * strace.cc (version): New global variable.
733 (usage): Accommodate stdout output.
734 (print_version): New function.
736 2002-06-03 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
738 * ssp.c (version): New global variable.
741 (run_program): Correct cmd_line typos to cmdline.
742 (usage): New function. Standardize usage output. Add ssp.txt to
744 (print_version): New function.
745 (main): Accommodate getopt.
747 2002-06-03 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
749 * umount.cc (version): New global variable.
750 (longopts): Accommodate new --version option.
752 (usage): Standardize usage output.
753 (print_version): New function.
754 (main): Accommodate --help, --version options.
756 2002-06-02 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
758 * regtool.cc (prog_name): New global variable.
761 (usage): Standardize usage output. Rearrange/add descriptions.
762 (print_version): New function.
763 (main): Accommodate longopts and new --help, --version options. Add
764 check for (_argv[optind+1] == NULL).
766 2002-06-02 Christopher Faylor <cgf@redhat.com>
768 * strace.cc (forkdebug): Make true by default.
769 (attach_process): Use window pid if cygwin pid isn't available (yet).
770 (create_child): Use either DEBUG_ONLY_THIS_PROCESS or DEBUG_PROCESS,
771 exclusively. (Suggested by Conrad.Scott@dsl.pipex.com)
773 2002-05-30 Christopher Faylor <cgf@redhat.com>
775 * mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.
777 2002-05-29 Christopher Faylor <cgf@redhat.com>
779 * mount.cc (main): Make -b the default.
781 2002-05-29 Corinna Vinschen <corinna@vinschen.de>
783 * ps.cc (main): Use uid or uid32 member of struct external_pinfo
784 dependent of the value of the struct's version member.
786 2002-05-29 Corinna Vinschen <corinna@vinschen.de>
788 * ps.cc (main): Change print format for uid to unsigned. Use uid32
789 member of struct external_pinfo instead of uid.
791 2002-05-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
793 * passwd.c (prog_name): New global variable.
796 (usage): Standardize output. Accommodate new options.
797 (print_version): New function.
798 (main): Accommodate longopts and new --help, --version options.
800 2002-05-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
802 * ps.cc (usage): Fix typo.
804 2002-05-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
806 * ps.cc (prog_name): New global variable.
809 (usage): New function.
810 (print_version): New function.
811 (main): Accommodate longopts and new --help, --version options.
813 2002-05-26 Christopher Faylor <cgf@redhat.com>
815 * strace.cc (attach_process): Don't tell process to start stracing
817 (proc_child): Do it here, instead, after first debug event. This
818 should work around inexplicable races with DebugActiveProcess.
819 (dostrace): Pass any pid argument to proc_child.
821 2002-05-23 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
823 * getfacl.c (usage): Standardize usage output. Change return type to
825 (print_version): New function.
826 (longopts): Added longopts for all options.
827 (main): Accommodate new help and version options.
829 2002-05-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
831 * mount.cc (version): New global variable.
832 (usage): Standardize usage output. Accommodate new version option.
833 (print_version): New function.
834 (longopts): Accommodate new version option.
838 2002-05-22 Corinna Vinschen <corinna@vinschen.de>
840 * cygpath.cc (usage): Change usage output slightly.
842 2002-05-20 Joerg Schaible <joerg.schaible@gmx.de>
844 * cygpath.cc (main): Add option l to support conversion to
845 Windows long file names. Refactured code for capital options.
846 Support of options from file for capital options.
847 (dowin): New function. Refactured from main.
848 (doit): Call long path conversion.
849 (get_long_name): New function.
850 (get_long_paths): New function.
851 (get_long_path_name_w32impl): New function. Reimplementation
852 of Windows API function GetLongPathName (only 98/Me/2000/XP or
854 (get_short_name): Call GetShortPathName only once.
855 (get_short_paths): Fix calculating buffer size.
856 * utils.sgml: Update cygpath section for l option.
858 2002-05-18 Christopher Faylor <cgf@redhat.com>
860 * strace.cc (add_child): Use calloc since new requires working
862 (remove_child): Ditto for delete/free.
864 2002-05-15 Mark Blackburn <marklist@fangorn.ca>
866 * cygpath.cc (get_short_paths): Fix more error checking.
867 (get_short_name): Ditto.
869 2002-05-14 Joerg Schaible <joerg.schaible@gmx.de>
871 * cygpath.cc (main): Add option H to show the Windows' profiles
872 directory. Support short names for options DPSW. Clean up
874 * utils.sgml: Update cygpath section for H option and s support.
876 2002-05-14 Mark Blackburn <marklist@fangorn.ca>
878 * cygpath.cc (get_short_paths): Fix error checking.
880 2002-05-13 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
882 * kill.cc (prog_name): New global variable.
883 (usage): Standardize usage output. Add descriptions.
884 (print_version): New function.
885 (longopts): Accommodate new version option.
889 2002-05-13 Christopher Faylor <cgf@redhat.com>
891 * kill.cc (listsig): Display numeric id when given symbolic input.
893 2002-05-13 Christopher Faylor <cgf@redhat.com>
895 * kill.cc (usage): Show new options. Allow specification of output
897 (main): Implement 'h' option.
899 2002-05-13 Christopher Faylor <cgf@redhat.com>
901 * Makefile.in (kill.exe): Add as a specific target.
902 * kill.cc (longopts): New.
904 (get_sig): Accept const char * parameter. Return -1 on unknown signal.
905 (test_for_unknown_sig): New function.
906 (listsig): New function.
907 (main): Use getopt_long for option parsing. Implement -l, and -s
908 options. Use test_for_unknown_sig() to test for signal validity.
910 * mount.cc (longopts): Make static.
913 2002-05-12 Christopher Faylor <cgf@redhat.com>
915 * mount.cc (do_mount): Default to non-exec option for remote drives.
916 Report warnings before attempting a mount.
917 (longopts): Add no-executable option.
918 (mount_commands): Ditto.
920 (usage): Ditto. Indicate that system mount is now the default.
921 (main): Accommodate no-executable option. Make system mount the
923 * umount.cc (usage): Indicate that system umount is now the default.
924 (main): Make system umount the default.
926 2002-05-07 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
928 * dumper.cc (usage): Standardize usage output. Generalize to allow use
930 (longopts): New struct. Added longopts for all options.
931 (print_version): New function.
932 (main): Change getopt to getopt_long. Accommodate new help and version
935 2002-03-29 Corinna Vinschen <corinna@vinschen.de>
937 * mkgroup.c (main): Change call to exit() to a return statement.
938 * mkpasswd.c (main): Ditto.
940 2002-03-27 Joshua Daniel Franklin joshuadfranklin@yahoo.com
942 * mkpasswd.c (usage): Simplify usage output. Generalize to allow use
943 for help. Correct '?' typo to 'h'.
944 (longopts): Add version option.
945 (opts): Add 'v' version option.
946 (print_version): New function.
947 (main): Accommodate new version option. Accommodate usage parameter
950 2002-03-19 Christopher Faylor <cgf@redhat.com>
952 * mkgroup.c (usage): Use one just fprintf + string concatenation for
954 (print_version): Add void to function type and update copyright.
956 2002-03-16 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
958 * mkgroup.c (usage): Simplify usage output. Generalize to allow use
959 for help. Correct '?' typo to 'h'.
960 (longopts): Add version option.
961 (opts): Add 'v' version option.
962 (print_version): New function.
963 (main): Accommodate new version option. Accommodate usage parameter
964 changes. Use usage to output help message.
966 2002-03-15 Corinna Vinschen <corinna@vinschen.de>
968 * mkgroup.c (main): When generating group 513, check for computer's
969 primary domain instead of current user's domain.
971 2002-03-14 Corinna Vinschen <corinna@vinschen.de>
973 * mkgroup.c (main): When generating group 513, check for domain SID
974 if computer name isn't mapped to a SID.
976 2001-03-11 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
978 * kill.cc (usage): Move to top of file.
982 2002-03-06 Christopher Faylor <cgf@redhat.com>
984 * cygcheck.cc: Reformat.
986 2002-03-06 Christopher Faylor <cgf@redhat.com>
988 * cygcheck.cc (longopts): Use correct short option for --version.
990 2002-03-06 Christopher Faylor <cgf@redhat.com>
992 * cygpath.cc: Reformat.
994 2002-02-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
996 * cygpath.cc (print_version): New function.
997 (main): Accommodate new version function. Initialize 'o' to prevent
1000 2002-02-27 Christopher Faylor <cgf@redhat.com>
1002 * cygcheck.cc (main): Eliminate non-GNU formatting glitch.
1004 2002-02-27 Christopher Faylor <cgf@redhat.com>
1006 * ssp.c (help_desk): Fix compiler warning.
1008 2002-02-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
1009 Christopher Faylor <cgf@redhat.com>
1011 Change appropriate globals to statics throughout.
1012 * cygcheck.cc (usage): Simplify usage output. Generalize to allow use
1014 (longopts): Add version option.
1015 (opts): Add 'V" version option.
1016 (print_version): New function.
1017 (main): Accommodate new version option. Accommodate usage parameter
1018 changes. Use usage to output help message.
1020 002-02-19 Christopher Faylor <cgf@redhat.com>
1022 * Makefile.in (CXXFLAGS): Add override so that HAVE_DECL_GETOPT is
1024 (libbfd): Use -B rather than -L so that bfd from build directory is
1028 2002-02-15 Christopher Faylor <cgf@redhat.com>
1030 * mount.cc (usage): Fix typo in output.
1032 2002-02-14 Christopher Faylor <cgf@redhat.com>
1034 * strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
1036 2002-01-31 Corinna Vinschen <corinna@vinschen.de>
1038 * mkpasswd.c (main): Set default home path for 9x/Me if --path-to-home
1041 2002-01-30 Corinna Vinschen <corinna@vinschen.de>
1043 * passwd.cc (ChangePW): Add parameter to differ between called for
1044 checking old password and called for changing password. If called
1045 for checking old password, return non-zero only if password is surely
1047 (main): Call ChangePW() with additional parameter.
1049 2002-01-29 Christopher Faylor <cgf@redhat.com>
1051 * dump_setup.cc (parse_filename): Don't consider '_' part of the
1054 2002-01-28 Christopher Faylor <cgf@redhat.com>
1056 * cygcheck.cc: Fix typo. Remove uid_t kludge. Rely on kludge in
1057 sys/cygwin.h instead.
1058 * getfacl.c: Add include to remove warning.
1059 * mkgroup.c (main): Assign variables outside of parameter passing.
1060 This seems to eliminate some compiler warnings.
1062 2002-01-28 Christopher Faylor <cgf@redhat.com>
1064 * cygcheck.cc: Use specific cygwin includes, as required.
1066 2002-01-28 Christopher Faylor <cgf@redhat.com>
1068 * Makefile.in (MINGW_INCLUDES): Change cygwin include.
1069 * strace.cc: Use specific cygwin includes, as required.
1070 (load_cygwin): New function. Loads cygwin DLL, if necessary.
1071 (attach_process): Attaches strace to a running process.
1072 (dostrace): Accept pid argument. Attach to pid if supplied.
1073 (usage): Describe -p option. Correct system description.
1074 (longopts): Alphabetize.
1076 (main): Ditto. Handle -p option.
1078 2002-01-21 Christopher Faylor <cgf@redhat.com>
1080 * Makefile.in (CXXFLAGS): Ensure that important settings are preserved
1081 even when overriden by command line.
1083 2002-01-21 Christopher Faylor <cgf@redhat.com>
1085 * Makefile.in: Build intermediate cygcheck.o to force use of MINGW_CXXFLAGS.
1086 * cygcheck.cc (cygwin_info): Intitialize variable to quiet g++ warning.
1087 (dump_sysinfo): Make variables unsigned to quiet g++ warnings.
1088 * strace.cc (version_string): Rename from SCCSid.
1089 (add_child): Remove unused variable.
1090 (version): Use version_string. Avoid use of fprintf.
1092 2002-01-21 DJ Delorie <dj@redhat.com>
1094 * Makefile.in: Use CXX instead of CC to compile C++ sources.
1096 2002-01-17 DJ Delorie <dj@redhat.com>
1098 * cygcheck.cc (already_did): Avoid default constructors, which may
1099 require exception support.
1101 2001-01-16 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
1103 * cygpath.cc (main): Add options to show Desktop and Start
1104 Menu's Programs directory for current user or all users.
1105 Move bulk of DPWS options outside the getopt case statement.
1106 * utils.sgml: Update cygpath section for ADPWS options.
1108 2002-01-15 Joerg Schaible <joerg.schaible@gmx.de>
1110 * cygpath.cc (doit): Empty file ignored using option -i.
1112 2002-01-15 Mark Bradshaw <bradshaw@crosswalk.com>
1114 * mkpasswd.c (print_win_error): Add a new function.
1115 (enum_users): Use print_win_error.
1116 (enum_local_groups): Ditto.
1119 2001-12-26 Jonathan Kamens <jik@curl.com>
1121 * cygpath.cc (doit): Detect and warn about an empty path. Detect and
1122 warn about errors converting a path.
1123 (main): Set prog_name correctly -- don't leave an extra slash or
1124 backslash at the beginning of it.
1126 Fri Dec 14 14:04:37 2001 Jason Tishler <jason@tishler.net>
1128 * mkpasswd.c (enum_users): Change to unconditionally use
1129 the --path-to-home option, if supplied by the user. Use default
1130 --path-to-home option value, if appropriate.
1131 (usage): Change usage statement to reflect new semantics.
1132 (main): Remove defaulting of the --path-to-home option.
1134 Fri Dec 14 12:10:39 2001 Jason Tishler <jason@tishler.net>
1136 * mkpasswd.c (opts): Add indication that '-p' option requires an
1139 2001-12-11 Christopher Faylor <cgf@redhat.com>
1141 * Makefile.in: Add define to CXXFLAGS.
1143 2001-12-03 Christopher Faylor <cgf@redhat.com>
1145 * cygcheck.cc (usage): Add -c description.
1146 * cygpath.cc (usage): Alphabetize options.
1147 * strace.cc (usage): Ditto.
1149 2001-11-21 Christopher Faylor <cgf@redhat.com>
1151 * path.cc (cygpath): Don't consider cygdrive stuff when trying to derive
1154 2001-11-20 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1156 * mkpasswd.c: include lmerr.h
1157 (main): New -u option to allow specifying a
1158 specific user. If specified, groups aren't displayed and
1159 output is limited to only the specified user.
1160 (enum_users): If specific user is specified, via -u option,
1161 display only that user's record. With -u use NetUserGetInfo
1162 instead of NetUserEnum.
1163 (load_netapi): Added netusergetinfo.
1165 2001-11-15 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
1167 * strace.cc (main): Change getopt() to getopt_long().
1168 Add support for help and version info.
1169 Use new parse_mask() function for -m/--mask option.
1170 (longopts): Add long options structure.
1171 (opts): Move options string from getopts call to static var.
1172 (usage): Print usage information.
1173 (SCCSid): Version info.
1174 (version): New function for displaying version info.
1175 (parse_mask): New function supporting parsing of mnemonics,
1176 hex, and basic expressions in masks.
1177 (mnemonic2ul): New mnemonic parsing function.
1178 (tag_mask_mnemonic): New type.
1179 (mnemonic_table): New table of mnemonics for mnemonic2ul() to
1182 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1184 * cygcheck.cc (dump_sysinfo): Redefine output format slightly.
1185 Print correct build number on 9x/ME systems.
1187 2001-11-12 Christopher Faylor <cgf@redhat.com>
1189 * cygcheck.cc (main): Slight formatting tweak.
1191 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1193 * cygcheck.cc (dump_sysinfo): Add some more details.
1195 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1197 * cygcheck.cc (dump_sysinfo): Print more detailed OS information string
1198 using OSVERSIONINFOEX information.
1200 2001-11-11 Christopher Faylor <cgf@redhat.com>
1204 2001-11-11 Christopher Faylor <cgf@redhat.com>
1206 * cygcheck.cc (scan_registry): Open registry with read-only access.
1207 (main): Reflect argument change for dump_setup.
1208 * dump_setup.cc (dump_setup): Add preliminary extra argument for future
1210 * path.cc (read_mounts): Open registry with read-only access.
1212 2001-11-11 Christopher Faylor <cgf@redhat.com>
1214 * cygcheck.cc (main): Display package info when '-s' is specified.
1215 * dump_setup.cc (dump_setup): Change header. Remove typo. Always sort
1218 2001-11-11 Christopher Faylor <cgf@redhat.com>
1220 * dump_setup.cc: New file.
1221 * Makefile.in: Add info for dump_setup.o.
1222 * cygcheck.cc (main): Recognize '-c' option for checking setup
1224 * path.cc (cygpath): Read mount table if not loaded.
1226 2001-11-10 Christopher Faylor <cgf@redhat.com>
1228 * Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable.
1229 * path.cc: New file.
1230 * cygcheck.cc (init_paths): Use MS-DOS path syntax.
1231 (cygwin_info): Properly display cygwin version numbers. Prettify some
1233 (dump_sysinfo): Calculate max names of posix and ms-dos paths for
1236 2001-11-09 Corinna Vinschen <corinna@vinschen.de>
1238 * cygcheck.cc (dump_sysinfo): Print more detailed OS information string.
1240 2001-11-04 Corinna Vinschen <corinna@vinschen.de>
1242 * getfacl.c (username): New function.
1244 (usage): Ditto. Add more user friendly help text.
1245 (main): Add -n and --help option. Print names instead of IDs
1246 unless -n option is given.
1247 * setfacl.c (getperm): Tolerate whitespace and comment chars in input.
1248 (getaclentry): Fix several input string misdetections.
1249 (getaclentries): Allow - as input file name to read from stdin.
1250 Tolerate whitespace and comment chars in input.
1251 (usage): Add more user friendly help text.
1252 (main): Add --help option.
1254 2001-11-04 Egor Duda <deo@logos-m.ru>
1256 * strace.cc (main): New option '-w'. Start traced process in separate
1257 window. New option '-S x'. Flush buffered output every x seconds.
1258 (create_child): Start child process in new window, when requested.
1259 When requested, periodically flush debugging output.
1261 2001-10-24 Christopher Faylor <cgf@redhat.com>
1263 * Makefile.in: Remove EXEEXT consideration. We always need .exe
1266 2001-10-20 Corinna Vinschen <corinna@vinschen.de>
1268 * mkgroup.c: Avoid compiler warnings.
1269 (print_special): New function.
1270 (main): Print special accounts by calling print_special().
1271 * mkpasswd.c: Avoid compiler warnings.
1272 (enum_users): Print additional U-domain\username info in gecos
1273 field when SIDs are printed.
1274 (print_special): New function.
1275 (main): Print special accounts by calling print_special().
1277 2001-10-15 Christopher Faylor <cgf@redhat.com>
1279 * mkpasswd.cc (enum_users): Shorten "unused" passwd field.
1281 2001-10-13 Christopher Faylor <cgf@redhat.com>
1283 * Makefile.in: Allow stdinc searching for dumper.
1285 Tue Oct 9 21:59:00 2001 Christopher Faylor <cgf@cygnus.com>
1287 * Makefile.in (MINGW_INCLUDES): Accommodate changes in Makefile.common.
1289 Sun Oct 7 23:06:39 2001 Christopher Faylor <cgf@cygnus.com>
1291 * kill.cc (main): Set exit value to 1 on invalid pid. Perform minor
1294 Fri Sep 21 20:40:30 2001 Christopher Faylor <cgf@cygnus.com>
1296 * Makefile.in (mingw_getopt.o): Ensure that newlib include directories
1299 Thu Sep 20 21:00:20 2001 Christopher Faylor <cgf@cygnus.com>
1301 * Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.
1303 Wed Sep 19 12:22:08 2001 Christopher Faylor <cgf@cygnus.com>
1305 * Makefile.in: Filter newlib includes from mingw compilation.
1307 2001-09-14 Egor Duda <deo@logos-m.ru>
1309 * dumper.cc (dumper::dumper): Print error code in case of error.
1310 (dumper::add_thread): Ditto.
1311 (dumper::collect_memory_sections): Ditto.
1312 (dumper::dump_memory_region): Ditto.
1313 (dumper::collect_process_information): Ditto.
1314 (print_section_name): Fix formatting.
1316 2001-09-13 Egor Duda <deo@logos-m.ru>
1318 * dumper.cc (main): Properly recognize negative pids (used by w9x).
1320 2001-09-09 Egor Duda <deo@logos-m.ru>
1322 * dumper.cc (main): Change command-line arguments format to be
1323 similar to gdb. Allow adding error_start=x:\path\to\dumper.exe to
1324 CYGWIN environment variable to perform core dumping in case of
1328 Wed Sep 5 22:37:21 2001 Christopher Faylor <cgf@cygnus.com>
1330 * Makefile.in (dumper): Change logic for libbfd and libintl so that
1331 they will be found either in the build tree or the installed directory.
1332 * mkpasswd.c (enum_users): Add a comment as a password for NT.
1334 2001-09-03 Michael A Chase <mchase@ix.netcom.com>
1336 * mount.cc (mount_commands): Don't write /cygdrive/u mount points.
1338 2001-09-03 Michael A Chase <mchase@ix.netcom.com>
1340 * mount.cc (longopts): Add mount-commands to options list.
1341 (usage): Add mount-commands option.
1342 (mount_commands): New function. Write commands to recreate current
1345 Sat Sep 1 15:58:11 2001 Christopher Faylor <cgf@cygnus.com>
1347 * mount.cc (main): Eliminate excess arguments in printf.
1349 2001-08-30 Egor Duda <deo@logos-m.ru>
1351 * dumper.h: Update copyright notice.
1353 * dumper.cc: (dumper::print_core_section_list): New function.
1354 * dumper.h: (dumper::print_core_section_list): Declare it.
1355 * dumper.cc (print_section_name): New function.
1356 (dumper::collect_process_information): Augment debugging output.
1357 Stop debugee processing if it posts double exception.
1358 (usage): Fix typo in option name.
1360 Tue Aug 28 14:45:02 2001 Christopher Faylor <cgf@cygnus.com>
1362 * mount.cc (main): Issue correct warning for 'not enough arguments'.
1364 2001-08-14 Joerg Schaible <joerg.schaible@gmx.de>
1366 * cygpath.cc (main): Support -w for Windows (System) directories and
1367 return physical correct orthography for the Windows System dir.
1369 2001-07-14 Chris Genly <chgenly@alum.mit.edu>
1371 * regtool.cc (find_key): Handle keys with only one subkey.
1373 Wed Jun 27 22:46:10 2001 Christopher Faylor <cgf@cygnus.com>
1375 * regtool.cc (find_key): Revert previous change.
1377 Wed Jun 27 13:37:41 2001 Keith Starsmeare" <keith_starsmeare@yahoo.co.uk>
1379 * regtool.cc (find_key): Allow '/' as a synonym for '\\'.
1381 Fri Jun 15 00:49:21 2001 Christopher Faylor <cgf@cygnus.com>
1383 * mkpasswd.c (main): Output passwd file in binary mode so that there
1384 are no CRs in the file.
1385 * umount.cc (remove_all_user_mounts): Don't try to remove /cygdrive
1388 Tue May 1 10:50:48 2001 Christopher Faylor <cgf@cygnus.com>
1390 * mkpasswd.c (enum_users): Use /bin/bash as the default shell.
1393 Sat Apr 28 22:32:01 2001 Christopher Faylor <cgf@cygnus.com>
1395 * passwd.cc (ttymnam): New function.
1396 (main): Use ttynam() to report name of tty.
1398 2001-04-19 Egor Duda <deo@logos-m.ru>
1400 * dumper.cc (dumper::init_core_dump): Set architecture field in dump
1403 Mon Apr 16 15:08:00 2001 Corinna Vinschen <vinschen@redhat.com>
1405 * mkgroup.c: Add function pointers `netlocalgroupgetmembers' and
1407 (load_netapi): Load function pointers `netlocalgroupgetmembers'
1408 and `netgroupgetusers'.
1409 (enum_local_users): New function.
1410 (enum_local_groups): Call `enum_local_users' for each group if
1411 `print_users' is set.
1412 (enum_users): New function.
1413 (enum_groups): Call `enum_users' for each group if `print_users' is set.
1414 (usage): Add usage text for `-u/--users'.
1415 (longopts): Add option `--users'.
1416 (opts): Add option character `u'.
1417 (main): Set `print_users' according to option `-u/--users'.
1418 Call `enum_local_groups' and `enum_groups' with additional parameter
1421 2001-04-15 Michael A Chase <mchase@ix.netcom.com>
1423 * mount.cc (longopts): Add help to options list.
1424 (opts): Add 'h' to options string.
1425 * umount.cc (longopts): Add help to options list.
1426 (opts): Add 'h' to options string and change 'R' to 'A'.
1428 2001-04-13 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1430 * mkgroup.c (enum_groups): Use RID + offset specified an additional
1432 (usage): Add description of -o option.
1433 (longopts, opts): Add specifications of -o/--id-offset option.
1434 (main): Add -o option. Invoke enum_groups with specified offset.
1435 * mkpasswd.c (enum_users): Just like mkgroup.c.
1436 (usage, longopts, opts): Ditto.
1437 (main): Add -o option. Invoke enum_users with specified offset only
1438 against domain accounts.
1440 2001-04-11 Egor Duda <deo@logos-m.ru>
1442 * mkgroup.c (uni2ansi): Use native method to convert from Unicode
1443 to multi-byte strings.
1444 * mkpasswd.c (uni2ansi): Ditto.
1445 (enum_users): Pass buffer size when converting string.
1446 (enum_local_groups): Ditto.
1447 * mkgroup.c (enum_groups): Ditto.
1448 (enum_local_groups): Ditto.
1450 Mon Apr 2 22:41:33 2001 Christopher Faylor <cgf@cygnus.com>
1452 * mount.cc (main): Use getopt_long for parsing arguments.
1453 (usage): Reformat, show long and short options.
1454 * umount.cc (main): Ditto, all of the above.
1456 Mon Apr 2 10:58:26 2001 Christopher Faylor <cgf@cygnus.com>
1458 * mount.cc (show_mounts): Change format string to more closely resemble
1459 UNIX when displaying mount table.
1461 Sat Mar 17 21:46:06 2001 Christopher Faylor <cgf@cygnus.com>
1463 * kill.cc (forcekill): Use dwProcessId when opening a process, not the
1466 Mon Mar 5 18:50:00 2001 Corinna Vinschen <vinschen@redhat.com>
1468 * getfacl.c: Add copyright hint.
1472 Tue Jan 09 10:26:23 2001 Tony Sideris <tonys1110@home.com>
1474 * regtool.cc (cmd_list): Add new registry display options.
1475 (cmd_list): Add code to implement -p, -k, and -l options.
1477 * regtool.cc (Fail): Add call to LocalFree to free memory allocated by
1480 Wed Jan 10 09:16:57 2001 Christopher Faylor <cgf@cygnus.com>
1482 * regtool.cc (translate): Ensure that 'c' is initialized.
1483 (cmd_set): Ditto for rv.