]> sourceware.org Git - newlib-cygwin.git/blob - winsup/utils/ChangeLog
* cygcheck.cc (dump_sysinfo): Add leading newline before legend for
[newlib-cygwin.git] / winsup / utils / ChangeLog
1 2004-10-25 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
2
3 * cygcheck.cc (dump_sysinfo): Add leading newline before legend for
4 drive-list.
5
6 2004-10-22 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
7
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.
10
11 2004-10-20 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
12
13 * cygcheck.cc (dump_sysinfo): Allow for larger drives in drive-list.
14 Change ``Used'' to ``Free'' in helptext-title for drive-list.
15
16 2004-10-18 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
17
18 * cygcheck.cc (pretty_id): Don't let i become negative. Fix
19 printf-format.
20
21 2004-10-17 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
22
23 * cygcheck.cc (pretty_id): Allocate space for ')' in uid and guid.
24
25 2004-10-17 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
26 Christopher Faylor <cgf@timesys.com>
27
28 * cygcheck.cc (pretty_id): Allocate space for trailing '\0' in uid and
29 guid.
30
31 2004-10-15 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
32 Christopher Faylor <cgf@timesys.com>
33
34 * cygcheck.cc (pretty_id): Don't exit on id error. Fix size
35 calculations.
36
37 2004-10-14 Christopher Faylor <cgf@timesys.com>
38 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
39
40 * cygcheck.cc (pretty_id): Correct column calculations. Abort if id is
41 acting funny.
42
43 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
44
45 * cygcheck.cc (add_path): Don't leak memory when path is already in
46 ``paths''.
47
48 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
49
50 * cygcheck.cc (dump_sysinfo): Warn about trailing (back)slash on mount
51 entries.
52
53 2004-10-10 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
54
55 * cygcheck.cc (dump_sysinfo): Don't warn about empty path components,
56 just display ``.''.
57
58 2004-10-06 Corinna Vinschen <corinna@vinschen.de>
59
60 * strace.cc (_impure_ptr): Remove.
61
62 2004-10-06 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
63
64 * cygcheck.cc (dump_sysinfo): Warn about empty path components.
65
66 2004-10-04 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
67
68 * cygcheck.cc (pretty_id): Close pipe.
69
70 2004-09-23 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
71
72 * dump_setup.cc (dump_setup): Remove unneeded strlen when check_files
73 is not set.
74
75 2004-09-22 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
76 Corinna Vinschen <corinna@vinschen.de>
77
78 * dump_setup.cc (dump_setup): Avoid trailing spaces on package-list.
79
80 2004-09-15 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
81
82 * getfacl.c (main): Correct layout when nopt is set.
83
84 2004-07-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
85
86 * mkgroup.cc (netapibufferallocate,netgroupgetinfo): New function
87 pointers.
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
95
96 2004-06-15 Alan Modra <amodra@bigpond.net.au>
97
98 * dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
99 instead of _raw_size.
100 (dumper::write_core_dump): Likewise.
101 * parse_pe.cc (select_data_section): Likewise.
102
103 2004-05-29 John Paul Wallington <jpw@gnu.org>
104
105 * ssp.c (usage): Add missing linefeed.
106
107 2004-05-27 Christopher Faylor <cgf@alum.bu.edu>
108
109 * kill.cc (listsig): Fix "kill -l" segv. NSIG includes Signal 0, so we
110 need to avoid calling strtosigno with NSIG - 1.
111
112 2004-03-21 Christopher Faylor <cgf@redhat.com>
113
114 * cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.
115
116 2004-03-15 Christopher Faylor <cgf@redhat.com>
117
118 * cygpath.cc (usage): Don't issue helpful message if -i is used.
119 (from Igor Pechtchanski)
120
121 2004-03-13 Rob Siklos <rob2@siklos.ca>
122
123 * kill.cc (get_debug_priv): New function.
124 (forcekill): Call get_debug_priv before trying to kill process.
125
126 2004-02-24 Christopher Faylor <cgf@redhat.com>
127
128 * cygpath.cc (long_options): Add "mode" option.
129 (options): Ditto.
130 (usage): Report on new option.
131 (report_mode): New function.
132 (main): Implement -M option.
133
134 2004-02-20 Christopher Faylor <cgf@redhat.com>
135
136 * Makefile.in (build_dumper): Detect missing iconv library.
137
138 * cygpath.cc (dowin): Report on filename conversion errors.
139 (doit): Ditto.
140
141 * strace.cc (main): Use symbolic constant for _STRACE_ALL when setting
142 mask.
143
144 2004-02-14 Corinna Vinschen <corinna@vinschen.de>
145
146 * ssp.c (opts): Add leading '+' to force posixly correct behaviour.
147
148 2004-02-11 Corinna Vinschen <corinna@vinschen.de>
149
150 * strace.cc (opts): Add leading '+' to force posixly correct
151 behaviour.
152 (main): Revert POSIXLY_CORRECT manipulations.
153
154 2004-02-10 Christopher Faylor <cgf@redhat.com>
155
156 * strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.
157
158 2004-02-10 Christopher Faylor <cgf@redhat.com>
159
160 * strace.cc: Update copyrights.
161 * cygcheck.cc: Update copyrights.
162
163 2004-02-10 Christopher Faylor <cgf@redhat.com>
164
165 * strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
166 * cygcheck.cc (main): Ditto.
167
168 2004-01-23 Christopher Faylor <cgf@redhat.com>
169
170 * cygcheck.cc (pretty_id): Make more robust in absence of id.exe.
171
172 2004-01-22 Corinna Vinschen <corinna@vinschen.de>
173
174 * cygpath.cc (dowin): Revert accidental checkin from November.
175
176 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
177
178 * mkgroup.c (main): Print "root" group with local admins group sid
179 and gid 0.
180
181 2003-11-19 Corinna Vinschen <corinna@vinschen.de>
182
183 * Makefile.in: Add rules to build ipcrm and ipcs.
184 * ipcrm.c: New file.
185 * ipcs.c: New file.
186
187 2003-11-14 Corinna Vinschen <corinna@vinschen.de>
188
189 * mkgroup.c: Avoid compiler warnings throughout.
190 * mkpasswd.c: Ditto.
191 * passwd.c: Ditto.
192
193 2003-11-07 Mark Blackburn <marklist@fangorn.ca>
194
195 * cygpath.cc (main): Allow multiple pathnames on command line.
196
197 2003-11-04 Corinna Vinschen <corinna@vinschen.de>
198
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.
203
204 2003-11-04 Corinna Vinschen <corinna@vinschen.de>
205
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.
209 (opts): Ditto.
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
213 privileges.
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.
219
220 2003-10-17 Christopher Faylor <cgf@redhat.com>
221
222 * cygcheck.cc (pretty_id): Don't exec if `id' program is not found.
223
224 2003-09-20 Christopher Faylor <cgf@redhat.com>
225
226 * kill.cc (main): Allow negative pids (indicates process groups).
227
228 2003-09-17 Christopher Faylor <cgf@redhat.com>
229
230 * parse_pe.cc (exclusion::sort_and_check): Make error message a little
231 more explicit and ignore (hopefully) harmless region overlap.
232
233 2003-09-13 Christopher Faylor <cgf@redhat.com>
234
235 * kill.c (forcekill): Wait for process to terminate even if
236 TerminateProcess says it failed.
237
238 2003-09-11 Christopher Faylor <cgf@redhat.com>
239
240 * Makefile.in: Tweak mingw libz.a detection to make it more reliably
241 detect when libz.a is not available.
242
243 2003-09-11 Igor Pechtchanski <pechtcha@cs.nyu.edu>
244
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().
250
251 2003-09-11 Corinna Vinschen <corinna@vinschen.de>
252
253 * getfacl (main): Remove extern declaration of optind.
254 * setfacl (main): Remove extern declaration of optarg and optind.
255
256 2003-09-10 Christopher Faylor <cgf@redhat.com>
257
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.
262
263 2003-09-10 Christopher Faylor <cgf@redhat.com>
264
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.
268
269 2003-09-10 Christopher Faylor <cgf@redhat.com>
270
271 * Makefile.in: More fixups to adjust for the fact that mingw_getopt.o
272 is no longer built.
273
274 2003-09-10 Christopher Faylor <cgf@redhat.com>
275
276 * Makefile.in: Remove references to getopt since it is now part of
277 mingwex.
278
279 2003-09-08 Christopher Faylor <cgf@redhat.com>
280
281 * Makefile.in: Rename libz.h -> zlib.h.
282
283 2003-09-07 Christopher Faylor <cgf@redhat.com>
284
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
292 the handle.
293 (package_list): Ditto.
294 (package_find): Ditto.
295
296 2003-09-05 Igor Pechtchanski <pechtcha@cs.nyu.edu>
297
298 * dump_setup.cc (check_package_files): Don't fail on empty package.
299
300 2003-09-01 AJ Reins <reinsaj@yahoo.com>
301
302 * mount.cc (mount_commands): Ensure user mode is actually user mode and
303 not the default system mode.
304
305 2003-08-31 Christopher Faylor <cgf@redhat.com>
306
307 * kill.cc (forcekill): Silence some compiler warnings.
308
309 2003-08-31 Christopher Faylor <cgf@redhat.com>
310
311 * Makefile.in: Oops. Put the '...' in the right place.
312
313 2003-08-31 Christopher Faylor <cgf@redhat.com>
314
315 * Makefile.in: Display "..." when not-verbose.
316
317 * kill.cc (forcekill): Default to entered pid when pinfo fails. Issue
318 some warnings when things don't work.
319
320 2003-08-17 David Rothenberger <daveroth@acm.org>
321
322 * dump_setup.cc (check_package_files): Strip leading / and ./ from
323 package file names.
324
325 2003-08-16 David Rothenberger <daveroth@acm.org>
326
327 * dump_setup.cc (package_find): Don't stop searching on missing
328 file list.
329 (package_list): Ditto.
330
331 2003-08-16 Igor Pechtchanski <pechtcha@cs.nyu.edu>
332
333 * dump_setup.cc: (package_list): Make output terse unless
334 verbose requested. Fix formatting.
335 (package_find): Ditto.
336
337 2003-08-15 Corinna Vinschen <corinna@vinschen.de>
338
339 * cygcheck.cc (main): Fix some formatting and help text printing.
340
341 2003-08-15 Igor Pechtchanski <pechtcha@cs.nyu.edu>
342
343 * cygcheck.cc (find_package,list_package): New global
344 variables.
345 (usage): Add "--find-package" and "--list-package" options,
346 reformat output.
347 (longopts, opts): Add "--find-package" and "--list-package"
348 options.
349 (main): Process the "--find-package" and "--list-package"
350 flags. Add new semantic checks. Add calls to find_package()
351 and list_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
360 get_packages().
361 (package_list, package_find): New global functions.
362
363 2003-08-15 Corinna Vinschen <corinna@vinschen.de>
364
365 * regtool.cc (usage): Add missing linefeed. Move example to --help
366 text. Fix forward slash description.
367
368 2003-08-13 Igor Pechtchanski <pechtcha@cs.nyu.edu>
369
370 * dump_setup.cc (check_package_files): Fix extra '/' in filename.
371 Resize command buffer. Fix buffer overflow bug.
372
373 2003-08-09 Igor Pechtchanski <pechtcha@cs.nyu.edu>
374 Christopher Faylor <cgf@redhat.com>
375
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.
378
379 2003-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
380 Christopher Faylor <cgf@redhat.com>
381
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
388 package.
389
390 2003-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
391 Christopher Faylor <cgf@redhat.com>
392
393 * dump_setup.cc (dump_setup): Remove redundant null check. Add
394 informative message if package info not found.
395
396 2003-07-26 Christopher Faylor <cgf@redhat.com>
397
398 * mount.cc (do_mount): Issue warning when using managed mount option on
399 non-empty directory.
400
401 2003-07-25 Christopher Faylor <cgf@redhat.com>
402
403 * configure.in: Use 'install-sh -c'.
404 * configure: Regenerate.
405
406 2003-07-25 Christopher Faylor <cgf@redhat.com>
407
408 * configure.in: Always use install-sh.
409 * configure: Regenerate.
410
411 2003-07-03 Christopher Faylor <cgf@redhat.com>
412
413 * mount.cc (struct opt): Remove posix option.
414
415 2003-07-03 Christopher Faylor <cgf@redhat.com>
416
417 * mount.cc (longopts): Add long "options" keyword.
418 (opts): Add -o option.
419 (usage): Display -o option.
420 (struct opt): New.
421 (concat3): New function.
422 (main): Handle -o flag.
423
424 2003-06-12 Christopher Faylor <cgf@redhat.com>
425
426 * cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.
427
428 2003-06-12 Christopher Faylor <cgf@redhat.com>
429
430 * cygpath.cc: Throughout, always return error when GetShortPathName
431 returns 0.
432
433 2003-04-26 Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
434
435 * mkpasswd.c (usage) Remove extra newline from description output.
436
437 2003-04-26 Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
438
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.
453
454 2003-04-10 Pierre Humblet <pierre.humblet@ieee.org>
455
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.
466
467 2003-03-24 Christopher Faylor <cgf@redhat.com>
468
469 * cygcheck.cc (dump_sysinfo): Ensure that CYGWIN environment variable
470 is correctly set.
471
472 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
473
474 * getfacl.c (username): Fix ambiguous printf calls.
475 (groupname): Ditto.
476 (main): Ditto.
477
478 2003-03-04 Christopher Faylor <cgf@redhat.com>
479
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.
486
487 2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>
488
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
493 "all".
494
495 2003-02-28 Christopher Faylor <cgf@redhat.com>
496
497 * Makefile.in (cygcheck.o): Fix so that actual mingw include files are
498 used.
499 * cygcheck.cc (find_on_path): Translate from cygwin path when qualified
500 path name found.
501 (pretty_id): New function. Dump output of id command.
502 (dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.
503
504 2003-02-12 Christopher Faylor <cgf@redhat.com>
505
506 * cygpath.cc (doit): Allocate more space for non-path filename.
507
508 2003-02-07 Christopher Faylor <cgf@redhat.com>
509
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.
513
514 2003-02-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
515
516 * dump_setup.cc (dump_setup): Compute the longest package name
517 and align columns properly.
518
519 2003-02-06 Christopher Faylor <cgf@redhat.com>
520
521 * cygcheck.cc (common_apps): Add some more apps.
522 * path.cc (get_cygdrive): Correctly set system flag.
523
524 2003-01-22 Corinna Vinschen <corinna@vinschen.de>
525
526 * Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.
527 (MINGW_LDFLAGS): Remove in favor of definition from Makefile.common.
528
529 2003-01-15 Corinna Vinschen <corinna@vinschen.de>
530
531 * mkgroup.c: Fix copyright date.
532 * mkpasswd.c: Ditto.
533 * setfacl.c: Ditto.
534
535 2003-01-09 Pierre Humblet <pierre.humblet@ieee.org>
536
537 * setfacl.c (usage): Remove double ":" for mask and other.
538
539 2003-01-07 Pierre Humblet <pierre.humblet@ieee.org>
540
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
545 on Win95/98/ME.
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.
552
553 2002-12-14 Pierre Humblet <pierre.humblet@ieee.org>
554
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.
558
559 2002-11-25 Corinna Vinschen <corinna@vinschen.de>
560
561 * mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.
562
563 2002-11-24 Corinna Vinschen <corinna@vinschen.de>
564
565 * setfacl.c (getperm): Set only `other' permission bits.
566 (getaclentry): Set a_id to -1 by default.
567
568 2002-11-24 Corinna Vinschen <corinna@vinschen.de>
569
570 * getfacl.c (permstr): Use `other' permission bits for requesting
571 ace permissions.
572
573 2002-11-08 Corinna Vinschen <corinna@vinschen.de>
574
575 * setfacl.c (usage): Add missing LF.
576
577 2002-10-30 Christopher Faylor <cgf@redhat.com>
578
579 * cygpath.cc (get_long_path_name_w32impl): Define similarly to
580 GetLongPathName.
581 (get_long_name): Correctly prototype GetLongPathName.
582 (get_long_paths): Implement using get_long_name to cut down on code
583 duplication.
584 (doit): Do various things to make path output work predictably.
585
586 2002-10-19 Christopher Faylor <cgf@redhat.com>
587
588 * mount.cc (usage): Correctly report default mode.
589 * strace.cc (main): Use strtoul as appropriate.
590
591 2002-09-29 Christopher Faylor <cgf@redhat.com>
592
593 * cygpath.cc (close_arg): Remove unused static.
594 * mkgroup.c (enum_local_users): Avoid compiler warning.
595 (enum_users): Ditto.
596 * mkpasswd.c: Ditto throughout.
597 * ssp.c: Ditto throughout.
598
599 2002-09-18 Christopher Faylor <cgf@redhat.com>
600
601 * cygcheck.cc: Include sys/time.h rather than time.h to avoid a
602 compiler error.
603
604 2002-09-17 Christopher Faylor <cgf@redhat.com>
605
606 * cygcheck.cc: Reorder includes to avoid compiler error.
607
608 2002-09-15 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
609
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.
623
624 2002-09-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
625
626 * cygpath.cc (options) New global variable.
627 (main) Make short options global for easier change.
628 (print_version) Add a missing newline.
629
630 2002-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu>
631
632 * regtool.cc (find_key): Add support for custom key separator.
633 (usage): Document it.
634
635 2002-08-02 Corinna Vinschen <corinna@vinschen.de>
636
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".
640
641 2002-07-06 Christopher Faylor <cgf@redhat.com>
642
643 * configure.in: Check for libiconv.a.
644 * configure: Regenerate.
645 * Makefile.in: Add libiconv.a to libraries required for dumper.exe.
646
647 2002-07-06 Christopher Faylor <cgf@redhat.com>
648
649 * Makefile.in: Use MINGW stuff from Makefile.common.
650
651 2002-07-01 Corinna Vinschen <corinna@vinschen.de>
652
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
656 from advapi32.dll.
657
658 2002-07-01 Christopher Faylor <cgf@redhat.com>
659
660 * mount.cc (main): Ensure that mount_already_exists() also gets default
661 flag that is passed to do_mount.
662
663 2002-06-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
664
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.
670
671 2002-06-18 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
672
673 * cygpath.cc (usage): Clean up usage output.
674 (dowin): Correct output of -t mixed for -ADHPSW options.
675
676 2002-06-14 Corinna Vinschen <corinna@vinschen.de>
677
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.
685
686 2002-06-14 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
687
688 * passwd.c (GetPW): Handle case of user-edited /etc/passwd
689 with cygwin_internal (CW_EXTRACT_DOMAIN_AND_USER, ...).
690
691 2002-06-09 Christopher Faylor <cgf@redhat.com>
692
693 * path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
694 (getmntent): Ditto.
695
696 2002-06-09 Christopher Faylor <cgf@redhat.com>
697
698 * mount.cc (main): Use default system/user flag for cygdrive stuff,
699 too.
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.
703
704 2002-06-08 Christopher Faylor <cgf@redhat.com>
705
706 * mount.cc (opts): Remove '-i' option.
707 (usage): Ditto.
708 (main): Ditto.
709 (longopts): Remove --import-old-mounts option.
710
711 2002-06-07 David Peterson <chief@mail.idrive.com>
712 Christopher Faylor <cgf@redhat.com>
713
714 * cygpath.cc: Add option to output windows paths in different formats:
715 "dos" and "mixed".
716 (main): Process options.
717 (doit): Check new options flags.
718
719 2002-06-06 Egor Duda <deo@logos-m.ru>
720
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.
725
726 2002-06-06 Christopher Faylor <cgf@redhat.com>
727
728 * strace.cc (main): Make toggle a local variable.
729
730 2002-06-07 Conrad Scott <conrad.scott@dsl.pipex.com>
731
732 * strace.cc (toggle): New global variable.
733 (error): Use exit instead of ExitProcess so that stdio buffers get
734 flushed.
735 (create_child): Remove command line error checking.
736 (dostrace): Ditto.
737 (dotoggle): New function.
738 (usage): Add entry for new option -T|--toggle. Alphabetize.
739 (longopts): Add new option -T|--toggle.
740 (opts): Ditto.
741 (main): Handle new -T|--toggle option. Move all command line checking
742 here from other functions.
743 * utils.sgml: Update section for strace.
744
745 2002-06-05 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
746
747 * strace.cc (version): New global variable.
748 (usage): Accommodate stdout output.
749 (print_version): New function.
750
751 2002-06-03 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
752
753 * ssp.c (version): New global variable.
754 (longopts): Ditto.
755 (opts): Ditto.
756 (run_program): Correct cmd_line typos to cmdline.
757 (usage): New function. Standardize usage output. Add ssp.txt to
758 --help output.
759 (print_version): New function.
760 (main): Accommodate getopt.
761
762 2002-06-03 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
763
764 * umount.cc (version): New global variable.
765 (longopts): Accommodate new --version option.
766 (opts): Ditto.
767 (usage): Standardize usage output.
768 (print_version): New function.
769 (main): Accommodate --help, --version options.
770
771 2002-06-02 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
772
773 * regtool.cc (prog_name): New global variable.
774 (longopts): Ditto.
775 (opts): Ditto.
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).
780
781 2002-06-02 Christopher Faylor <cgf@redhat.com>
782
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)
787
788 2002-05-30 Christopher Faylor <cgf@redhat.com>
789
790 * mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.
791
792 2002-05-29 Christopher Faylor <cgf@redhat.com>
793
794 * mount.cc (main): Make -b the default.
795
796 2002-05-29 Corinna Vinschen <corinna@vinschen.de>
797
798 * ps.cc (main): Use uid or uid32 member of struct external_pinfo
799 dependent of the value of the struct's version member.
800
801 2002-05-29 Corinna Vinschen <corinna@vinschen.de>
802
803 * ps.cc (main): Change print format for uid to unsigned. Use uid32
804 member of struct external_pinfo instead of uid.
805
806 2002-05-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
807
808 * passwd.c (prog_name): New global variable.
809 (longopts): Ditto.
810 (opts): Ditto.
811 (usage): Standardize output. Accommodate new options.
812 (print_version): New function.
813 (main): Accommodate longopts and new --help, --version options.
814
815 2002-05-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
816
817 * ps.cc (usage): Fix typo.
818
819 2002-05-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
820
821 * ps.cc (prog_name): New global variable.
822 (longopts): Ditto.
823 (opts): Ditto.
824 (usage): New function.
825 (print_version): New function.
826 (main): Accommodate longopts and new --help, --version options.
827
828 2002-05-26 Christopher Faylor <cgf@redhat.com>
829
830 * strace.cc (attach_process): Don't tell process to start stracing
831 here.
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.
835
836 2002-05-23 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
837
838 * getfacl.c (usage): Standardize usage output. Change return type to
839 static void.
840 (print_version): New function.
841 (longopts): Added longopts for all options.
842 (main): Accommodate new help and version options.
843
844 2002-05-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
845
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.
850 (opts): Ditto.
851 (main): Ditto.
852
853 2002-05-22 Corinna Vinschen <corinna@vinschen.de>
854
855 * cygpath.cc (usage): Change usage output slightly.
856
857 2002-05-20 Joerg Schaible <joerg.schaible@gmx.de>
858
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
868 higher).
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.
872
873 2002-05-18 Christopher Faylor <cgf@redhat.com>
874
875 * strace.cc (add_child): Use calloc since new requires working
876 libstdc++.a.
877 (remove_child): Ditto for delete/free.
878
879 2002-05-15 Mark Blackburn <marklist@fangorn.ca>
880
881 * cygpath.cc (get_short_paths): Fix more error checking.
882 (get_short_name): Ditto.
883
884 2002-05-14 Joerg Schaible <joerg.schaible@gmx.de>
885
886 * cygpath.cc (main): Add option H to show the Windows' profiles
887 directory. Support short names for options DPSW. Clean up
888 copied code lines.
889 * utils.sgml: Update cygpath section for H option and s support.
890
891 2002-05-14 Mark Blackburn <marklist@fangorn.ca>
892
893 * cygpath.cc (get_short_paths): Fix error checking.
894
895 2002-05-13 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
896
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.
901 (opts): Ditto.
902 (main): Ditto.
903
904 2002-05-13 Christopher Faylor <cgf@redhat.com>
905
906 * kill.cc (listsig): Display numeric id when given symbolic input.
907
908 2002-05-13 Christopher Faylor <cgf@redhat.com>
909
910 * kill.cc (usage): Show new options. Allow specification of output
911 stream.
912 (main): Implement 'h' option.
913
914 2002-05-13 Christopher Faylor <cgf@redhat.com>
915
916 * Makefile.in (kill.exe): Add as a specific target.
917 * kill.cc (longopts): New.
918 (opts): Ditto.
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.
924
925 * mount.cc (longopts): Make static.
926 (opts): Ditto.
927
928 2002-05-12 Christopher Faylor <cgf@redhat.com>
929
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.
934 (opts): Ditto.
935 (usage): Ditto. Indicate that system mount is now the default.
936 (main): Accommodate no-executable option. Make system mount the
937 default.
938 * umount.cc (usage): Indicate that system umount is now the default.
939 (main): Make system umount the default.
940
941 2002-05-07 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
942
943 * dumper.cc (usage): Standardize usage output. Generalize to allow use
944 for help.
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
948 options.
949
950 2002-03-29 Corinna Vinschen <corinna@vinschen.de>
951
952 * mkgroup.c (main): Change call to exit() to a return statement.
953 * mkpasswd.c (main): Ditto.
954
955 2002-03-27 Joshua Daniel Franklin joshuadfranklin@yahoo.com
956
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
963 changes.
964
965 2002-03-19 Christopher Faylor <cgf@redhat.com>
966
967 * mkgroup.c (usage): Use one just fprintf + string concatenation for
968 output message.
969 (print_version): Add void to function type and update copyright.
970
971 2002-03-16 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
972
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.
980
981 2002-03-15 Corinna Vinschen <corinna@vinschen.de>
982
983 * mkgroup.c (main): When generating group 513, check for computer's
984 primary domain instead of current user's domain.
985
986 2002-03-14 Corinna Vinschen <corinna@vinschen.de>
987
988 * mkgroup.c (main): When generating group 513, check for domain SID
989 if computer name isn't mapped to a SID.
990
991 2001-03-11 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
992
993 * kill.cc (usage): Move to top of file.
994 (getsig): Ditto.
995 (forcekill): Ditto.
996
997 2002-03-06 Christopher Faylor <cgf@redhat.com>
998
999 * cygcheck.cc: Reformat.
1000
1001 2002-03-06 Christopher Faylor <cgf@redhat.com>
1002
1003 * cygcheck.cc (longopts): Use correct short option for --version.
1004
1005 2002-03-06 Christopher Faylor <cgf@redhat.com>
1006
1007 * cygpath.cc: Reformat.
1008
1009 2002-02-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
1010
1011 * cygpath.cc (print_version): New function.
1012 (main): Accommodate new version function. Initialize 'o' to prevent
1013 warning.
1014
1015 2002-02-27 Christopher Faylor <cgf@redhat.com>
1016
1017 * cygcheck.cc (main): Eliminate non-GNU formatting glitch.
1018
1019 2002-02-27 Christopher Faylor <cgf@redhat.com>
1020
1021 * ssp.c (help_desk): Fix compiler warning.
1022
1023 2002-02-27 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
1024 Christopher Faylor <cgf@redhat.com>
1025
1026 Change appropriate globals to statics throughout.
1027 * cygcheck.cc (usage): Simplify usage output. Generalize to allow use
1028 for help.
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.
1034
1035 002-02-19 Christopher Faylor <cgf@redhat.com>
1036
1037 * Makefile.in (CXXFLAGS): Add override so that HAVE_DECL_GETOPT is
1038 defined.
1039 (libbfd): Use -B rather than -L so that bfd from build directory is
1040 correctly found.
1041 (libintl): Ditto.
1042
1043 2002-02-15 Christopher Faylor <cgf@redhat.com>
1044
1045 * mount.cc (usage): Fix typo in output.
1046
1047 2002-02-14 Christopher Faylor <cgf@redhat.com>
1048
1049 * strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
1050
1051 2002-01-31 Corinna Vinschen <corinna@vinschen.de>
1052
1053 * mkpasswd.c (main): Set default home path for 9x/Me if --path-to-home
1054 isn't given.
1055
1056 2002-01-30 Corinna Vinschen <corinna@vinschen.de>
1057
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
1061 incorrect.
1062 (main): Call ChangePW() with additional parameter.
1063
1064 2002-01-29 Christopher Faylor <cgf@redhat.com>
1065
1066 * dump_setup.cc (parse_filename): Don't consider '_' part of the
1067 version.
1068
1069 2002-01-28 Christopher Faylor <cgf@redhat.com>
1070
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.
1076
1077 2002-01-28 Christopher Faylor <cgf@redhat.com>
1078
1079 * cygcheck.cc: Use specific cygwin includes, as required.
1080
1081 2002-01-28 Christopher Faylor <cgf@redhat.com>
1082
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.
1090 (opts): Ditto.
1091 (main): Ditto. Handle -p option.
1092
1093 2002-01-21 Christopher Faylor <cgf@redhat.com>
1094
1095 * Makefile.in (CXXFLAGS): Ensure that important settings are preserved
1096 even when overriden by command line.
1097
1098 2002-01-21 Christopher Faylor <cgf@redhat.com>
1099
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.
1106
1107 2002-01-21 DJ Delorie <dj@redhat.com>
1108
1109 * Makefile.in: Use CXX instead of CC to compile C++ sources.
1110
1111 2002-01-17 DJ Delorie <dj@redhat.com>
1112
1113 * cygcheck.cc (already_did): Avoid default constructors, which may
1114 require exception support.
1115
1116 2001-01-16 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
1117
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.
1122
1123 2002-01-15 Joerg Schaible <joerg.schaible@gmx.de>
1124
1125 * cygpath.cc (doit): Empty file ignored using option -i.
1126
1127 2002-01-15 Mark Bradshaw <bradshaw@crosswalk.com>
1128
1129 * mkpasswd.c (print_win_error): Add a new function.
1130 (enum_users): Use print_win_error.
1131 (enum_local_groups): Ditto.
1132 (main): Ditto.
1133
1134 2001-12-26 Jonathan Kamens <jik@curl.com>
1135
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.
1140
1141 Fri Dec 14 14:04:37 2001 Jason Tishler <jason@tishler.net>
1142
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.
1148
1149 Fri Dec 14 12:10:39 2001 Jason Tishler <jason@tishler.net>
1150
1151 * mkpasswd.c (opts): Add indication that '-p' option requires an
1152 argument.
1153
1154 2001-12-11 Christopher Faylor <cgf@redhat.com>
1155
1156 * Makefile.in: Add define to CXXFLAGS.
1157
1158 2001-12-03 Christopher Faylor <cgf@redhat.com>
1159
1160 * cygcheck.cc (usage): Add -c description.
1161 * cygpath.cc (usage): Alphabetize options.
1162 * strace.cc (usage): Ditto.
1163
1164 2001-11-21 Christopher Faylor <cgf@redhat.com>
1165
1166 * path.cc (cygpath): Don't consider cygdrive stuff when trying to derive
1167 native paths.
1168
1169 2001-11-20 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1170
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.
1179
1180 2001-11-15 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
1181
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
1195 search through.
1196
1197 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1198
1199 * cygcheck.cc (dump_sysinfo): Redefine output format slightly.
1200 Print correct build number on 9x/ME systems.
1201
1202 2001-11-12 Christopher Faylor <cgf@redhat.com>
1203
1204 * cygcheck.cc (main): Slight formatting tweak.
1205
1206 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1207
1208 * cygcheck.cc (dump_sysinfo): Add some more details.
1209
1210 2001-11-12 Corinna Vinschen <corinna@vinschen.de>
1211
1212 * cygcheck.cc (dump_sysinfo): Print more detailed OS information string
1213 using OSVERSIONINFOEX information.
1214
1215 2001-11-11 Christopher Faylor <cgf@redhat.com>
1216
1217 * path.h: New file.
1218
1219 2001-11-11 Christopher Faylor <cgf@redhat.com>
1220
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
1224 use.
1225 * path.cc (read_mounts): Open registry with read-only access.
1226
1227 2001-11-11 Christopher Faylor <cgf@redhat.com>
1228
1229 * cygcheck.cc (main): Display package info when '-s' is specified.
1230 * dump_setup.cc (dump_setup): Change header. Remove typo. Always sort
1231 packages output.
1232
1233 2001-11-11 Christopher Faylor <cgf@redhat.com>
1234
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
1238 installed base.
1239 * path.cc (cygpath): Read mount table if not loaded.
1240
1241 2001-11-10 Christopher Faylor <cgf@redhat.com>
1242
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
1247 output.
1248 (dump_sysinfo): Calculate max names of posix and ms-dos paths for
1249 prettier output.
1250
1251 2001-11-09 Corinna Vinschen <corinna@vinschen.de>
1252
1253 * cygcheck.cc (dump_sysinfo): Print more detailed OS information string.
1254
1255 2001-11-04 Corinna Vinschen <corinna@vinschen.de>
1256
1257 * getfacl.c (username): New function.
1258 (groupname): Ditto.
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.
1268
1269 2001-11-04 Egor Duda <deo@logos-m.ru>
1270
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.
1275
1276 2001-10-24 Christopher Faylor <cgf@redhat.com>
1277
1278 * Makefile.in: Remove EXEEXT consideration. We always need .exe
1279 extensions.
1280
1281 2001-10-20 Corinna Vinschen <corinna@vinschen.de>
1282
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().
1291
1292 2001-10-15 Christopher Faylor <cgf@redhat.com>
1293
1294 * mkpasswd.cc (enum_users): Shorten "unused" passwd field.
1295
1296 2001-10-13 Christopher Faylor <cgf@redhat.com>
1297
1298 * Makefile.in: Allow stdinc searching for dumper.
1299
1300 Tue Oct 9 21:59:00 2001 Christopher Faylor <cgf@cygnus.com>
1301
1302 * Makefile.in (MINGW_INCLUDES): Accommodate changes in Makefile.common.
1303
1304 Sun Oct 7 23:06:39 2001 Christopher Faylor <cgf@cygnus.com>
1305
1306 * kill.cc (main): Set exit value to 1 on invalid pid. Perform minor
1307 cleanup.
1308
1309 Fri Sep 21 20:40:30 2001 Christopher Faylor <cgf@cygnus.com>
1310
1311 * Makefile.in (mingw_getopt.o): Ensure that newlib include directories
1312 are not searched.
1313
1314 Thu Sep 20 21:00:20 2001 Christopher Faylor <cgf@cygnus.com>
1315
1316 * Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.
1317
1318 Wed Sep 19 12:22:08 2001 Christopher Faylor <cgf@cygnus.com>
1319
1320 * Makefile.in: Filter newlib includes from mingw compilation.
1321
1322 2001-09-14 Egor Duda <deo@logos-m.ru>
1323
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.
1330
1331 2001-09-13 Egor Duda <deo@logos-m.ru>
1332
1333 * dumper.cc (main): Properly recognize negative pids (used by w9x).
1334
1335 2001-09-09 Egor Duda <deo@logos-m.ru>
1336
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
1340 program crash.
1341 (usage): Ditto.
1342
1343 Wed Sep 5 22:37:21 2001 Christopher Faylor <cgf@cygnus.com>
1344
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.
1348
1349 2001-09-03 Michael A Chase <mchase@ix.netcom.com>
1350
1351 * mount.cc (mount_commands): Don't write /cygdrive/u mount points.
1352
1353 2001-09-03 Michael A Chase <mchase@ix.netcom.com>
1354
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
1358 mounts.
1359
1360 Sat Sep 1 15:58:11 2001 Christopher Faylor <cgf@cygnus.com>
1361
1362 * mount.cc (main): Eliminate excess arguments in printf.
1363
1364 2001-08-30 Egor Duda <deo@logos-m.ru>
1365
1366 * dumper.h: Update copyright notice.
1367 * dumper.cc: Ditto.
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.
1374
1375 Tue Aug 28 14:45:02 2001 Christopher Faylor <cgf@cygnus.com>
1376
1377 * mount.cc (main): Issue correct warning for 'not enough arguments'.
1378
1379 2001-08-14 Joerg Schaible <joerg.schaible@gmx.de>
1380
1381 * cygpath.cc (main): Support -w for Windows (System) directories and
1382 return physical correct orthography for the Windows System dir.
1383
1384 2001-07-14 Chris Genly <chgenly@alum.mit.edu>
1385
1386 * regtool.cc (find_key): Handle keys with only one subkey.
1387
1388 Wed Jun 27 22:46:10 2001 Christopher Faylor <cgf@cygnus.com>
1389
1390 * regtool.cc (find_key): Revert previous change.
1391
1392 Wed Jun 27 13:37:41 2001 Keith Starsmeare" <keith_starsmeare@yahoo.co.uk>
1393
1394 * regtool.cc (find_key): Allow '/' as a synonym for '\\'.
1395
1396 Fri Jun 15 00:49:21 2001 Christopher Faylor <cgf@cygnus.com>
1397
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
1401 mounts.
1402
1403 Tue May 1 10:50:48 2001 Christopher Faylor <cgf@cygnus.com>
1404
1405 * mkpasswd.c (enum_users): Use /bin/bash as the default shell.
1406 (main): Ditto.
1407
1408 Sat Apr 28 22:32:01 2001 Christopher Faylor <cgf@cygnus.com>
1409
1410 * passwd.cc (ttymnam): New function.
1411 (main): Use ttynam() to report name of tty.
1412
1413 2001-04-19 Egor Duda <deo@logos-m.ru>
1414
1415 * dumper.cc (dumper::init_core_dump): Set architecture field in dump
1416 header.
1417
1418 Mon Apr 16 15:08:00 2001 Corinna Vinschen <vinschen@redhat.com>
1419
1420 * mkgroup.c: Add function pointers `netlocalgroupgetmembers' and
1421 `netgroupgetusers'.
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
1434 `print_users'.
1435
1436 2001-04-15 Michael A Chase <mchase@ix.netcom.com>
1437
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'.
1442
1443 2001-04-13 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1444
1445 * mkgroup.c (enum_groups): Use RID + offset specified an additional
1446 argument as ID.
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.
1454
1455 2001-04-11 Egor Duda <deo@logos-m.ru>
1456
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.
1464
1465 Mon Apr 2 22:41:33 2001 Christopher Faylor <cgf@cygnus.com>
1466
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.
1470
1471 Mon Apr 2 10:58:26 2001 Christopher Faylor <cgf@cygnus.com>
1472
1473 * mount.cc (show_mounts): Change format string to more closely resemble
1474 UNIX when displaying mount table.
1475
1476 Sat Mar 17 21:46:06 2001 Christopher Faylor <cgf@cygnus.com>
1477
1478 * kill.cc (forcekill): Use dwProcessId when opening a process, not the
1479 Cygwin pid.
1480
1481 Mon Mar 5 18:50:00 2001 Corinna Vinschen <vinschen@redhat.com>
1482
1483 * getfacl.c: Add copyright hint.
1484 * setfacl.c: Ditto.
1485 * strace.cc: Ditto.
1486
1487 Tue Jan 09 10:26:23 2001 Tony Sideris <tonys1110@home.com>
1488
1489 * regtool.cc (cmd_list): Add new registry display options.
1490 (cmd_list): Add code to implement -p, -k, and -l options.
1491
1492 * regtool.cc (Fail): Add call to LocalFree to free memory allocated by
1493 FormatMessage.
1494
1495 Wed Jan 10 09:16:57 2001 Christopher Faylor <cgf@cygnus.com>
1496
1497 * regtool.cc (translate): Ensure that 'c' is initialized.
1498 (cmd_set): Ditto for rv.
This page took 0.095784 seconds and 5 git commands to generate.