]> sourceware.org Git - newlib-cygwin.git/blob - winsup/utils/ChangeLog
* cygcheck.cc (pretty_id): Don't let i become negative. Fix
[newlib-cygwin.git] / winsup / utils / ChangeLog
1 2004-10-18 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
2
3 * cygcheck.cc (pretty_id): Don't let i become negative. Fix
4 printf-format.
5
6 2004-10-17 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
7
8 * cygcheck.cc (pretty_id): Allocate space for ')' in uid and guid.
9
10 2004-10-17 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
11 Christopher Faylor <cgf@timesys.com>
12
13 * cygcheck.cc (pretty_id): Allocate space for trailing '\0' in uid and
14 guid.
15
16 2004-10-15 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
17 Christopher Faylor <cgf@timesys.com>
18
19 * cygcheck.cc (pretty_id): Don't exit on id error. Fix size
20 calculations.
21
22 2004-10-14 Christopher Faylor <cgf@timesys.com>
23 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
24
25 * cygcheck.cc (pretty_id): Correct column calculations. Abort if id is
26 acting funny.
27
28 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
29
30 * cygcheck.cc (add_path): Don't leak memory when path is already in
31 ``paths''.
32
33 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
34
35 * cygcheck.cc (dump_sysinfo): Warn about trailing (back)slash on mount
36 entries.
37
38 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
39
40 * cygcheck.cc (dump_sysinfo): Don't warn about empty path components,
41 just display ``.''.
42
43 2004-10-06 Corinna Vinschen <corinna@vinschen.de>
44
45 * strace.cc (_impure_ptr): Remove.
46
47 2004-10-06 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
48
49 * cygcheck.cc (dump_sysinfo): Warn about empty path components.
50
51 2004-10-04 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
52
53 * cygcheck.cc (pretty_id): Close pipe.
54
55 2004-09-23 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
56
57 * dump_setup.cc (dump_setup): Remove unneeded strlen when check_files
58 is not set.
59
60 2004-09-22 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
61 Corinna Vinschen <corinna@vinschen.de>
62
63 * dump_setup.cc (dump_setup): Avoid trailing spaces on package-list.
64
65 2004-09-15 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
66
67 * getfacl.c (main): Correct layout when nopt is set.
68
69 2004-07-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
70
71 * mkgroup.cc (netapibufferallocate,netgroupgetinfo): New function
72 pointers.
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
80
81 2004-06-15 Alan Modra <amodra@bigpond.net.au>
82
83 * dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
84 instead of _raw_size.
85 (dumper::write_core_dump): Likewise.
86 * parse_pe.cc (select_data_section): Likewise.
87
88 2004-05-29 John Paul Wallington <jpw@gnu.org>
89
90 * ssp.c (usage): Add missing linefeed.
91
92 2004-05-27 Christopher Faylor <cgf@alum.bu.edu>
93
94 * kill.cc (listsig): Fix "kill -l" segv. NSIG includes Signal 0, so we
95 need to avoid calling strtosigno with NSIG - 1.
96
97 2004-03-21 Christopher Faylor <cgf@redhat.com>
98
99 * cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.
100
101 2004-03-15 Christopher Faylor <cgf@redhat.com>
102
103 * cygpath.cc (usage): Don't issue helpful message if -i is used.
104 (from Igor Pechtchanski)
105
106 2004-03-13 Rob Siklos <rob2@siklos.ca>
107
108 * kill.cc (get_debug_priv): New function.
109 (forcekill): Call get_debug_priv before trying to kill process.
110
111 2004-02-24 Christopher Faylor <cgf@redhat.com>
112
113 * cygpath.cc (long_options): Add "mode" option.
114 (options): Ditto.
115 (usage): Report on new option.
116 (report_mode): New function.
117 (main): Implement -M option.
118
119 2004-02-20 Christopher Faylor <cgf@redhat.com>
120
121 * Makefile.in (build_dumper): Detect missing iconv library.
122
123 * cygpath.cc (dowin): Report on filename conversion errors.
124 (doit): Ditto.
125
126 * strace.cc (main): Use symbolic constant for _STRACE_ALL when setting
127 mask.
128
129 2004-02-14 Corinna Vinschen <corinna@vinschen.de>
130
131 * ssp.c (opts): Add leading '+' to force posixly correct behaviour.
132
133 2004-02-11 Corinna Vinschen <corinna@vinschen.de>
134
135 * strace.cc (opts): Add leading '+' to force posixly correct
136 behaviour.
137 (main): Revert POSIXLY_CORRECT manipulations.
138
139 2004-02-10 Christopher Faylor <cgf@redhat.com>
140
141 * strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.
142
143 2004-02-10 Christopher Faylor <cgf@redhat.com>
144
145 * strace.cc: Update copyrights.
146 * cygcheck.cc: Update copyrights.
147
148 2004-02-10 Christopher Faylor <cgf@redhat.com>
149
150 * strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
151 * cygcheck.cc (main): Ditto.
152
153 2004-01-23 Christopher Faylor <cgf@redhat.com>
154
155 * cygcheck.cc (pretty_id): Make more robust in absence of id.exe.
156
157 2004-01-22 Corinna Vinschen <corinna@vinschen.de>
158
159 * cygpath.cc (dowin): Revert accidental checkin from November.
160
161 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
162
163 * mkgroup.c (main): Print "root" group with local admins group sid
164 and gid 0.
165
166 2003-11-19 Corinna Vinschen <corinna@vinschen.de>
167
168 * Makefile.in: Add rules to build ipcrm and ipcs.
169 * ipcrm.c: New file.
170 * ipcs.c: New file.
171
172 2003-11-14 Corinna Vinschen <corinna@vinschen.de>
173
174 * mkgroup.c: Avoid compiler warnings throughout.
175 * mkpasswd.c: Ditto.
176 * passwd.c: Ditto.
177
178 2003-11-07 Mark Blackburn <marklist@fangorn.ca>
179
180 * cygpath.cc (main): Allow multiple pathnames on command line.
181
182 2003-11-04 Corinna Vinschen <corinna@vinschen.de>
183
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.
188
189 2003-11-04 Corinna Vinschen <corinna@vinschen.de>
190
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.
194 (opts): Ditto.
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
198 privileges.
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.
204
205 2003-10-17 Christopher Faylor <cgf@redhat.com>
206
207 * cygcheck.cc (pretty_id): Don't exec if `id' program is not found.
208
209 2003-09-20 Christopher Faylor <cgf@redhat.com>
210
211 * kill.cc (main): Allow negative pids (indicates process groups).
212
213 2003-09-17 Christopher Faylor <cgf@redhat.com>
214
215 * parse_pe.cc (exclusion::sort_and_check): Make error message a little
216 more explicit and ignore (hopefully) harmless region overlap.
217
218 2003-09-13 Christopher Faylor <cgf@redhat.com>
219
220 * kill.c (forcekill): Wait for process to terminate even if
221 TerminateProcess says it failed.
222
223 2003-09-11 Christopher Faylor <cgf@redhat.com>
224
225 * Makefile.in: Tweak mingw libz.a detection to make it more reliably
226 detect when libz.a is not available.
227
228 2003-09-11 Igor Pechtchanski <pechtcha@cs.nyu.edu>
229
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().
235
236 2003-09-11 Corinna Vinschen <corinna@vinschen.de>
237
238 * getfacl (main): Remove extern declaration of optind.
239 * setfacl (main): Remove extern declaration of optarg and optind.
240
241 2003-09-10 Christopher Faylor <cgf@redhat.com>
242
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.
247
248 2003-09-10 Christopher Faylor <cgf@redhat.com>
249
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.
253
254 2003-09-10 Christopher Faylor <cgf@redhat.com>
255
256 * Makefile.in: More fixups to adjust for the fact that mingw_getopt.o
257 is no longer built.
258
259 2003-09-10 Christopher Faylor <cgf@redhat.com>
260
261 * Makefile.in: Remove references to getopt since it is now part of
262 mingwex.
263
264 2003-09-08 Christopher Faylor <cgf@redhat.com>
265
266 * Makefile.in: Rename libz.h -> zlib.h.
267
268 2003-09-07 Christopher Faylor <cgf@redhat.com>
269
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
277 the handle.
278 (package_list): Ditto.
279 (package_find): Ditto.
280
281 2003-09-05 Igor Pechtchanski <pechtcha@cs.nyu.edu>
282
283 * dump_setup.cc (check_package_files): Don't fail on empty package.
284
285 2003-09-01 AJ Reins <reinsaj@yahoo.com>
286
287 * mount.cc (mount_commands): Ensure user mode is actually user mode and
288 not the default system mode.
289
290 2003-08-31 Christopher Faylor <cgf@redhat.com>
291
292 * kill.cc (forcekill): Silence some compiler warnings.
293
294 2003-08-31 Christopher Faylor <cgf@redhat.com>
295
296 * Makefile.in: Oops. Put the '...' in the right place.
297
298 2003-08-31 Christopher Faylor <cgf@redhat.com>
299
300 * Makefile.in: Display "..." when not-verbose.
301
302 * kill.cc (forcekill): Default to entered pid when pinfo fails. Issue
303 some warnings when things don't work.
304
305 2003-08-17 David Rothenberger <daveroth@acm.org>
306
307 * dump_setup.cc (check_package_files): Strip leading / and ./ from
308 package file names.
309
310 2003-08-16 David Rothenberger <daveroth@acm.org>
311
312 * dump_setup.cc (package_find): Don't stop searching on missing
313 file list.
314 (package_list): Ditto.
315
316 2003-08-16 Igor Pechtchanski <pechtcha@cs.nyu.edu>
317
318 * dump_setup.cc: (package_list): Make output terse unless
319 verbose requested. Fix formatting.
320 (package_find): Ditto.
321
322 2003-08-15 Corinna Vinschen <corinna@vinschen.de>
323
324 * cygcheck.cc (main): Fix some formatting and help text printing.
325
326 2003-08-15 Igor Pechtchanski <pechtcha@cs.nyu.edu>
327
328 * cygcheck.cc (find_package,list_package): New global
329 variables.
330 (usage): Add "--find-package" and "--list-package" options,
331 reformat output.
332 (longopts, opts): Add "--find-package" and "--list-package"
333 options.
334 (main): Process the "--find-package" and "--list-package"
335 flags. Add new semantic checks. Add calls to find_package()
336 and list_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
345 get_packages().
346 (package_list, package_find): New global functions.
347
348 2003-08-15 Corinna Vinschen <corinna@vinschen.de>
349
350 * regtool.cc (usage): Add missing linefeed. Move example to --help
351 text. Fix forward slash description.
352
353 2003-08-13 Igor Pechtchanski <pechtcha@cs.nyu.edu>
354
355 * dump_setup.cc (check_package_files): Fix extra '/' in filename.
356 Resize command buffer. Fix buffer overflow bug.
357
358 2003-08-09 Igor Pechtchanski <pechtcha@cs.nyu.edu>
359 Christopher Faylor <cgf@redhat.com>
360
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.
363
364 2003-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
365 Christopher Faylor <cgf@redhat.com>
366
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
373 package.
374
375 2003-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
376 Christopher Faylor <cgf@redhat.com>
377
378 * dump_setup.cc (dump_setup): Remove redundant null check. Add
379 informative message if package info not found.
380
381 2003-07-26 Christopher Faylor <cgf@redhat.com>
382
383 * mount.cc (do_mount): Issue warning when using managed mount option on
384 non-empty directory.
385
386 2003-07-25 Christopher Faylor <cgf@redhat.com>
387
388 * configure.in: Use 'install-sh -c'.
389 * configure: Regenerate.
390
391 2003-07-25 Christopher Faylor <cgf@redhat.com>
392
393 * configure.in: Always use install-sh.
394 * configure: Regenerate.
395
396 2003-07-03 Christopher Faylor <cgf@redhat.com>
397
398 * mount.cc (struct opt): Remove posix option.
399
400 2003-07-03 Christopher Faylor <cgf@redhat.com>
401
402 * mount.cc (longopts): Add long "options" keyword.
403 (opts): Add -o option.
404 (usage): Display -o option.
405 (struct opt): New.
406 (concat3): New function.
407 (main): Handle -o flag.
408
409 2003-06-12 Christopher Faylor <cgf@redhat.com>
410
411 * cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.
412
413 2003-06-12 Christopher Faylor <cgf@redhat.com>
414
415 * cygpath.cc: Throughout, always return error when GetShortPathName
416 returns 0.
417
418 2003-04-26 Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
419
420 * mkpasswd.c (usage) Remove extra newline from description output.
421
422 2003-04-26 Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
423
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.
438
439 2003-04-10 Pierre Humblet <pierre.humblet@ieee.org>
440
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.
451
452 2003-03-24 Christopher Faylor <cgf@redhat.com>
453
454 * cygcheck.cc (dump_sysinfo): Ensure that CYGWIN environment variable
455 is correctly set.
456
457 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
458
459 * getfacl.c (username): Fix ambiguous printf calls.
460 (groupname): Ditto.
461 (main): Ditto.
462
463 2003-03-04 Christopher Faylor <cgf@redhat.com>
464
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.
471
472 2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>
473
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
478 "all".
479
480 2003-02-28 Christopher Faylor <cgf@redhat.com>
481
482 * Makefile.in (cygcheck.o): Fix so that actual mingw include files are
483 used.
484 * cygcheck.cc (find_on_path): Translate from cygwin path when qualified
485 path name found.
486 (pretty_id): New function. Dump output of id command.
487 (dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.
488
489 2003-02-12 Christopher Faylor <cgf@redhat.com>
490
491 * cygpath.cc (doit): Allocate more space for non-path filename.
492
493 2003-02-07 Christopher Faylor <cgf@redhat.com>
494
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.
498
499 2003-02-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
500
501 * dump_setup.cc (dump_setup): Compute the longest package name
502 and align columns properly.
503
504 2003-02-06 Christopher Faylor <cgf@redhat.com>
505
506 * cygcheck.cc (common_apps): Add some more apps.
507 * path.cc (get_cygdrive): Correctly set system flag.
508
509 2003-01-22 Corinna Vinschen <corinna@vinschen.de>
510
511 * Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.
512 (MINGW_LDFLAGS): Remove in favor of definition from Makefile.common.
513
514 2003-01-15 Corinna Vinschen <corinna@vinschen.de>
515
516 * mkgroup.c: Fix copyright date.
517 * mkpasswd.c: Ditto.
518 * setfacl.c: Ditto.
519
520 2003-01-09 Pierre Humblet <pierre.humblet@ieee.org>
521
522 * setfacl.c (usage): Remove double ":" for mask and other.
523
524 2003-01-07 Pierre Humblet <pierre.humblet@ieee.org>
525
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
530 on Win95/98/ME.
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.
537
538 2002-12-14 Pierre Humblet <pierre.humblet@ieee.org>
539
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.
543
544 2002-11-25 Corinna Vinschen <corinna@vinschen.de>
545
546 * mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.
547
548 2002-11-24 Corinna Vinschen <corinna@vinschen.de>
549
550 * setfacl.c (getperm): Set only `other' permission bits.
551 (getaclentry): Set a_id to -1 by default.
552
553 2002-11-24 Corinna Vinschen <corinna@vinschen.de>
554
555 * getfacl.c (permstr): Use `other' permission bits for requesting
556 ace permissions.
557
558 2002-11-08 Corinna Vinschen <corinna@vinschen.de>
559
560 * setfacl.c (usage): Add missing LF.
561
562 2002-10-30 Christopher Faylor <cgf@redhat.com>
563
564 * cygpath.cc (get_long_path_name_w32impl): Define similarly to
565 GetLongPathName.
566 (get_long_name): Correctly prototype GetLongPathName.
567 (get_long_paths): Implement using get_long_name to cut down on code
568 duplication.
569 (doit): Do various things to make path output work predictably.
570
571 2002-10-19 Christopher Faylor <cgf@redhat.com>
572
573 * mount.cc (usage): Correctly report default mode.
574 * strace.cc (main): Use strtoul as appropriate.
575
576 2002-09-29 Christopher Faylor <cgf@redhat.com>
577
578 * cygpath.cc (close_arg): Remove unused static.
579 * mkgroup.c (enum_local_users): Avoid compiler warning.
580 (enum_users): Ditto.
581 * mkpasswd.c: Ditto throughout.
582 * ssp.c: Ditto throughout.
583
584 2002-09-18 Christopher Faylor <cgf@redhat.com>
585
586 * cygcheck.cc: Include sys/time.h rather than time.h to avoid a
587 compiler error.
588
589 2002-09-17 Christopher Faylor <cgf@redhat.com>
590
591 * cygcheck.cc: Reorder includes to avoid compiler error.
592
593 2002-09-15 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
594
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.
608
609 2002-09-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
610
611 * cygpath.cc (options) New global variable.
612 (main) Make short options global for easier change.
613 (print_version) Add a missing newline.
614
615 2002-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
616
617 * regtool.cc (find_key): Add support for custom key separator.
618 (usage): Document it.
619
620 2002-08-02 Corinna Vinschen <corinna@vinschen.de>
621
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".
625
626 2002-07-06 Christopher Faylor <cgf@redhat.com>
627
628 * configure.in: Check for libiconv.a.
629 * configure: Regenerate.
630 * Makefile.in: Add libiconv.a to libraries required for dumper.exe.
631
632 2002-07-06 Christopher Faylor <cgf@redhat.com>
633
634 * Makefile.in: Use MINGW stuff from Makefile.common.
635
636 2002-07-01 Corinna Vinschen <corinna@vinschen.de>
637
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
641 from advapi32.dll.
642
643 2002-07-01 Christopher Faylor <cgf@redhat.com>
644
645 * mount.cc (main): Ensure that mount_already_exists() also gets default
646 flag that is passed to do_mount.
647
648 2002-06-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
649
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.
655
656 2002-06-18 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
657
658 * cygpath.cc (usage): Clean up usage output.
659 (dowin): Correct output of -t mixed for -ADHPSW options.
660
661 2002-06-14 Corinna Vinschen <corinna@vinschen.de>
662
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.
670
671 2002-06-14 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
672
673 * passwd.c (GetPW): Handle case of user-edited /etc/passwd
674 with cygwin_internal (CW_EXTRACT_DOMAIN_AND_USER, ...).
675
676 2002-06-09 Christopher Faylor <cgf@redhat.com>
677
678 * path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
679 (getmntent): Ditto.
680
681 2002-06-09 Christopher Faylor <cgf@redhat.com>
682
683 * mount.cc (main): Use default system/user flag for cygdrive stuff,
684 too.
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.
688
689 2002-06-08 Christopher Faylor <cgf@redhat.com>
690
691 * mount.cc (opts): Remove '-i' option.
692 (usage): Ditto.
693 (main): Ditto.
694 (longopts): Remove --import-old-mounts option.
695
696 2002-06-07 David Peterson <chief@mail.idrive.com>
697 Christopher Faylor <cgf@redhat.com>
698
699 * cygpath.cc: Add option to output windows paths in different formats:
700 "dos" and "mixed".
701 (main): Process options.
702 (doit): Check new options flags.
703
704 2002-06-06 Egor Duda <deo@logos-m.ru>
705
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.
710
711 2002-06-06 Christopher Faylor <cgf@redhat.com>
712
713 * strace.cc (main): Make toggle a local variable.
714
715 2002-06-07 Conrad Scott <conrad.scott@dsl.pipex.com>
716
717 * strace.cc (toggle): New global variable.
718 (error): Use exit instead of ExitProcess so that stdio buffers get
719 flushed.
720 (create_child): Remove command line error checking.
721 (dostrace): Ditto.
722 (dotoggle): New function.
723 (usage): Add entry for new option -T|--toggle. Alphabetize.
724 (longopts): Add new option -T|--toggle.
725 (opts): Ditto.
726 (main): Handle new -T|--toggle option. Move all command line checking
727 here from other functions.
728 * utils.sgml: Update section for strace.
729
730 2002-06-05 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
731
732 * strace.cc (version): New global variable.
733 (usage): Accommodate stdout output.
734 (print_version): New function.
735
736 2002-06-03 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
737
738 * ssp.c (version): New global variable.
739 (longopts): Ditto.
740 (opts): Ditto.
741 (run_program): Correct cmd_line typos to cmdline.
742 (usage): New function. Standardize usage output. Add ssp.txt to
743 --help output.
744 (print_version): New function.
745 (main): Accommodate getopt.
746
747 2002-06-03 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
748
749 * umount.cc (version): New global variable.
750 (longopts): Accommodate new --version option.
751 (opts): Ditto.
752 (usage): Standardize usage output.
753 (print_version): New function.
754 (main): Accommodate --help, --version options.
755
756 2002-06-02 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
757
758 * regtool.cc (prog_name): New global variable.
759 (longopts): Ditto.
760 (opts): Ditto.
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).
765
766 2002-06-02 Christopher Faylor <cgf@redhat.com>
767
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)
772
773 2002-05-30 Christopher Faylor <cgf@redhat.com>
774
775 * mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.
776
777 2002-05-29 Christopher Faylor <cgf@redhat.com>
778
779 * mount.cc (main): Make -b the default.
780
781 2002-05-29 Corinna Vinschen <corinna@vinschen.de>
782
783 * ps.cc (main): Use uid or uid32 member of struct external_pinfo
784 dependent of the value of the struct's version member.
785
786 2002-05-29 Corinna Vinschen <corinna@vinschen.de>
787
788 * ps.cc (main): Change print format for uid to unsigned. Use uid32
789 member of struct external_pinfo instead of uid.
790
791 2002-05-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
792
793 * passwd.c (prog_name): New global variable.
794 (longopts): Ditto.
795 (opts): Ditto.
796 (usage): Standardize output. Accommodate new options.
797 (print_version): New function.
798 (main): Accommodate longopts and new --help, --version options.
799
800 2002-05-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
801
802 * ps.cc (usage): Fix typo.
803
804 2002-05-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
805
806 * ps.cc (prog_name): New global variable.
807 (longopts): Ditto.
808 (opts): Ditto.
809 (usage): New function.
810 (print_version): New function.
811 (main): Accommodate longopts and new --help, --version options.
812
813 2002-05-26 Christopher Faylor <cgf@redhat.com>
814
815 * strace.cc (attach_process): Don't tell process to start stracing
816 here.
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.
820
821 2002-05-23 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
822
823 * getfacl.c (usage): Standardize usage output. Change return type to
824 static void.
825 (print_version): New function.
826 (longopts): Added longopts for all options.
827 (main): Accommodate new help and version options.
828
829 2002-05-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
830
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.
835 (opts): Ditto.
836 (main): Ditto.
837
838 2002-05-22 Corinna Vinschen <corinna@vinschen.de>
839
840 * cygpath.cc (usage): Change usage output slightly.
841
842 2002-05-20 Joerg Schaible <joerg.schaible@gmx.de>
843
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
853 higher).
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.
857
858 2002-05-18 Christopher Faylor <cgf@redhat.com>
859
860 * strace.cc (add_child): Use calloc since new requires working
861 libstdc++.a.
862 (remove_child): Ditto for delete/free.
863
864 2002-05-15 Mark Blackburn <marklist@fangorn.ca>
865
866 * cygpath.cc (get_short_paths): Fix more error checking.
867 (get_short_name): Ditto.
868
869 2002-05-14 Joerg Schaible <joerg.schaible@gmx.de>
870
871 * cygpath.cc (main): Add option H to show the Windows' profiles
872 directory. Support short names for options DPSW. Clean up
873 copied code lines.
874 * utils.sgml: Update cygpath section for H option and s support.
875
876 2002-05-14 Mark Blackburn <marklist@fangorn.ca>
877
878 * cygpath.cc (get_short_paths): Fix error checking.
879
880 2002-05-13 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
881
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.
886 (opts): Ditto.
887 (main): Ditto.
888
889 2002-05-13 Christopher Faylor <cgf@redhat.com>
890
891 * kill.cc (listsig): Display numeric id when given symbolic input.
892
893 2002-05-13 Christopher Faylor <cgf@redhat.com>
894
895 * kill.cc (usage): Show new options. Allow specification of output
896 stream.
897 (main): Implement 'h' option.
898
899 2002-05-13 Christopher Faylor <cgf@redhat.com>
900
901 * Makefile.in (kill.exe): Add as a specific target.
902 * kill.cc (longopts): New.
903 (opts): Ditto.
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.
909
910 * mount.cc (longopts): Make static.
911 (opts): Ditto.
912
913 2002-05-12 Christopher Faylor <cgf@redhat.com>
914
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.
919 (opts): Ditto.
920 (usage): Ditto. Indicate that system mount is now the default.
921 (main): Accommodate no-executable option. Make system mount the
922 default.
923 * umount.cc (usage): Indicate that system umount is now the default.
924 (main): Make system umount the default.
925
926 2002-05-07 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
927
928 * dumper.cc (usage): Standardize usage output. Generalize to allow use
929 for help.
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
933 options.
934
935 2002-03-29 Corinna Vinschen <corinna@vinschen.de>
936
937 * mkgroup.c (main): Change call to exit() to a return statement.
938 * mkpasswd.c (main): Ditto.
939
940 2002-03-27 Joshua Daniel Franklin joshuadfranklin@yahoo.com
941
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
948 changes.
949
950 2002-03-19 Christopher Faylor <cgf@redhat.com>
951
952 * mkgroup.c (usage): Use one just fprintf + string concatenation for
953 output message.
954 (print_version): Add void to function type and update copyright.
955
956 2002-03-16 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
957
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.
965
966 2002-03-15 Corinna Vinschen <corinna@vinschen.de>
967
968 * mkgroup.c (main): When generating group 513, check for computer's
969 primary domain instead of current user's domain.
970
971 2002-03-14 Corinna Vinschen <corinna@vinschen.de>
972
973 * mkgroup.c (main): When generating group 513, check for domain SID
974 if computer name isn't mapped to a SID.
975
976 2001-03-11 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
977
978 * kill.cc (usage): Move to top of file.
979 (getsig): Ditto.
980 (forcekill): Ditto.
981
982 2002-03-06 Christopher Faylor <cgf@redhat.com>
983
984 * cygcheck.cc: Reformat.
985
986 2002-03-06 Christopher Faylor <cgf@redhat.com>
987
988 * cygcheck.cc (longopts): Use correct short option for --version.
989
990 2002-03-06 Christopher Faylor <cgf@redhat.com>
991
992 * cygpath.cc: Reformat.
993
994 2002-02-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
995
996 * cygpath.cc (print_version): New function.
997 (main): Accommodate new version function. Initialize 'o' to prevent
998 warning.
999
1000 2002-02-27 Christopher Faylor <cgf@redhat.com>
1001
1002 * cygcheck.cc (main): Eliminate non-GNU formatting glitch.
1003
1004 2002-02-27 Christopher Faylor <cgf@redhat.com>
1005
1006 * ssp.c (help_desk): Fix compiler warning.
1007
1008 2002-02-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
1009 Christopher Faylor <cgf@redhat.com>
1010
1011 Change appropriate globals to statics throughout.
1012 * cygcheck.cc (usage): Simplify usage output. Generalize to allow use
1013 for help.
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.
1019
1020 002-02-19 Christopher Faylor <cgf@redhat.com>
1021
1022 * Makefile.in (CXXFLAGS): Add override so that HAVE_DECL_GETOPT is
1023 defined.
1024 (libbfd): Use -B rather than -L so that bfd from build directory is
1025 correctly found.
1026 (libintl): Ditto.
1027
1028 2002-02-15 Christopher Faylor <cgf@redhat.com>
1029
1030 * mount.cc (usage): Fix typo in output.
1031
1032 2002-02-14 Christopher Faylor <cgf@redhat.com>
1033
1034 * strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
1035
1036 2002-01-31 Corinna Vinschen <corinna@vinschen.de>
1037
1038 * mkpasswd.c (main): Set default home path for 9x/Me if --path-to-home
1039 isn't given.
1040
1041 2002-01-30 Corinna Vinschen <corinna@vinschen.de>
1042
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
1046 incorrect.
1047 (main): Call ChangePW() with additional parameter.
1048
1049 2002-01-29 Christopher Faylor <cgf@redhat.com>
1050
1051 * dump_setup.cc (parse_filename): Don't consider '_' part of the
1052 version.
1053
1054 2002-01-28 Christopher Faylor <cgf@redhat.com>
1055
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.
1061
1062 2002-01-28 Christopher Faylor <cgf@redhat.com>
1063
1064 * cygcheck.cc: Use specific cygwin includes, as required.
1065
1066 2002-01-28 Christopher Faylor <cgf@redhat.com>
1067
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.
1075 (opts): Ditto.
1076 (main): Ditto. Handle -p option.
1077
1078 2002-01-21 Christopher Faylor <cgf@redhat.com>
1079
1080 * Makefile.in (CXXFLAGS): Ensure that important settings are preserved
1081 even when overriden by command line.
1082
1083 2002-01-21 Christopher Faylor <cgf@redhat.com>
1084
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.
1091
1092 2002-01-21 DJ Delorie <dj@redhat.com>
1093
1094 * Makefile.in: Use CXX instead of CC to compile C++ sources.
1095
1096 2002-01-17 DJ Delorie <dj@redhat.com>
1097
1098 * cygcheck.cc (already_did): Avoid default constructors, which may
1099 require exception support.
1100
1101 2001-01-16 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
1102
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.
1107
1108 2002-01-15 Joerg Schaible <joerg.schaible@gmx.de>
1109
1110 * cygpath.cc (doit): Empty file ignored using option -i.
1111
1112 2002-01-15 Mark Bradshaw <bradshaw@crosswalk.com>
1113
1114 * mkpasswd.c (print_win_error): Add a new function.
1115 (enum_users): Use print_win_error.
1116 (enum_local_groups): Ditto.
1117 (main): Ditto.
1118
1119 2001-12-26 Jonathan Kamens <jik@curl.com>
1120
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.
1125
1126 Fri Dec 14 14:04:37 2001 Jason Tishler <jason@tishler.net>
1127
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.
1133
1134 Fri Dec 14 12:10:39 2001 Jason Tishler <jason@tishler.net>
1135
1136 * mkpasswd.c (opts): Add indication that '-p' option requires an
1137 argument.
1138
1139 2001-12-11 Christopher Faylor <cgf@redhat.com>
1140
1141 * Makefile.in: Add define to CXXFLAGS.
1142
1143 2001-12-03 Christopher Faylor <cgf@redhat.com>
1144
1145 * cygcheck.cc (usage): Add -c description.
1146 * cygpath.cc (usage): Alphabetize options.
1147 * strace.cc (usage): Ditto.
1148
1149 2001-11-21 Christopher Faylor <cgf@redhat.com>
1150
1151 * path.cc (cygpath): Don't consider cygdrive stuff when trying to derive
1152 native paths.
1153
1154 2001-11-20 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1155
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.
1164
1165 2001-11-15 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
1166
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
1180 search through.
1181
1182 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1183
1184 * cygcheck.cc (dump_sysinfo): Redefine output format slightly.
1185 Print correct build number on 9x/ME systems.
1186
1187 2001-11-12 Christopher Faylor <cgf@redhat.com>
1188
1189 * cygcheck.cc (main): Slight formatting tweak.
1190
1191 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1192
1193 * cygcheck.cc (dump_sysinfo): Add some more details.
1194
1195 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1196
1197 * cygcheck.cc (dump_sysinfo): Print more detailed OS information string
1198 using OSVERSIONINFOEX information.
1199
1200 2001-11-11 Christopher Faylor <cgf@redhat.com>
1201
1202 * path.h: New file.
1203
1204 2001-11-11 Christopher Faylor <cgf@redhat.com>
1205
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
1209 use.
1210 * path.cc (read_mounts): Open registry with read-only access.
1211
1212 2001-11-11 Christopher Faylor <cgf@redhat.com>
1213
1214 * cygcheck.cc (main): Display package info when '-s' is specified.
1215 * dump_setup.cc (dump_setup): Change header. Remove typo. Always sort
1216 packages output.
1217
1218 2001-11-11 Christopher Faylor <cgf@redhat.com>
1219
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
1223 installed base.
1224 * path.cc (cygpath): Read mount table if not loaded.
1225
1226 2001-11-10 Christopher Faylor <cgf@redhat.com>
1227
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
1232 output.
1233 (dump_sysinfo): Calculate max names of posix and ms-dos paths for
1234 prettier output.
1235
1236 2001-11-09 Corinna Vinschen <corinna@vinschen.de>
1237
1238 * cygcheck.cc (dump_sysinfo): Print more detailed OS information string.
1239
1240 2001-11-04 Corinna Vinschen <corinna@vinschen.de>
1241
1242 * getfacl.c (username): New function.
1243 (groupname): Ditto.
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.
1253
1254 2001-11-04 Egor Duda <deo@logos-m.ru>
1255
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.
1260
1261 2001-10-24 Christopher Faylor <cgf@redhat.com>
1262
1263 * Makefile.in: Remove EXEEXT consideration. We always need .exe
1264 extensions.
1265
1266 2001-10-20 Corinna Vinschen <corinna@vinschen.de>
1267
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().
1276
1277 2001-10-15 Christopher Faylor <cgf@redhat.com>
1278
1279 * mkpasswd.cc (enum_users): Shorten "unused" passwd field.
1280
1281 2001-10-13 Christopher Faylor <cgf@redhat.com>
1282
1283 * Makefile.in: Allow stdinc searching for dumper.
1284
1285 Tue Oct 9 21:59:00 2001 Christopher Faylor <cgf@cygnus.com>
1286
1287 * Makefile.in (MINGW_INCLUDES): Accommodate changes in Makefile.common.
1288
1289 Sun Oct 7 23:06:39 2001 Christopher Faylor <cgf@cygnus.com>
1290
1291 * kill.cc (main): Set exit value to 1 on invalid pid. Perform minor
1292 cleanup.
1293
1294 Fri Sep 21 20:40:30 2001 Christopher Faylor <cgf@cygnus.com>
1295
1296 * Makefile.in (mingw_getopt.o): Ensure that newlib include directories
1297 are not searched.
1298
1299 Thu Sep 20 21:00:20 2001 Christopher Faylor <cgf@cygnus.com>
1300
1301 * Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.
1302
1303 Wed Sep 19 12:22:08 2001 Christopher Faylor <cgf@cygnus.com>
1304
1305 * Makefile.in: Filter newlib includes from mingw compilation.
1306
1307 2001-09-14 Egor Duda <deo@logos-m.ru>
1308
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.
1315
1316 2001-09-13 Egor Duda <deo@logos-m.ru>
1317
1318 * dumper.cc (main): Properly recognize negative pids (used by w9x).
1319
1320 2001-09-09 Egor Duda <deo@logos-m.ru>
1321
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
1325 program crash.
1326 (usage): Ditto.
1327
1328 Wed Sep 5 22:37:21 2001 Christopher Faylor <cgf@cygnus.com>
1329
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.
1333
1334 2001-09-03 Michael A Chase <mchase@ix.netcom.com>
1335
1336 * mount.cc (mount_commands): Don't write /cygdrive/u mount points.
1337
1338 2001-09-03 Michael A Chase <mchase@ix.netcom.com>
1339
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
1343 mounts.
1344
1345 Sat Sep 1 15:58:11 2001 Christopher Faylor <cgf@cygnus.com>
1346
1347 * mount.cc (main): Eliminate excess arguments in printf.
1348
1349 2001-08-30 Egor Duda <deo@logos-m.ru>
1350
1351 * dumper.h: Update copyright notice.
1352 * dumper.cc: Ditto.
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.
1359
1360 Tue Aug 28 14:45:02 2001 Christopher Faylor <cgf@cygnus.com>
1361
1362 * mount.cc (main): Issue correct warning for 'not enough arguments'.
1363
1364 2001-08-14 Joerg Schaible <joerg.schaible@gmx.de>
1365
1366 * cygpath.cc (main): Support -w for Windows (System) directories and
1367 return physical correct orthography for the Windows System dir.
1368
1369 2001-07-14 Chris Genly <chgenly@alum.mit.edu>
1370
1371 * regtool.cc (find_key): Handle keys with only one subkey.
1372
1373 Wed Jun 27 22:46:10 2001 Christopher Faylor <cgf@cygnus.com>
1374
1375 * regtool.cc (find_key): Revert previous change.
1376
1377 Wed Jun 27 13:37:41 2001 Keith Starsmeare" <keith_starsmeare@yahoo.co.uk>
1378
1379 * regtool.cc (find_key): Allow '/' as a synonym for '\\'.
1380
1381 Fri Jun 15 00:49:21 2001 Christopher Faylor <cgf@cygnus.com>
1382
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
1386 mounts.
1387
1388 Tue May 1 10:50:48 2001 Christopher Faylor <cgf@cygnus.com>
1389
1390 * mkpasswd.c (enum_users): Use /bin/bash as the default shell.
1391 (main): Ditto.
1392
1393 Sat Apr 28 22:32:01 2001 Christopher Faylor <cgf@cygnus.com>
1394
1395 * passwd.cc (ttymnam): New function.
1396 (main): Use ttynam() to report name of tty.
1397
1398 2001-04-19 Egor Duda <deo@logos-m.ru>
1399
1400 * dumper.cc (dumper::init_core_dump): Set architecture field in dump
1401 header.
1402
1403 Mon Apr 16 15:08:00 2001 Corinna Vinschen <vinschen@redhat.com>
1404
1405 * mkgroup.c: Add function pointers `netlocalgroupgetmembers' and
1406 `netgroupgetusers'.
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
1419 `print_users'.
1420
1421 2001-04-15 Michael A Chase <mchase@ix.netcom.com>
1422
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'.
1427
1428 2001-04-13 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1429
1430 * mkgroup.c (enum_groups): Use RID + offset specified an additional
1431 argument as ID.
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.
1439
1440 2001-04-11 Egor Duda <deo@logos-m.ru>
1441
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.
1449
1450 Mon Apr 2 22:41:33 2001 Christopher Faylor <cgf@cygnus.com>
1451
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.
1455
1456 Mon Apr 2 10:58:26 2001 Christopher Faylor <cgf@cygnus.com>
1457
1458 * mount.cc (show_mounts): Change format string to more closely resemble
1459 UNIX when displaying mount table.
1460
1461 Sat Mar 17 21:46:06 2001 Christopher Faylor <cgf@cygnus.com>
1462
1463 * kill.cc (forcekill): Use dwProcessId when opening a process, not the
1464 Cygwin pid.
1465
1466 Mon Mar 5 18:50:00 2001 Corinna Vinschen <vinschen@redhat.com>
1467
1468 * getfacl.c: Add copyright hint.
1469 * setfacl.c: Ditto.
1470 * strace.cc: Ditto.
1471
1472 Tue Jan 09 10:26:23 2001 Tony Sideris <tonys1110@home.com>
1473
1474 * regtool.cc (cmd_list): Add new registry display options.
1475 (cmd_list): Add code to implement -p, -k, and -l options.
1476
1477 * regtool.cc (Fail): Add call to LocalFree to free memory allocated by
1478 FormatMessage.
1479
1480 Wed Jan 10 09:16:57 2001 Christopher Faylor <cgf@cygnus.com>
1481
1482 * regtool.cc (translate): Ensure that 'c' is initialized.
1483 (cmd_set): Ditto for rv.
This page took 0.106524 seconds and 5 git commands to generate.