1 2004-10-25 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
3 * cygcheck.cc (dump_sysinfo): Add leading newline before legend for
6 2004-10-22 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
8 * cygcheck.cc (dump_sysinfo): In legend for drive-list: Add ``ram'' and
9 ``unk''. Use single puts. Add leading newline. Line up equal-signs.
11 2004-10-20 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
13 * cygcheck.cc (dump_sysinfo): Allow for larger drives in drive-list.
14 Change ``Used'' to ``Free'' in helptext-title for drive-list.
16 2004-10-18 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
18 * cygcheck.cc (pretty_id): Don't let i become negative. Fix
21 2004-10-17 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
23 * cygcheck.cc (pretty_id): Allocate space for ')' in uid and guid.
25 2004-10-17 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
26 Christopher Faylor <cgf@timesys.com>
28 * cygcheck.cc (pretty_id): Allocate space for trailing '\0' in uid and
31 2004-10-15 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
32 Christopher Faylor <cgf@timesys.com>
34 * cygcheck.cc (pretty_id): Don't exit on id error. Fix size
37 2004-10-14 Christopher Faylor <cgf@timesys.com>
38 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
40 * cygcheck.cc (pretty_id): Correct column calculations. Abort if id is
43 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
45 * cygcheck.cc (add_path): Don't leak memory when path is already in
48 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
50 * cygcheck.cc (dump_sysinfo): Warn about trailing (back)slash on mount
53 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
55 * cygcheck.cc (dump_sysinfo): Don't warn about empty path components,
58 2004-10-06 Corinna Vinschen <corinna@vinschen.de>
60 * strace.cc (_impure_ptr): Remove.
62 2004-10-06 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
64 * cygcheck.cc (dump_sysinfo): Warn about empty path components.
66 2004-10-04 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
68 * cygcheck.cc (pretty_id): Close pipe.
70 2004-09-23 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
72 * dump_setup.cc (dump_setup): Remove unneeded strlen when check_files
75 2004-09-22 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
76 Corinna Vinschen <corinna@vinschen.de>
78 * dump_setup.cc (dump_setup): Avoid trailing spaces on package-list.
80 2004-09-15 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
82 * getfacl.c (main): Correct layout when nopt is set.
84 2004-07-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
86 * mkgroup.cc (netapibufferallocate,netgroupgetinfo): New function
88 (load_netapi): Load NetApiBufferAllocate and NetGroupGetInfo.
89 (enum_local_groups,enum_groups): Add disp_groupname parameter.
90 Load info for disp_groupname if specified.
91 (usage): Add description of "-g/--group" option.
92 (longopts,opts): Add "-g/--group" option.
93 (main): Process "-g/--group" option.
94 * utils.sgml (mkgroup): Add description of "-g/--group" option
96 2004-06-15 Alan Modra <amodra@bigpond.net.au>
98 * dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
100 (dumper::write_core_dump): Likewise.
101 * parse_pe.cc (select_data_section): Likewise.
103 2004-05-29 John Paul Wallington <jpw@gnu.org>
105 * ssp.c (usage): Add missing linefeed.
107 2004-05-27 Christopher Faylor <cgf@alum.bu.edu>
109 * kill.cc (listsig): Fix "kill -l" segv. NSIG includes Signal 0, so we
110 need to avoid calling strtosigno with NSIG - 1.
112 2004-03-21 Christopher Faylor <cgf@redhat.com>
114 * cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.
116 2004-03-15 Christopher Faylor <cgf@redhat.com>
118 * cygpath.cc (usage): Don't issue helpful message if -i is used.
119 (from Igor Pechtchanski)
121 2004-03-13 Rob Siklos <rob2@siklos.ca>
123 * kill.cc (get_debug_priv): New function.
124 (forcekill): Call get_debug_priv before trying to kill process.
126 2004-02-24 Christopher Faylor <cgf@redhat.com>
128 * cygpath.cc (long_options): Add "mode" option.
130 (usage): Report on new option.
131 (report_mode): New function.
132 (main): Implement -M option.
134 2004-02-20 Christopher Faylor <cgf@redhat.com>
136 * Makefile.in (build_dumper): Detect missing iconv library.
138 * cygpath.cc (dowin): Report on filename conversion errors.
141 * strace.cc (main): Use symbolic constant for _STRACE_ALL when setting
144 2004-02-14 Corinna Vinschen <corinna@vinschen.de>
146 * ssp.c (opts): Add leading '+' to force posixly correct behaviour.
148 2004-02-11 Corinna Vinschen <corinna@vinschen.de>
150 * strace.cc (opts): Add leading '+' to force posixly correct
152 (main): Revert POSIXLY_CORRECT manipulations.
154 2004-02-10 Christopher Faylor <cgf@redhat.com>
156 * strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.
158 2004-02-10 Christopher Faylor <cgf@redhat.com>
160 * strace.cc: Update copyrights.
161 * cygcheck.cc: Update copyrights.
163 2004-02-10 Christopher Faylor <cgf@redhat.com>
165 * strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
166 * cygcheck.cc (main): Ditto.
168 2004-01-23 Christopher Faylor <cgf@redhat.com>
170 * cygcheck.cc (pretty_id): Make more robust in absence of id.exe.
172 2004-01-22 Corinna Vinschen <corinna@vinschen.de>
174 * cygpath.cc (dowin): Revert accidental checkin from November.
176 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
178 * mkgroup.c (main): Print "root" group with local admins group sid
181 2003-11-19 Corinna Vinschen <corinna@vinschen.de>
183 * Makefile.in: Add rules to build ipcrm and ipcs.
187 2003-11-14 Corinna Vinschen <corinna@vinschen.de>
189 * mkgroup.c: Avoid compiler warnings throughout.
193 2003-11-07 Mark Blackburn <marklist@fangorn.ca>
195 * cygpath.cc (main): Allow multiple pathnames on command line.
197 2003-11-04 Corinna Vinschen <corinna@vinschen.de>
199 * passwd.c (PrintPW): Turn around meaning printed for "Password not
200 required" option to be in line with Windows meaning.
201 (main): Use more appropriate 1008 option when calling
202 NetUserSetInfo to change flag values.
204 2003-11-04 Corinna Vinschen <corinna@vinschen.de>
206 * passwd.c (UF_LOCKOUT): Remove (defined in lmaccess.h).
207 (version): Bump version number to 1.5.
208 (longopts): Add -c, -C, -e, -E, -p, -P options.
210 (PrintPW): Print values of UF_PASSWD_CANT_CHANGE and
211 UF_DONT_EXPIRE_PASSWD flags. Slightly reformat output. Don't suppress
212 correct system password settings just because the account has admin
214 (usage): Define as "noreturn" function. Restructure and rephrase
215 output. Accomodate new options.
216 (print_version): Fix copyright dates.
217 (main): Accomodate new options for setting UF_PASSWD_CANT_CHANGE,
218 UF_DONT_EXPIRE_PASSWD and UF_PASSWD_NOTREQD settings.
220 2003-10-17 Christopher Faylor <cgf@redhat.com>
222 * cygcheck.cc (pretty_id): Don't exec if `id' program is not found.
224 2003-09-20 Christopher Faylor <cgf@redhat.com>
226 * kill.cc (main): Allow negative pids (indicates process groups).
228 2003-09-17 Christopher Faylor <cgf@redhat.com>
230 * parse_pe.cc (exclusion::sort_and_check): Make error message a little
231 more explicit and ignore (hopefully) harmless region overlap.
233 2003-09-13 Christopher Faylor <cgf@redhat.com>
235 * kill.c (forcekill): Wait for process to terminate even if
236 TerminateProcess says it failed.
238 2003-09-11 Christopher Faylor <cgf@redhat.com>
240 * Makefile.in: Tweak mingw libz.a detection to make it more reliably
241 detect when libz.a is not available.
243 2003-09-11 Igor Pechtchanski <pechtcha@cs.nyu.edu>
245 * cygcheck.cc (dump_only): New global variable.
246 (usage): Add "--dump-only" option, fix "--verbose" line.
247 (longopts, opts): Add "--dump-only" option.
248 (main): Process the "--dump-only" flag. Add new semantic check.
249 Pass dump_only information to dump_setup().
251 2003-09-11 Corinna Vinschen <corinna@vinschen.de>
253 * getfacl (main): Remove extern declaration of optind.
254 * setfacl (main): Remove extern declaration of optarg and optind.
256 2003-09-10 Christopher Faylor <cgf@redhat.com>
258 * Makefile.in (cygcheck.o): Use MINGW_CXX for compilation.
259 * cygcheck.cc: Just include <getopt.h> rather than cygwin version.
260 (pretty_id): Avoid compiler warnings.
261 * cygpath.cc (usage): Ditto.
263 2003-09-10 Christopher Faylor <cgf@redhat.com>
265 * Makefile.in (MINGW_CXX): Define and use for mingw-compiled files.
266 * path.cc: Include more path info in cygwin-specific includes since the
267 cygwin directory is no longer included by default.
269 2003-09-10 Christopher Faylor <cgf@redhat.com>
271 * Makefile.in: More fixups to adjust for the fact that mingw_getopt.o
274 2003-09-10 Christopher Faylor <cgf@redhat.com>
276 * Makefile.in: Remove references to getopt since it is now part of
279 2003-09-08 Christopher Faylor <cgf@redhat.com>
281 * Makefile.in: Rename libz.h -> zlib.h.
283 2003-09-07 Christopher Faylor <cgf@redhat.com>
285 * Makefile.in: Detect existence of mingw zlib headers and libraries.
286 Build cygcheck without package checking if they are unavailable.
287 * dump_setup.cc: Generate dummy zlib macros when zlib is not available.
288 (open_package_list): Use zlib functions to uncompress package lists.
289 Return gzFile rather than FILE *.
290 (check_package_files): Change fp to gzFile to accommodate zlib
291 functions. Use gzgets to read from package file. Use gzclose to close
293 (package_list): Ditto.
294 (package_find): Ditto.
296 2003-09-05 Igor Pechtchanski <pechtcha@cs.nyu.edu>
298 * dump_setup.cc (check_package_files): Don't fail on empty package.
300 2003-09-01 AJ Reins <reinsaj@yahoo.com>
302 * mount.cc (mount_commands): Ensure user mode is actually user mode and
303 not the default system mode.
305 2003-08-31 Christopher Faylor <cgf@redhat.com>
307 * kill.cc (forcekill): Silence some compiler warnings.
309 2003-08-31 Christopher Faylor <cgf@redhat.com>
311 * Makefile.in: Oops. Put the '...' in the right place.
313 2003-08-31 Christopher Faylor <cgf@redhat.com>
315 * Makefile.in: Display "..." when not-verbose.
317 * kill.cc (forcekill): Default to entered pid when pinfo fails. Issue
318 some warnings when things don't work.
320 2003-08-17 David Rothenberger <daveroth@acm.org>
322 * dump_setup.cc (check_package_files): Strip leading / and ./ from
325 2003-08-16 David Rothenberger <daveroth@acm.org>
327 * dump_setup.cc (package_find): Don't stop searching on missing
329 (package_list): Ditto.
331 2003-08-16 Igor Pechtchanski <pechtcha@cs.nyu.edu>
333 * dump_setup.cc: (package_list): Make output terse unless
334 verbose requested. Fix formatting.
335 (package_find): Ditto.
337 2003-08-15 Corinna Vinschen <corinna@vinschen.de>
339 * cygcheck.cc (main): Fix some formatting and help text printing.
341 2003-08-15 Igor Pechtchanski <pechtcha@cs.nyu.edu>
343 * cygcheck.cc (find_package,list_package): New global
345 (usage): Add "--find-package" and "--list-package" options,
347 (longopts, opts): Add "--find-package" and "--list-package"
349 (main): Process the "--find-package" and "--list-package"
350 flags. Add new semantic checks. Add calls to find_package()
352 * dump_setup.cc: Fix header comment.
353 (match_argv): Change return type to int to distinguish
354 between real matches and default ones.
355 (open_package_list): New static function.
356 (check_package_files): Factor out opening the package list
357 file into open_package_list().
358 (get_packages): New static function.
359 (dump_setup): Factor out getting a list of packages into
361 (package_list, package_find): New global functions.
363 2003-08-15 Corinna Vinschen <corinna@vinschen.de>
365 * regtool.cc (usage): Add missing linefeed. Move example to --help
366 text. Fix forward slash description.
368 2003-08-13 Igor Pechtchanski <pechtcha@cs.nyu.edu>
370 * dump_setup.cc (check_package_files): Fix extra '/' in filename.
371 Resize command buffer. Fix buffer overflow bug.
373 2003-08-09 Igor Pechtchanski <pechtcha@cs.nyu.edu>
374 Christopher Faylor <cgf@redhat.com>
376 * dump_setup.cc (dump_setup): Check for the existence of the package
377 list file. Rework slightly to use static buffer for popen commands.
379 2003-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
380 Christopher Faylor <cgf@redhat.com>
382 * dump_setup.cc (version_len): New static variable.
383 (could_not_access,directory_exists): New static function.
384 (file_exists): Ditto.
385 (check_package_files): Ditto.
386 (dump_setup): Check the contents of each package if check_files is true
387 and output the result in the "Status" column. Flush output after each
390 2003-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
391 Christopher Faylor <cgf@redhat.com>
393 * dump_setup.cc (dump_setup): Remove redundant null check. Add
394 informative message if package info not found.
396 2003-07-26 Christopher Faylor <cgf@redhat.com>
398 * mount.cc (do_mount): Issue warning when using managed mount option on
401 2003-07-25 Christopher Faylor <cgf@redhat.com>
403 * configure.in: Use 'install-sh -c'.
404 * configure: Regenerate.
406 2003-07-25 Christopher Faylor <cgf@redhat.com>
408 * configure.in: Always use install-sh.
409 * configure: Regenerate.
411 2003-07-03 Christopher Faylor <cgf@redhat.com>
413 * mount.cc (struct opt): Remove posix option.
415 2003-07-03 Christopher Faylor <cgf@redhat.com>
417 * mount.cc (longopts): Add long "options" keyword.
418 (opts): Add -o option.
419 (usage): Display -o option.
421 (concat3): New function.
422 (main): Handle -o flag.
424 2003-06-12 Christopher Faylor <cgf@redhat.com>
426 * cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.
428 2003-06-12 Christopher Faylor <cgf@redhat.com>
430 * cygpath.cc: Throughout, always return error when GetShortPathName
433 2003-04-26 Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
435 * mkpasswd.c (usage) Remove extra newline from description output.
437 2003-04-26 Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
439 * cygcheck.cc (usage) Add description output.
440 * cygpath.cc (usage) Add description output.
441 * dumper.cc (usage) Add newline to description output.
442 * kill.cc (usage) Add description output.
443 * mkgroup.c (usage) Grammatical change to description output.
444 * mkpasswd.c (usage) Grammatical change to description output.
445 * mount.cc (usage) Add description output.
446 * passwd.c (usage) Add description output.
447 * ps.cc (usage) Add description output.
448 * regtool.cc (usage) Add description output.
449 * setfacl.c (usage) Remove extra newline from description output.
450 * ssp.c (usage) Add description output.
451 * strace.cc (usage) Add description output.
452 * umount.cc (usage) Add description output.
454 2003-04-10 Pierre Humblet <pierre.humblet@ieee.org>
456 * mkpasswd.c (current_user): print uid and gid as unsigned.
457 (enum_users): Ditto. Do not free servername.
458 (usage): Update to allow several domains and improve -p.
459 (main): On Win9x limit uids to 1000. Only print specials
460 when -l is specified. Add a loop to allow several domains
461 and free servername in the loop.
462 * mkgroup.c (enum_groups): Do not free servername.
463 (usage): Update to allow several domains. Change uid to gid.
464 (main): Only print specials when -l is specified. Add a
465 loop to allow several domains and free servername in the loop.
467 2003-03-24 Christopher Faylor <cgf@redhat.com>
469 * cygcheck.cc (dump_sysinfo): Ensure that CYGWIN environment variable
472 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
474 * getfacl.c (username): Fix ambiguous printf calls.
478 2003-03-04 Christopher Faylor <cgf@redhat.com>
480 * Makefile.in (strace.exe): Include mingw_getopt.o in link line.
481 * cygcheck.cc (print_version): Update copyright.
482 * strace.cc (print_version): Ditto.
483 (main): Allow cygwin paths for -o option.
484 (create_child): Allow cygwin path as argv[0].
485 * path.cc (path.cc): Allow UNC paths.
487 2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>
489 * mkpasswd.cc (main): On Win95, output both a default line and a
490 line for the current user (if known) with a pseudorandom uid. If
491 the -u switch is given, produce a line for the specified user.
492 * mkgroup.cc (main): On Win95 change the group name from "unknown" to
495 2003-02-28 Christopher Faylor <cgf@redhat.com>
497 * Makefile.in (cygcheck.o): Fix so that actual mingw include files are
499 * cygcheck.cc (find_on_path): Translate from cygwin path when qualified
501 (pretty_id): New function. Dump output of id command.
502 (dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.
504 2003-02-12 Christopher Faylor <cgf@redhat.com>
506 * cygpath.cc (doit): Allocate more space for non-path filename.
508 2003-02-07 Christopher Faylor <cgf@redhat.com>
510 * dump_setup.cc (compar): Use case insensitive comparisons.
511 (dump_setup): Calculate package_len based on already used "len". Don't
512 bother with version_len.
514 2003-02-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
516 * dump_setup.cc (dump_setup): Compute the longest package name
517 and align columns properly.
519 2003-02-06 Christopher Faylor <cgf@redhat.com>
521 * cygcheck.cc (common_apps): Add some more apps.
522 * path.cc (get_cygdrive): Correctly set system flag.
524 2003-01-22 Corinna Vinschen <corinna@vinschen.de>
526 * Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.
527 (MINGW_LDFLAGS): Remove in favor of definition from Makefile.common.
529 2003-01-15 Corinna Vinschen <corinna@vinschen.de>
531 * mkgroup.c: Fix copyright date.
535 2003-01-09 Pierre Humblet <pierre.humblet@ieee.org>
537 * setfacl.c (usage): Remove double ":" for mask and other.
539 2003-01-07 Pierre Humblet <pierre.humblet@ieee.org>
541 * mkpasswd.c (current_user): Create.
542 (usage): Reorganize to support Win95/98/ME.
543 (main): Add option for -c. Reorganize to parse options for
544 Win95/98/ME and to call current_user. Add username in gecos field
546 * mkgroup.c (enum_groups): Print gid with %u.
547 (print_win_error): Create from passwd.cc.
548 (current_group): Create.
549 (usage): Reorganize to support Win95/98/ME.
550 (main): Add option for -c. Reorganize to parse options for
551 Win95/98/ME and to call current_group.
553 2002-12-14 Pierre Humblet <pierre.humblet@ieee.org>
555 * setfacl.c (main): Place a single : after other and mask.
556 * getfacl.c (getaclentry): Allow both : and :: for other and mask.
557 (main): Remove extraneous break.
559 2002-11-25 Corinna Vinschen <corinna@vinschen.de>
561 * mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.
563 2002-11-24 Corinna Vinschen <corinna@vinschen.de>
565 * setfacl.c (getperm): Set only `other' permission bits.
566 (getaclentry): Set a_id to -1 by default.
568 2002-11-24 Corinna Vinschen <corinna@vinschen.de>
570 * getfacl.c (permstr): Use `other' permission bits for requesting
573 2002-11-08 Corinna Vinschen <corinna@vinschen.de>
575 * setfacl.c (usage): Add missing LF.
577 2002-10-30 Christopher Faylor <cgf@redhat.com>
579 * cygpath.cc (get_long_path_name_w32impl): Define similarly to
581 (get_long_name): Correctly prototype GetLongPathName.
582 (get_long_paths): Implement using get_long_name to cut down on code
584 (doit): Do various things to make path output work predictably.
586 2002-10-19 Christopher Faylor <cgf@redhat.com>
588 * mount.cc (usage): Correctly report default mode.
589 * strace.cc (main): Use strtoul as appropriate.
591 2002-09-29 Christopher Faylor <cgf@redhat.com>
593 * cygpath.cc (close_arg): Remove unused static.
594 * mkgroup.c (enum_local_users): Avoid compiler warning.
596 * mkpasswd.c: Ditto throughout.
597 * ssp.c: Ditto throughout.
599 2002-09-18 Christopher Faylor <cgf@redhat.com>
601 * cygcheck.cc: Include sys/time.h rather than time.h to avoid a
604 2002-09-17 Christopher Faylor <cgf@redhat.com>
606 * cygcheck.cc: Reorder includes to avoid compiler error.
608 2002-09-15 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
610 * cygcheck.cc (print_version) Add final newline.
611 * getfacl.c (print_version) Add final newline.
612 * kill.cc (print_version) Add final newline.
613 * mkgroup.c (print_version) Add final newline.
614 * mkpasswd.c (print_version) Add final newline.
615 * mount.cc (print_version) Add final newline.
616 * passwd.c (print_version) Add final newline.
617 * ps.cc (print_version) Add final newline.
618 * regtool.cc (print_version) Add final newline.
619 * setfacl.c (print_version) Add final newline.
620 * ssp.c (print_version) Add final newline.
621 * strace.cc (print_version) Add final newline.
622 * umount.cc (print_version) Add final newline.
624 2002-09-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
626 * cygpath.cc (options) New global variable.
627 (main) Make short options global for easier change.
628 (print_version) Add a missing newline.
630 2002-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
632 * regtool.cc (find_key): Add support for custom key separator.
633 (usage): Document it.
635 2002-08-02 Corinna Vinschen <corinna@vinschen.de>
637 * mkgroup.c (main): Don't print an entry for "Everyone".
638 * mkpasswd.c (print_special): Set pw_gid to 544 for SYSTEM user.
639 (main): Don't print an entry for "Everyone".
641 2002-07-06 Christopher Faylor <cgf@redhat.com>
643 * configure.in: Check for libiconv.a.
644 * configure: Regenerate.
645 * Makefile.in: Add libiconv.a to libraries required for dumper.exe.
647 2002-07-06 Christopher Faylor <cgf@redhat.com>
649 * Makefile.in: Use MINGW stuff from Makefile.common.
651 2002-07-01 Corinna Vinschen <corinna@vinschen.de>
653 * mkgroup.c: Add function pointers for functions from advapi32.dll.
654 (load_netapi): Load used functions from advapi32.dll.
655 (main): Use function pointers instead of statically linked functions
658 2002-07-01 Christopher Faylor <cgf@redhat.com>
660 * mount.cc (main): Ensure that mount_already_exists() also gets default
661 flag that is passed to do_mount.
663 2002-06-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
665 * cygpath.cc (long_options): Add "dos" and "mixed", correct "close",
666 "file" and "type" to use NULL flag.
667 (usage): Clean up usage output (more), accomodate new options.
668 (main): Add --dos and --mixed options; accomodate all output forms in
669 --type. Make UNIXy output default.
671 2002-06-18 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
673 * cygpath.cc (usage): Clean up usage output.
674 (dowin): Correct output of -t mixed for -ADHPSW options.
676 2002-06-14 Corinna Vinschen <corinna@vinschen.de>
678 * passwd.c: Rearrange includes to avoid unnecessary warnings.
679 (GetPW): Add parameter to (dis)allow printing of Windows username.
680 Use defines instead of numerical constants where possible.
681 Try avoiding impersonation problem. Rearrange to print Windows
682 username only if it's different from Cygwin username.
683 (ChangePW): Use defines instead of numerical constants where possible.
684 (main): Call GetPW with additional parameter. Change error text.
686 2002-06-14 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
688 * passwd.c (GetPW): Handle case of user-edited /etc/passwd
689 with cygwin_internal (CW_EXTRACT_DOMAIN_AND_USER, ...).
691 2002-06-09 Christopher Faylor <cgf@redhat.com>
693 * path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
696 2002-06-09 Christopher Faylor <cgf@redhat.com>
698 * mount.cc (main): Use default system/user flag for cygdrive stuff,
700 (change_cygdrive_prefix): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
701 * umount.cc (remove_cygdrive_prefix): Ditto.
702 (main): Use default system/user flag for cygdrive stuff, too.
704 2002-06-08 Christopher Faylor <cgf@redhat.com>
706 * mount.cc (opts): Remove '-i' option.
709 (longopts): Remove --import-old-mounts option.
711 2002-06-07 David Peterson <chief@mail.idrive.com>
712 Christopher Faylor <cgf@redhat.com>
714 * cygpath.cc: Add option to output windows paths in different formats:
716 (main): Process options.
717 (doit): Check new options flags.
719 2002-06-06 Egor Duda <deo@logos-m.ru>
721 * regtool.cc (Fail): Be more verbose.
722 (find_key): Add support for remote registry access.
723 (usage): Document it.
724 * utils.sgml: Document it.
726 2002-06-06 Christopher Faylor <cgf@redhat.com>
728 * strace.cc (main): Make toggle a local variable.
730 2002-06-07 Conrad Scott <conrad.scott@dsl.pipex.com>
732 * strace.cc (toggle): New global variable.
733 (error): Use exit instead of ExitProcess so that stdio buffers get
735 (create_child): Remove command line error checking.
737 (dotoggle): New function.
738 (usage): Add entry for new option -T|--toggle. Alphabetize.
739 (longopts): Add new option -T|--toggle.
741 (main): Handle new -T|--toggle option. Move all command line checking
742 here from other functions.
743 * utils.sgml: Update section for strace.
745 2002-06-05 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
747 * strace.cc (version): New global variable.
748 (usage): Accommodate stdout output.
749 (print_version): New function.
751 2002-06-03 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
753 * ssp.c (version): New global variable.
756 (run_program): Correct cmd_line typos to cmdline.
757 (usage): New function. Standardize usage output. Add ssp.txt to
759 (print_version): New function.
760 (main): Accommodate getopt.
762 2002-06-03 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
764 * umount.cc (version): New global variable.
765 (longopts): Accommodate new --version option.
767 (usage): Standardize usage output.
768 (print_version): New function.
769 (main): Accommodate --help, --version options.
771 2002-06-02 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
773 * regtool.cc (prog_name): New global variable.
776 (usage): Standardize usage output. Rearrange/add descriptions.
777 (print_version): New function.
778 (main): Accommodate longopts and new --help, --version options. Add
779 check for (_argv[optind+1] == NULL).
781 2002-06-02 Christopher Faylor <cgf@redhat.com>
783 * strace.cc (forkdebug): Make true by default.
784 (attach_process): Use window pid if cygwin pid isn't available (yet).
785 (create_child): Use either DEBUG_ONLY_THIS_PROCESS or DEBUG_PROCESS,
786 exclusively. (Suggested by Conrad.Scott@dsl.pipex.com)
788 2002-05-30 Christopher Faylor <cgf@redhat.com>
790 * mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.
792 2002-05-29 Christopher Faylor <cgf@redhat.com>
794 * mount.cc (main): Make -b the default.
796 2002-05-29 Corinna Vinschen <corinna@vinschen.de>
798 * ps.cc (main): Use uid or uid32 member of struct external_pinfo
799 dependent of the value of the struct's version member.
801 2002-05-29 Corinna Vinschen <corinna@vinschen.de>
803 * ps.cc (main): Change print format for uid to unsigned. Use uid32
804 member of struct external_pinfo instead of uid.
806 2002-05-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
808 * passwd.c (prog_name): New global variable.
811 (usage): Standardize output. Accommodate new options.
812 (print_version): New function.
813 (main): Accommodate longopts and new --help, --version options.
815 2002-05-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
817 * ps.cc (usage): Fix typo.
819 2002-05-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
821 * ps.cc (prog_name): New global variable.
824 (usage): New function.
825 (print_version): New function.
826 (main): Accommodate longopts and new --help, --version options.
828 2002-05-26 Christopher Faylor <cgf@redhat.com>
830 * strace.cc (attach_process): Don't tell process to start stracing
832 (proc_child): Do it here, instead, after first debug event. This
833 should work around inexplicable races with DebugActiveProcess.
834 (dostrace): Pass any pid argument to proc_child.
836 2002-05-23 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
838 * getfacl.c (usage): Standardize usage output. Change return type to
840 (print_version): New function.
841 (longopts): Added longopts for all options.
842 (main): Accommodate new help and version options.
844 2002-05-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
846 * mount.cc (version): New global variable.
847 (usage): Standardize usage output. Accommodate new version option.
848 (print_version): New function.
849 (longopts): Accommodate new version option.
853 2002-05-22 Corinna Vinschen <corinna@vinschen.de>
855 * cygpath.cc (usage): Change usage output slightly.
857 2002-05-20 Joerg Schaible <joerg.schaible@gmx.de>
859 * cygpath.cc (main): Add option l to support conversion to
860 Windows long file names. Refactured code for capital options.
861 Support of options from file for capital options.
862 (dowin): New function. Refactured from main.
863 (doit): Call long path conversion.
864 (get_long_name): New function.
865 (get_long_paths): New function.
866 (get_long_path_name_w32impl): New function. Reimplementation
867 of Windows API function GetLongPathName (only 98/Me/2000/XP or
869 (get_short_name): Call GetShortPathName only once.
870 (get_short_paths): Fix calculating buffer size.
871 * utils.sgml: Update cygpath section for l option.
873 2002-05-18 Christopher Faylor <cgf@redhat.com>
875 * strace.cc (add_child): Use calloc since new requires working
877 (remove_child): Ditto for delete/free.
879 2002-05-15 Mark Blackburn <marklist@fangorn.ca>
881 * cygpath.cc (get_short_paths): Fix more error checking.
882 (get_short_name): Ditto.
884 2002-05-14 Joerg Schaible <joerg.schaible@gmx.de>
886 * cygpath.cc (main): Add option H to show the Windows' profiles
887 directory. Support short names for options DPSW. Clean up
889 * utils.sgml: Update cygpath section for H option and s support.
891 2002-05-14 Mark Blackburn <marklist@fangorn.ca>
893 * cygpath.cc (get_short_paths): Fix error checking.
895 2002-05-13 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
897 * kill.cc (prog_name): New global variable.
898 (usage): Standardize usage output. Add descriptions.
899 (print_version): New function.
900 (longopts): Accommodate new version option.
904 2002-05-13 Christopher Faylor <cgf@redhat.com>
906 * kill.cc (listsig): Display numeric id when given symbolic input.
908 2002-05-13 Christopher Faylor <cgf@redhat.com>
910 * kill.cc (usage): Show new options. Allow specification of output
912 (main): Implement 'h' option.
914 2002-05-13 Christopher Faylor <cgf@redhat.com>
916 * Makefile.in (kill.exe): Add as a specific target.
917 * kill.cc (longopts): New.
919 (get_sig): Accept const char * parameter. Return -1 on unknown signal.
920 (test_for_unknown_sig): New function.
921 (listsig): New function.
922 (main): Use getopt_long for option parsing. Implement -l, and -s
923 options. Use test_for_unknown_sig() to test for signal validity.
925 * mount.cc (longopts): Make static.
928 2002-05-12 Christopher Faylor <cgf@redhat.com>
930 * mount.cc (do_mount): Default to non-exec option for remote drives.
931 Report warnings before attempting a mount.
932 (longopts): Add no-executable option.
933 (mount_commands): Ditto.
935 (usage): Ditto. Indicate that system mount is now the default.
936 (main): Accommodate no-executable option. Make system mount the
938 * umount.cc (usage): Indicate that system umount is now the default.
939 (main): Make system umount the default.
941 2002-05-07 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
943 * dumper.cc (usage): Standardize usage output. Generalize to allow use
945 (longopts): New struct. Added longopts for all options.
946 (print_version): New function.
947 (main): Change getopt to getopt_long. Accommodate new help and version
950 2002-03-29 Corinna Vinschen <corinna@vinschen.de>
952 * mkgroup.c (main): Change call to exit() to a return statement.
953 * mkpasswd.c (main): Ditto.
955 2002-03-27 Joshua Daniel Franklin joshuadfranklin@yahoo.com
957 * mkpasswd.c (usage): Simplify usage output. Generalize to allow use
958 for help. Correct '?' typo to 'h'.
959 (longopts): Add version option.
960 (opts): Add 'v' version option.
961 (print_version): New function.
962 (main): Accommodate new version option. Accommodate usage parameter
965 2002-03-19 Christopher Faylor <cgf@redhat.com>
967 * mkgroup.c (usage): Use one just fprintf + string concatenation for
969 (print_version): Add void to function type and update copyright.
971 2002-03-16 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
973 * mkgroup.c (usage): Simplify usage output. Generalize to allow use
974 for help. Correct '?' typo to 'h'.
975 (longopts): Add version option.
976 (opts): Add 'v' version option.
977 (print_version): New function.
978 (main): Accommodate new version option. Accommodate usage parameter
979 changes. Use usage to output help message.
981 2002-03-15 Corinna Vinschen <corinna@vinschen.de>
983 * mkgroup.c (main): When generating group 513, check for computer's
984 primary domain instead of current user's domain.
986 2002-03-14 Corinna Vinschen <corinna@vinschen.de>
988 * mkgroup.c (main): When generating group 513, check for domain SID
989 if computer name isn't mapped to a SID.
991 2001-03-11 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
993 * kill.cc (usage): Move to top of file.
997 2002-03-06 Christopher Faylor <cgf@redhat.com>
999 * cygcheck.cc: Reformat.
1001 2002-03-06 Christopher Faylor <cgf@redhat.com>
1003 * cygcheck.cc (longopts): Use correct short option for --version.
1005 2002-03-06 Christopher Faylor <cgf@redhat.com>
1007 * cygpath.cc: Reformat.
1009 2002-02-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
1011 * cygpath.cc (print_version): New function.
1012 (main): Accommodate new version function. Initialize 'o' to prevent
1015 2002-02-27 Christopher Faylor <cgf@redhat.com>
1017 * cygcheck.cc (main): Eliminate non-GNU formatting glitch.
1019 2002-02-27 Christopher Faylor <cgf@redhat.com>
1021 * ssp.c (help_desk): Fix compiler warning.
1023 2002-02-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
1024 Christopher Faylor <cgf@redhat.com>
1026 Change appropriate globals to statics throughout.
1027 * cygcheck.cc (usage): Simplify usage output. Generalize to allow use
1029 (longopts): Add version option.
1030 (opts): Add 'V" version option.
1031 (print_version): New function.
1032 (main): Accommodate new version option. Accommodate usage parameter
1033 changes. Use usage to output help message.
1035 002-02-19 Christopher Faylor <cgf@redhat.com>
1037 * Makefile.in (CXXFLAGS): Add override so that HAVE_DECL_GETOPT is
1039 (libbfd): Use -B rather than -L so that bfd from build directory is
1043 2002-02-15 Christopher Faylor <cgf@redhat.com>
1045 * mount.cc (usage): Fix typo in output.
1047 2002-02-14 Christopher Faylor <cgf@redhat.com>
1049 * strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
1051 2002-01-31 Corinna Vinschen <corinna@vinschen.de>
1053 * mkpasswd.c (main): Set default home path for 9x/Me if --path-to-home
1056 2002-01-30 Corinna Vinschen <corinna@vinschen.de>
1058 * passwd.cc (ChangePW): Add parameter to differ between called for
1059 checking old password and called for changing password. If called
1060 for checking old password, return non-zero only if password is surely
1062 (main): Call ChangePW() with additional parameter.
1064 2002-01-29 Christopher Faylor <cgf@redhat.com>
1066 * dump_setup.cc (parse_filename): Don't consider '_' part of the
1069 2002-01-28 Christopher Faylor <cgf@redhat.com>
1071 * cygcheck.cc: Fix typo. Remove uid_t kludge. Rely on kludge in
1072 sys/cygwin.h instead.
1073 * getfacl.c: Add include to remove warning.
1074 * mkgroup.c (main): Assign variables outside of parameter passing.
1075 This seems to eliminate some compiler warnings.
1077 2002-01-28 Christopher Faylor <cgf@redhat.com>
1079 * cygcheck.cc: Use specific cygwin includes, as required.
1081 2002-01-28 Christopher Faylor <cgf@redhat.com>
1083 * Makefile.in (MINGW_INCLUDES): Change cygwin include.
1084 * strace.cc: Use specific cygwin includes, as required.
1085 (load_cygwin): New function. Loads cygwin DLL, if necessary.
1086 (attach_process): Attaches strace to a running process.
1087 (dostrace): Accept pid argument. Attach to pid if supplied.
1088 (usage): Describe -p option. Correct system description.
1089 (longopts): Alphabetize.
1091 (main): Ditto. Handle -p option.
1093 2002-01-21 Christopher Faylor <cgf@redhat.com>
1095 * Makefile.in (CXXFLAGS): Ensure that important settings are preserved
1096 even when overriden by command line.
1098 2002-01-21 Christopher Faylor <cgf@redhat.com>
1100 * Makefile.in: Build intermediate cygcheck.o to force use of MINGW_CXXFLAGS.
1101 * cygcheck.cc (cygwin_info): Intitialize variable to quiet g++ warning.
1102 (dump_sysinfo): Make variables unsigned to quiet g++ warnings.
1103 * strace.cc (version_string): Rename from SCCSid.
1104 (add_child): Remove unused variable.
1105 (version): Use version_string. Avoid use of fprintf.
1107 2002-01-21 DJ Delorie <dj@redhat.com>
1109 * Makefile.in: Use CXX instead of CC to compile C++ sources.
1111 2002-01-17 DJ Delorie <dj@redhat.com>
1113 * cygcheck.cc (already_did): Avoid default constructors, which may
1114 require exception support.
1116 2001-01-16 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
1118 * cygpath.cc (main): Add options to show Desktop and Start
1119 Menu's Programs directory for current user or all users.
1120 Move bulk of DPWS options outside the getopt case statement.
1121 * utils.sgml: Update cygpath section for ADPWS options.
1123 2002-01-15 Joerg Schaible <joerg.schaible@gmx.de>
1125 * cygpath.cc (doit): Empty file ignored using option -i.
1127 2002-01-15 Mark Bradshaw <bradshaw@crosswalk.com>
1129 * mkpasswd.c (print_win_error): Add a new function.
1130 (enum_users): Use print_win_error.
1131 (enum_local_groups): Ditto.
1134 2001-12-26 Jonathan Kamens <jik@curl.com>
1136 * cygpath.cc (doit): Detect and warn about an empty path. Detect and
1137 warn about errors converting a path.
1138 (main): Set prog_name correctly -- don't leave an extra slash or
1139 backslash at the beginning of it.
1141 Fri Dec 14 14:04:37 2001 Jason Tishler <jason@tishler.net>
1143 * mkpasswd.c (enum_users): Change to unconditionally use
1144 the --path-to-home option, if supplied by the user. Use default
1145 --path-to-home option value, if appropriate.
1146 (usage): Change usage statement to reflect new semantics.
1147 (main): Remove defaulting of the --path-to-home option.
1149 Fri Dec 14 12:10:39 2001 Jason Tishler <jason@tishler.net>
1151 * mkpasswd.c (opts): Add indication that '-p' option requires an
1154 2001-12-11 Christopher Faylor <cgf@redhat.com>
1156 * Makefile.in: Add define to CXXFLAGS.
1158 2001-12-03 Christopher Faylor <cgf@redhat.com>
1160 * cygcheck.cc (usage): Add -c description.
1161 * cygpath.cc (usage): Alphabetize options.
1162 * strace.cc (usage): Ditto.
1164 2001-11-21 Christopher Faylor <cgf@redhat.com>
1166 * path.cc (cygpath): Don't consider cygdrive stuff when trying to derive
1169 2001-11-20 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1171 * mkpasswd.c: include lmerr.h
1172 (main): New -u option to allow specifying a
1173 specific user. If specified, groups aren't displayed and
1174 output is limited to only the specified user.
1175 (enum_users): If specific user is specified, via -u option,
1176 display only that user's record. With -u use NetUserGetInfo
1177 instead of NetUserEnum.
1178 (load_netapi): Added netusergetinfo.
1180 2001-11-15 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
1182 * strace.cc (main): Change getopt() to getopt_long().
1183 Add support for help and version info.
1184 Use new parse_mask() function for -m/--mask option.
1185 (longopts): Add long options structure.
1186 (opts): Move options string from getopts call to static var.
1187 (usage): Print usage information.
1188 (SCCSid): Version info.
1189 (version): New function for displaying version info.
1190 (parse_mask): New function supporting parsing of mnemonics,
1191 hex, and basic expressions in masks.
1192 (mnemonic2ul): New mnemonic parsing function.
1193 (tag_mask_mnemonic): New type.
1194 (mnemonic_table): New table of mnemonics for mnemonic2ul() to
1197 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1199 * cygcheck.cc (dump_sysinfo): Redefine output format slightly.
1200 Print correct build number on 9x/ME systems.
1202 2001-11-12 Christopher Faylor <cgf@redhat.com>
1204 * cygcheck.cc (main): Slight formatting tweak.
1206 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1208 * cygcheck.cc (dump_sysinfo): Add some more details.
1210 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1212 * cygcheck.cc (dump_sysinfo): Print more detailed OS information string
1213 using OSVERSIONINFOEX information.
1215 2001-11-11 Christopher Faylor <cgf@redhat.com>
1219 2001-11-11 Christopher Faylor <cgf@redhat.com>
1221 * cygcheck.cc (scan_registry): Open registry with read-only access.
1222 (main): Reflect argument change for dump_setup.
1223 * dump_setup.cc (dump_setup): Add preliminary extra argument for future
1225 * path.cc (read_mounts): Open registry with read-only access.
1227 2001-11-11 Christopher Faylor <cgf@redhat.com>
1229 * cygcheck.cc (main): Display package info when '-s' is specified.
1230 * dump_setup.cc (dump_setup): Change header. Remove typo. Always sort
1233 2001-11-11 Christopher Faylor <cgf@redhat.com>
1235 * dump_setup.cc: New file.
1236 * Makefile.in: Add info for dump_setup.o.
1237 * cygcheck.cc (main): Recognize '-c' option for checking setup
1239 * path.cc (cygpath): Read mount table if not loaded.
1241 2001-11-10 Christopher Faylor <cgf@redhat.com>
1243 * Makefile.in (cygcheck.exe): Compile as -mno-cygwin executable.
1244 * path.cc: New file.
1245 * cygcheck.cc (init_paths): Use MS-DOS path syntax.
1246 (cygwin_info): Properly display cygwin version numbers. Prettify some
1248 (dump_sysinfo): Calculate max names of posix and ms-dos paths for
1251 2001-11-09 Corinna Vinschen <corinna@vinschen.de>
1253 * cygcheck.cc (dump_sysinfo): Print more detailed OS information string.
1255 2001-11-04 Corinna Vinschen <corinna@vinschen.de>
1257 * getfacl.c (username): New function.
1259 (usage): Ditto. Add more user friendly help text.
1260 (main): Add -n and --help option. Print names instead of IDs
1261 unless -n option is given.
1262 * setfacl.c (getperm): Tolerate whitespace and comment chars in input.
1263 (getaclentry): Fix several input string misdetections.
1264 (getaclentries): Allow - as input file name to read from stdin.
1265 Tolerate whitespace and comment chars in input.
1266 (usage): Add more user friendly help text.
1267 (main): Add --help option.
1269 2001-11-04 Egor Duda <deo@logos-m.ru>
1271 * strace.cc (main): New option '-w'. Start traced process in separate
1272 window. New option '-S x'. Flush buffered output every x seconds.
1273 (create_child): Start child process in new window, when requested.
1274 When requested, periodically flush debugging output.
1276 2001-10-24 Christopher Faylor <cgf@redhat.com>
1278 * Makefile.in: Remove EXEEXT consideration. We always need .exe
1281 2001-10-20 Corinna Vinschen <corinna@vinschen.de>
1283 * mkgroup.c: Avoid compiler warnings.
1284 (print_special): New function.
1285 (main): Print special accounts by calling print_special().
1286 * mkpasswd.c: Avoid compiler warnings.
1287 (enum_users): Print additional U-domain\username info in gecos
1288 field when SIDs are printed.
1289 (print_special): New function.
1290 (main): Print special accounts by calling print_special().
1292 2001-10-15 Christopher Faylor <cgf@redhat.com>
1294 * mkpasswd.cc (enum_users): Shorten "unused" passwd field.
1296 2001-10-13 Christopher Faylor <cgf@redhat.com>
1298 * Makefile.in: Allow stdinc searching for dumper.
1300 Tue Oct 9 21:59:00 2001 Christopher Faylor <cgf@cygnus.com>
1302 * Makefile.in (MINGW_INCLUDES): Accommodate changes in Makefile.common.
1304 Sun Oct 7 23:06:39 2001 Christopher Faylor <cgf@cygnus.com>
1306 * kill.cc (main): Set exit value to 1 on invalid pid. Perform minor
1309 Fri Sep 21 20:40:30 2001 Christopher Faylor <cgf@cygnus.com>
1311 * Makefile.in (mingw_getopt.o): Ensure that newlib include directories
1314 Thu Sep 20 21:00:20 2001 Christopher Faylor <cgf@cygnus.com>
1316 * Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.
1318 Wed Sep 19 12:22:08 2001 Christopher Faylor <cgf@cygnus.com>
1320 * Makefile.in: Filter newlib includes from mingw compilation.
1322 2001-09-14 Egor Duda <deo@logos-m.ru>
1324 * dumper.cc (dumper::dumper): Print error code in case of error.
1325 (dumper::add_thread): Ditto.
1326 (dumper::collect_memory_sections): Ditto.
1327 (dumper::dump_memory_region): Ditto.
1328 (dumper::collect_process_information): Ditto.
1329 (print_section_name): Fix formatting.
1331 2001-09-13 Egor Duda <deo@logos-m.ru>
1333 * dumper.cc (main): Properly recognize negative pids (used by w9x).
1335 2001-09-09 Egor Duda <deo@logos-m.ru>
1337 * dumper.cc (main): Change command-line arguments format to be
1338 similar to gdb. Allow adding error_start=x:\path\to\dumper.exe to
1339 CYGWIN environment variable to perform core dumping in case of
1343 Wed Sep 5 22:37:21 2001 Christopher Faylor <cgf@cygnus.com>
1345 * Makefile.in (dumper): Change logic for libbfd and libintl so that
1346 they will be found either in the build tree or the installed directory.
1347 * mkpasswd.c (enum_users): Add a comment as a password for NT.
1349 2001-09-03 Michael A Chase <mchase@ix.netcom.com>
1351 * mount.cc (mount_commands): Don't write /cygdrive/u mount points.
1353 2001-09-03 Michael A Chase <mchase@ix.netcom.com>
1355 * mount.cc (longopts): Add mount-commands to options list.
1356 (usage): Add mount-commands option.
1357 (mount_commands): New function. Write commands to recreate current
1360 Sat Sep 1 15:58:11 2001 Christopher Faylor <cgf@cygnus.com>
1362 * mount.cc (main): Eliminate excess arguments in printf.
1364 2001-08-30 Egor Duda <deo@logos-m.ru>
1366 * dumper.h: Update copyright notice.
1368 * dumper.cc: (dumper::print_core_section_list): New function.
1369 * dumper.h: (dumper::print_core_section_list): Declare it.
1370 * dumper.cc (print_section_name): New function.
1371 (dumper::collect_process_information): Augment debugging output.
1372 Stop debugee processing if it posts double exception.
1373 (usage): Fix typo in option name.
1375 Tue Aug 28 14:45:02 2001 Christopher Faylor <cgf@cygnus.com>
1377 * mount.cc (main): Issue correct warning for 'not enough arguments'.
1379 2001-08-14 Joerg Schaible <joerg.schaible@gmx.de>
1381 * cygpath.cc (main): Support -w for Windows (System) directories and
1382 return physical correct orthography for the Windows System dir.
1384 2001-07-14 Chris Genly <chgenly@alum.mit.edu>
1386 * regtool.cc (find_key): Handle keys with only one subkey.
1388 Wed Jun 27 22:46:10 2001 Christopher Faylor <cgf@cygnus.com>
1390 * regtool.cc (find_key): Revert previous change.
1392 Wed Jun 27 13:37:41 2001 Keith Starsmeare" <keith_starsmeare@yahoo.co.uk>
1394 * regtool.cc (find_key): Allow '/' as a synonym for '\\'.
1396 Fri Jun 15 00:49:21 2001 Christopher Faylor <cgf@cygnus.com>
1398 * mkpasswd.c (main): Output passwd file in binary mode so that there
1399 are no CRs in the file.
1400 * umount.cc (remove_all_user_mounts): Don't try to remove /cygdrive
1403 Tue May 1 10:50:48 2001 Christopher Faylor <cgf@cygnus.com>
1405 * mkpasswd.c (enum_users): Use /bin/bash as the default shell.
1408 Sat Apr 28 22:32:01 2001 Christopher Faylor <cgf@cygnus.com>
1410 * passwd.cc (ttymnam): New function.
1411 (main): Use ttynam() to report name of tty.
1413 2001-04-19 Egor Duda <deo@logos-m.ru>
1415 * dumper.cc (dumper::init_core_dump): Set architecture field in dump
1418 Mon Apr 16 15:08:00 2001 Corinna Vinschen <vinschen@redhat.com>
1420 * mkgroup.c: Add function pointers `netlocalgroupgetmembers' and
1422 (load_netapi): Load function pointers `netlocalgroupgetmembers'
1423 and `netgroupgetusers'.
1424 (enum_local_users): New function.
1425 (enum_local_groups): Call `enum_local_users' for each group if
1426 `print_users' is set.
1427 (enum_users): New function.
1428 (enum_groups): Call `enum_users' for each group if `print_users' is set.
1429 (usage): Add usage text for `-u/--users'.
1430 (longopts): Add option `--users'.
1431 (opts): Add option character `u'.
1432 (main): Set `print_users' according to option `-u/--users'.
1433 Call `enum_local_groups' and `enum_groups' with additional parameter
1436 2001-04-15 Michael A Chase <mchase@ix.netcom.com>
1438 * mount.cc (longopts): Add help to options list.
1439 (opts): Add 'h' to options string.
1440 * umount.cc (longopts): Add help to options list.
1441 (opts): Add 'h' to options string and change 'R' to 'A'.
1443 2001-04-13 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1445 * mkgroup.c (enum_groups): Use RID + offset specified an additional
1447 (usage): Add description of -o option.
1448 (longopts, opts): Add specifications of -o/--id-offset option.
1449 (main): Add -o option. Invoke enum_groups with specified offset.
1450 * mkpasswd.c (enum_users): Just like mkgroup.c.
1451 (usage, longopts, opts): Ditto.
1452 (main): Add -o option. Invoke enum_users with specified offset only
1453 against domain accounts.
1455 2001-04-11 Egor Duda <deo@logos-m.ru>
1457 * mkgroup.c (uni2ansi): Use native method to convert from Unicode
1458 to multi-byte strings.
1459 * mkpasswd.c (uni2ansi): Ditto.
1460 (enum_users): Pass buffer size when converting string.
1461 (enum_local_groups): Ditto.
1462 * mkgroup.c (enum_groups): Ditto.
1463 (enum_local_groups): Ditto.
1465 Mon Apr 2 22:41:33 2001 Christopher Faylor <cgf@cygnus.com>
1467 * mount.cc (main): Use getopt_long for parsing arguments.
1468 (usage): Reformat, show long and short options.
1469 * umount.cc (main): Ditto, all of the above.
1471 Mon Apr 2 10:58:26 2001 Christopher Faylor <cgf@cygnus.com>
1473 * mount.cc (show_mounts): Change format string to more closely resemble
1474 UNIX when displaying mount table.
1476 Sat Mar 17 21:46:06 2001 Christopher Faylor <cgf@cygnus.com>
1478 * kill.cc (forcekill): Use dwProcessId when opening a process, not the
1481 Mon Mar 5 18:50:00 2001 Corinna Vinschen <vinschen@redhat.com>
1483 * getfacl.c: Add copyright hint.
1487 Tue Jan 09 10:26:23 2001 Tony Sideris <tonys1110@home.com>
1489 * regtool.cc (cmd_list): Add new registry display options.
1490 (cmd_list): Add code to implement -p, -k, and -l options.
1492 * regtool.cc (Fail): Add call to LocalFree to free memory allocated by
1495 Wed Jan 10 09:16:57 2001 Christopher Faylor <cgf@cygnus.com>
1497 * regtool.cc (translate): Ensure that 'c' is initialized.
1498 (cmd_set): Ditto for rv.