]> sourceware.org Git - newlib-cygwin.git/blame - winsup/utils/ChangeLog
* cygcheck.cc (pretty_id): Don't let i become negative. Fix
[newlib-cygwin.git] / winsup / utils / ChangeLog
CommitLineData
eedf2474
CV
12004-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
3f8c5ee6 62004-10-17 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
0ffa77a9
CF
7
8 * cygcheck.cc (pretty_id): Allocate space for ')' in uid and guid.
9
3f8c5ee6 102004-10-17 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
0597641a
CF
11 Christopher Faylor <cgf@timesys.com>
12
0ffa77a9 13 * cygcheck.cc (pretty_id): Allocate space for trailing '\0' in uid and
0597641a
CF
14 guid.
15
167f0d85
CF
162004-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
902edd45
CF
222004-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
76ad4d0a
CF
282004-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
0795a245
CF
332004-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
82e127ca
CF
382004-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
4f8dc862
CV
432004-10-06 Corinna Vinschen <corinna@vinschen.de>
44
45 * strace.cc (_impure_ptr): Remove.
46
5f175ea6
CV
472004-10-06 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
48
a82955fa 49 * cygcheck.cc (dump_sysinfo): Warn about empty path components.
5f175ea6 50
a5aa8c3e
CV
512004-10-04 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
52
53 * cygcheck.cc (pretty_id): Close pipe.
54
79de4980
CV
552004-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
71de4014
CV
602004-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
b103e0d7
CV
652004-09-15 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
66
67 * getfacl.c (main): Correct layout when nopt is set.
68
e3118d88
CV
692004-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
64b49cce
AM
812004-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
1a8b65e3
JDF
882004-05-29 John Paul Wallington <jpw@gnu.org>
89
82e127ca 90 * ssp.c (usage): Add missing linefeed.
1a8b65e3 91
0512945e
CF
922004-05-27 Christopher Faylor <cgf@alum.bu.edu>
93
19738811
CF
94 * kill.cc (listsig): Fix "kill -l" segv. NSIG includes Signal 0, so we
95 need to avoid calling strtosigno with NSIG - 1.
0512945e 96
0cf94b8c
CF
972004-03-21 Christopher Faylor <cgf@redhat.com>
98
99 * cygcheck.cc (dump_sysinfo): Remove "Win95/NT" from output.
100
befdf18b
CF
1012004-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
5817840a
CV
1062004-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
f135dd3e
CF
1112004-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
7c03f799
CF
1192004-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
e92be220
CV
1292004-02-14 Corinna Vinschen <corinna@vinschen.de>
130
131 * ssp.c (opts): Add leading '+' to force posixly correct behaviour.
132
960471b1
CV
1332004-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
6dbfb93a
CF
1392004-02-10 Christopher Faylor <cgf@redhat.com>
140
141 * strace.cc (main): Guard against previous setting of POSIXLY_CORRECT.
142
c662f402
CF
1432004-02-10 Christopher Faylor <cgf@redhat.com>
144
145 * strace.cc: Update copyrights.
146 * cygcheck.cc: Update copyrights.
147
744ed079
CF
1482004-02-10 Christopher Faylor <cgf@redhat.com>
149
150 * strace.cc (main): Ensure POSIXLY_CORRECT argument ordering.
151 * cygcheck.cc (main): Ditto.
152
7dddf53f
CF
1532004-01-23 Christopher Faylor <cgf@redhat.com>
154
155 * cygcheck.cc (pretty_id): Make more robust in absence of id.exe.
156
30352c26
CV
1572004-01-22 Corinna Vinschen <corinna@vinschen.de>
158
159 * cygpath.cc (dowin): Revert accidental checkin from November.
160
f25babdf
CV
1612003-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
e545df31
CV
1662003-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
50868237
CV
1722003-11-14 Corinna Vinschen <corinna@vinschen.de>
173
174 * mkgroup.c: Avoid compiler warnings throughout.
175 * mkpasswd.c: Ditto.
176 * passwd.c: Ditto.
177
0a5ea947
CV
1782003-11-07 Mark Blackburn <marklist@fangorn.ca>
179
180 * cygpath.cc (main): Allow multiple pathnames on command line.
181
02bd05e3
CV
1822003-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
1f4e5e15
CV
1892003-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
fa10472e
CF
2052003-10-17 Christopher Faylor <cgf@redhat.com>
206
207 * cygcheck.cc (pretty_id): Don't exec if `id' program is not found.
208
7ed1b504
CF
2092003-09-20 Christopher Faylor <cgf@redhat.com>
210
211 * kill.cc (main): Allow negative pids (indicates process groups).
212
b1e00863
CF
2132003-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
a98a0011
CF
2182003-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
3a256354
CF
2232003-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
59a76035
CV
2282003-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
a5ba4027
CV
2362003-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
bd79b736
CF
2412003-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
b07b167e
CF
2482003-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
704d8c32
CF
2542003-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
4a6890e7
CF
2592003-09-10 Christopher Faylor <cgf@redhat.com>
260
261 * Makefile.in: Remove references to getopt since it is now part of
262 mingwex.
263
7b066934
CF
2642003-09-08 Christopher Faylor <cgf@redhat.com>
265
266 * Makefile.in: Rename libz.h -> zlib.h.
267
d31c5928
CF
2682003-09-07 Christopher Faylor <cgf@redhat.com>
269
270 * Makefile.in: Detect existence of mingw zlib headers and libraries.
87f99111 271 Build cygcheck without package checking if they are unavailable.
d31c5928
CF
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
1f602fd7
CF
2812003-09-05 Igor Pechtchanski <pechtcha@cs.nyu.edu>
282
283 * dump_setup.cc (check_package_files): Don't fail on empty package.
284
e48feef9
CF
2852003-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
ef58cd2f
CF
2902003-08-31 Christopher Faylor <cgf@redhat.com>
291
292 * kill.cc (forcekill): Silence some compiler warnings.
293
f6f88b66
CF
2942003-08-31 Christopher Faylor <cgf@redhat.com>
295
296 * Makefile.in: Oops. Put the '...' in the right place.
297
40d885eb
CF
2982003-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
919497ee
CV
3052003-08-17 David Rothenberger <daveroth@acm.org>
306
307 * dump_setup.cc (check_package_files): Strip leading / and ./ from
308 package file names.
309
b7238790
CV
3102003-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
3162003-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
200f243c
CV
3222003-08-15 Corinna Vinschen <corinna@vinschen.de>
323
324 * cygcheck.cc (main): Fix some formatting and help text printing.
325
3262003-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
dae37d5d
CV
3482003-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
e2b1a74c
CV
3532003-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
e41630b0
CF
3582003-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
58d4b72d
CF
3642003-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
3752003-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
035df9ef
CF
3812003-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
ddb67621
CF
3862003-07-25 Christopher Faylor <cgf@redhat.com>
387
388 * configure.in: Use 'install-sh -c'.
389 * configure: Regenerate.
390
7f4773b3
CF
3912003-07-25 Christopher Faylor <cgf@redhat.com>
392
393 * configure.in: Always use install-sh.
394 * configure: Regenerate.
395
baf77a53
CF
3962003-07-03 Christopher Faylor <cgf@redhat.com>
397
398 * mount.cc (struct opt): Remove posix option.
399
08604f02
CF
4002003-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
6806f4f6
CF
4092003-06-12 Christopher Faylor <cgf@redhat.com>
410
411 * cygcheck.cc (pretty_id): Rework slightly to not rely on spaces.
412
cc3ce0bb
CF
4132003-06-12 Christopher Faylor <cgf@redhat.com>
414
8d60a602
CF
415 * cygpath.cc: Throughout, always return error when GetShortPathName
416 returns 0.
cc3ce0bb 417
45bfd8ed
JDF
4182003-04-26 Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
419
420 * mkpasswd.c (usage) Remove extra newline from description output.
421
aa275fe0
JDF
4222003-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
57efd527
PH
4392003-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.
58d4b72d 449 (main): Only print specials when -l is specified. Add a
57efd527
PH
450 loop to allow several domains and free servername in the loop.
451
ce7a3610
CF
4522003-03-24 Christopher Faylor <cgf@redhat.com>
453
454 * cygcheck.cc (dump_sysinfo): Ensure that CYGWIN environment variable
455 is correctly set.
456
ef1aafb0
CV
4572003-03-09 Corinna Vinschen <corinna@vinschen.de>
458
459 * getfacl.c (username): Fix ambiguous printf calls.
460 (groupname): Ditto.
461 (main): Ditto.
462
229f2bb4
CF
4632003-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
f78765da
PH
4722003-03-01 Pierre Humblet <pierre.humblet@ieee.org>
473
58d4b72d 474 * mkpasswd.cc (main): On Win95, output both a default line and a
f78765da
PH
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.
58d4b72d
CF
477 * mkgroup.cc (main): On Win95 change the group name from "unknown" to
478 "all".
f78765da 479
dbc49afd
CF
4802003-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
7ca68b7e
CF
4892003-02-12 Christopher Faylor <cgf@redhat.com>
490
491 * cygpath.cc (doit): Allocate more space for non-path filename.
492
3202ad2b
CF
4932003-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
eceb45bd
CV
4992003-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
4a9cbef0
CF
5042003-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
92005b4c
CV
5092003-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
3903b47b
CV
5142003-01-15 Corinna Vinschen <corinna@vinschen.de>
515
516 * mkgroup.c: Fix copyright date.
517 * mkpasswd.c: Ditto.
518 * setfacl.c: Ditto.
519
e410614a
CV
5202003-01-09 Pierre Humblet <pierre.humblet@ieee.org>
521
3903b47b 522 * setfacl.c (usage): Remove double ":" for mask and other.
e410614a 523
f1c9046a
CV
5242003-01-07 Pierre Humblet <pierre.humblet@ieee.org>
525
3903b47b 526 * mkpasswd.c (current_user): Create.
f1c9046a
CV
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.
3903b47b 531 * mkgroup.c (enum_groups): Print gid with %u.
58d4b72d 532 (print_win_error): Create from passwd.cc.
f1c9046a
CV
533 (current_group): Create.
534 (usage): Reorganize to support Win95/98/ME.
535 (main): Add option for -c. Reorganize to parse options for
58d4b72d 536 Win95/98/ME and to call current_group.
f1c9046a 537
2b3ddfcd
CV
5382002-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
d1b6d5cd
CV
5442002-11-25 Corinna Vinschen <corinna@vinschen.de>
545
546 * mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.
547
2d06bd11
CV
5482002-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
ad2bc53e
CV
5532002-11-24 Corinna Vinschen <corinna@vinschen.de>
554
555 * getfacl.c (permstr): Use `other' permission bits for requesting
556 ace permissions.
557
7c4f9b9a
CV
5582002-11-08 Corinna Vinschen <corinna@vinschen.de>
559
560 * setfacl.c (usage): Add missing LF.
561
cf157504
CF
5622002-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
7c518815
CF
5712002-10-19 Christopher Faylor <cgf@redhat.com>
572
573 * mount.cc (usage): Correctly report default mode.
3350721c 574 * strace.cc (main): Use strtoul as appropriate.
7c518815 575
0fa64fa3
CF
5762002-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
468b26c5
CF
5842002-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
4ddb62e7
CF
5892002-09-17 Christopher Faylor <cgf@redhat.com>
590
591 * cygcheck.cc: Reorder includes to avoid compiler error.
592
98467dae 5932002-09-15 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
c6c890e2 594
98467dae
JDF
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
9b566b96 6092002-09-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
c6c890e2 610
9b566b96
JDF
611 * cygpath.cc (options) New global variable.
612 (main) Make short options global for easier change.
613 (print_version) Add a missing newline.
614
403985a4
CF
6152002-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
32c803da
CV
6202002-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
212ed5e0
CF
6262002-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
3fde1c58
CF
6322002-07-06 Christopher Faylor <cgf@redhat.com>
633
634 * Makefile.in: Use MINGW stuff from Makefile.common.
635
d183515c
CV
6362002-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
1050e57c
CF
6432002-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
6482002-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
33bd2d12
CF
6562002-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
94a23f48
CV
6612002-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
6712002-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
548e0dad
CF
6762002-06-09 Christopher Faylor <cgf@redhat.com>
677
678 * path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
679 (getmntent): Ditto.
680
94cc482c
CF
6812002-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
60a3d461
CF
6892002-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
2bd6505b
CF
6962002-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
381fb8ba
CV
7042002-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
b841df79
CF
7112002-06-06 Christopher Faylor <cgf@redhat.com>
712
713 * strace.cc (main): Make toggle a local variable.
714
80082f1e
CF
7152002-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
ba692ae9
CF
7302002-06-05 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
731
732 * strace.cc (version): New global variable.
2bd6505b 733 (usage): Accommodate stdout output.
ba692ae9
CF
734 (print_version): New function.
735
c240a7fc
CF
7362002-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
e6cd2312
CF
7472002-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
9bd02410
CF
7562002-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.
e6cd2312 763 (main): Accommodate longopts and new --help, --version options. Add
9bd02410
CF
764 check for (_argv[optind+1] == NULL).
765
f69af9b3
CF
7662002-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
dfe56933
CF
7732002-05-30 Christopher Faylor <cgf@redhat.com>
774
775 * mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.
776
b050246c
CF
7772002-05-29 Christopher Faylor <cgf@redhat.com>
778
779 * mount.cc (main): Make -b the default.
780
50674f2d
CV
7812002-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
64274544
CV
7862002-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
f59faec4
CV
7912002-05-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
792
793 * passwd.c (prog_name): New global variable.
794 (longopts): Ditto.
795 (opts): Ditto.
e6cd2312 796 (usage): Standardize output. Accommodate new options.
f59faec4 797 (print_version): New function.
e6cd2312 798 (main): Accommodate longopts and new --help, --version options.
f59faec4 799
6c5e0401
CV
8002002-05-28 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
801
802 * ps.cc (usage): Fix typo.
803
ad39fa8c
CF
8042002-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.
e6cd2312 811 (main): Accommodate longopts and new --help, --version options.
ad39fa8c 812
d73f9745
CF
8132002-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
82d178a4
CV
8212002-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
8704ad9d
CF
8292002-05-22 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
830
8b3e5e2d 831 * mount.cc (version): New global variable.
e6cd2312 832 (usage): Standardize usage output. Accommodate new version option.
8b3e5e2d 833 (print_version): New function.
e6cd2312 834 (longopts): Accommodate new version option.
8b3e5e2d
CF
835 (opts): Ditto.
836 (main): Ditto.
8704ad9d 837
5bb52de4
CV
8382002-05-22 Corinna Vinschen <corinna@vinschen.de>
839
840 * cygpath.cc (usage): Change usage output slightly.
841
8422002-05-20 Joerg Schaible <joerg.schaible@gmx.de>
843
9bd02410 844 * cygpath.cc (main): Add option l to support conversion to
5bb52de4
CV
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
9bd02410 852 of Windows API function GetLongPathName (only 98/Me/2000/XP or
5bb52de4
CV
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
cf737d6b
CF
8582002-05-18 Christopher Faylor <cgf@redhat.com>
859
860 * strace.cc (add_child): Use calloc since new requires working
861 libstdc++.a.
ff7b1ed9 862 (remove_child): Ditto for delete/free.
cf737d6b 863
e355de81
CV
8642002-05-15 Mark Blackburn <marklist@fangorn.ca>
865
866 * cygpath.cc (get_short_paths): Fix more error checking.
867 (get_short_name): Ditto.
868
8692002-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
5588e287
CV
8762002-05-14 Mark Blackburn <marklist@fangorn.ca>
877
e355de81 878 * cygpath.cc (get_short_paths): Fix error checking.
5588e287 879
ef48a2ca
CF
8802002-05-13 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
881
8b3e5e2d
CF
882 * kill.cc (prog_name): New global variable.
883 (usage): Standardize usage output. Add descriptions.
884 (print_version): New function.
e6cd2312 885 (longopts): Accommodate new version option.
8b3e5e2d
CF
886 (opts): Ditto.
887 (main): Ditto.
ef48a2ca 888
6eabab55
CF
8892002-05-13 Christopher Faylor <cgf@redhat.com>
890
891 * kill.cc (listsig): Display numeric id when given symbolic input.
892
30feaa22
CF
8932002-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
c49fa762
CF
8992002-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
65791b5d
CF
910 * mount.cc (longopts): Make static.
911 (opts): Ditto.
912
48897dfe
CF
9132002-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
84d06cb6
CF
9262002-05-07 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
927
8b3e5e2d 928 * dumper.cc (usage): Standardize usage output. Generalize to allow use
84d06cb6 929 for help.
8b3e5e2d
CF
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
84d06cb6
CF
933 options.
934
eccebec0
CV
9352002-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.
58d4b72d 939
eccebec0
CV
9402002-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
7a9f3efb
CF
9502002-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
22a9157c
CV
9562002-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
eeec2a48
CV
9662002-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
9712002-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
af53a09c
CF
9762001-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
b56dedef
CF
9822002-03-06 Christopher Faylor <cgf@redhat.com>
983
984 * cygcheck.cc: Reformat.
985
b9262dd9
CF
9862002-03-06 Christopher Faylor <cgf@redhat.com>
987
988 * cygcheck.cc (longopts): Use correct short option for --version.
989
6a344609
CF
9902002-03-06 Christopher Faylor <cgf@redhat.com>
991
992 * cygpath.cc: Reformat.
993
9942002-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
10002002-02-27 Christopher Faylor <cgf@redhat.com>
1001
1002 * cygcheck.cc (main): Eliminate non-GNU formatting glitch.
1003
67763c0c
CF
10042002-02-27 Christopher Faylor <cgf@redhat.com>
1005
1006 * ssp.c (help_desk): Fix compiler warning.
1007
10082002-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
1020002-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
cf75300e
CF
10282002-02-15 Christopher Faylor <cgf@redhat.com>
1029
1030 * mount.cc (usage): Fix typo in output.
1031
ed25e9e1
CF
10322002-02-14 Christopher Faylor <cgf@redhat.com>
1033
1034 * strace.cc (attach_process): Change CW_STRACE_ON to CW_STRACE_TOGGLE.
1035
29a1ad94
CV
10362002-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
97832962
CV
10412002-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
1c2b9fe5
CF
10492002-01-29 Christopher Faylor <cgf@redhat.com>
1050
1051 * dump_setup.cc (parse_filename): Don't consider '_' part of the
1052 version.
1053
012858ec
CF
10542002-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
4239e5ec
CF
10622002-01-28 Christopher Faylor <cgf@redhat.com>
1063
1064 * cygcheck.cc: Use specific cygwin includes, as required.
1065
de6f8362
CF
10662002-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
10782002-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
ad466e2f
CF
10832002-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
2290b866
CF
10922002-01-21 DJ Delorie <dj@redhat.com>
1093
1094 * Makefile.in: Use CXX instead of CC to compile C++ sources.
1095
e47cd9cd
CF
10962002-01-17 DJ Delorie <dj@redhat.com>
1097
1098 * cygcheck.cc (already_did): Avoid default constructors, which may
1099 require exception support.
1100
3cdacffc
CV
11012001-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
7b5c105b
CV
11082002-01-15 Joerg Schaible <joerg.schaible@gmx.de>
1109
1110 * cygpath.cc (doit): Empty file ignored using option -i.
1111
7041c7ab
CV
11122002-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
c02e32c9
CF
11192001-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
8606f005
CV
1126Fri 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
bdc7392c
CF
1134Fri 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
e05f3227
CF
11392001-12-11 Christopher Faylor <cgf@redhat.com>
1140
1141 * Makefile.in: Add define to CXXFLAGS.
1142
48f939e2
CF
11432001-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
53e61a86
CF
11492001-11-21 Christopher Faylor <cgf@redhat.com>
1150
c7cf3563 1151 * path.cc (cygpath): Don't consider cygdrive stuff when trying to derive
53e61a86
CF
1152 native paths.
1153
1d3dc113
CV
11542001-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
33f0f67d
CV
11652001-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
d1ba802d
CV
11822001-11-12 Corinna Vinschen <corinna@vinschen.de>
1183
1184 * cygcheck.cc (dump_sysinfo): Redefine output format slightly.
1716f3b5 1185 Print correct build number on 9x/ME systems.
d1ba802d 1186
e1af9739
CF
11872001-11-12 Christopher Faylor <cgf@redhat.com>
1188
1189 * cygcheck.cc (main): Slight formatting tweak.
1190
5e051b1b
CV
11912001-11-12 Corinna Vinschen <corinna@vinschen.de>
1192
1193 * cygcheck.cc (dump_sysinfo): Add some more details.
1194
e4087b75
CV
11952001-11-12 Corinna Vinschen <corinna@vinschen.de>
1196
1197 * cygcheck.cc (dump_sysinfo): Print more detailed OS information string
1198 using OSVERSIONINFOEX information.
1199
daccfdf9
CF
12002001-11-11 Christopher Faylor <cgf@redhat.com>
1201
1202 * path.h: New file.
1203
71f90de8
CF
12042001-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
da9e28d0
CF
12122001-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
d0d51791
CF
12182001-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
2fac517d
CF
12262001-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
9a6c0a24
CV
12362001-11-09 Corinna Vinschen <corinna@vinschen.de>
1237
1238 * cygcheck.cc (dump_sysinfo): Print more detailed OS information string.
1239
56c29a3c
CV
12402001-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.
58d4b72d 1253
86fbc3d9
ED
12542001-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
ae21eea6
CF
12612001-10-24 Christopher Faylor <cgf@redhat.com>
1262
53c79b98
CF
1263 * Makefile.in: Remove EXEEXT consideration. We always need .exe
1264 extensions.
ae21eea6 1265
011ec894
CV
12662001-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
c2198f84
CF
12772001-10-15 Christopher Faylor <cgf@redhat.com>
1278
53e61a86 1279 * mkpasswd.cc (enum_users): Shorten "unused" passwd field.
c2198f84 1280
5dec13e1
CF
12812001-10-13 Christopher Faylor <cgf@redhat.com>
1282
1283 * Makefile.in: Allow stdinc searching for dumper.
1284
b2a8510b
CF
1285Tue Oct 9 21:59:00 2001 Christopher Faylor <cgf@cygnus.com>
1286
48897dfe 1287 * Makefile.in (MINGW_INCLUDES): Accommodate changes in Makefile.common.
b2a8510b 1288
12f6d7bc
CF
1289Sun 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
53df7e2a
CF
1294Fri 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
7700f371
CF
1299Thu Sep 20 21:00:20 2001 Christopher Faylor <cgf@cygnus.com>
1300
1301 * Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.
1302
de6305a0
CF
1303Wed Sep 19 12:22:08 2001 Christopher Faylor <cgf@cygnus.com>
1304
1305 * Makefile.in: Filter newlib includes from mingw compilation.
1306
d353d5d6
ED
13072001-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
4e8b5fc3
ED
13162001-09-13 Egor Duda <deo@logos-m.ru>
1317
1318 * dumper.cc (main): Properly recognize negative pids (used by w9x).
1319
92ef5188
ED
13202001-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
0fb61528
CF
1328Wed 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
f90e39b5
CF
13342001-09-03 Michael A Chase <mchase@ix.netcom.com>
1335
1336 * mount.cc (mount_commands): Don't write /cygdrive/u mount points.
1337
bee722a5
CF
13382001-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
db8b09c3
CF
1345Sat Sep 1 15:58:11 2001 Christopher Faylor <cgf@cygnus.com>
1346
1347 * mount.cc (main): Eliminate excess arguments in printf.
1348
33bc8247
ED
13492001-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
34971f0f
CF
1360Tue Aug 28 14:45:02 2001 Christopher Faylor <cgf@cygnus.com>
1361
1362 * mount.cc (main): Issue correct warning for 'not enough arguments'.
1363
da3ea61e
CF
13642001-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
4c61c04c
CV
13692001-07-14 Chris Genly <chgenly@alum.mit.edu>
1370
1371 * regtool.cc (find_key): Handle keys with only one subkey.
1372
288f125e
CF
1373Wed Jun 27 22:46:10 2001 Christopher Faylor <cgf@cygnus.com>
1374
1375 * regtool.cc (find_key): Revert previous change.
1376
c135faa8
CF
1377Wed 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
12a9c874
CF
1381Fri 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
edcd155c
CF
1388Tue 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
64c41c76
CF
1393Sat 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
3ee14d68
ED
13982001-04-19 Egor Duda <deo@logos-m.ru>
1399
1400 * dumper.cc (dumper::init_core_dump): Set architecture field in dump
1401 header.
1402
8a3adc99
CV
1403Mon 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
9f425256 14212001-04-15 Michael A Chase <mchase@ix.netcom.com>
f90e39b5 1422
9f425256
CF
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
9f2cad57
CV
14282001-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.
9f425256 1434 (main): Add -o option. Invoke enum_groups with specified offset.
9f2cad57
CV
1435 * mkpasswd.c (enum_users): Just like mkgroup.c.
1436 (usage, longopts, opts): Ditto.
9f425256
CF
1437 (main): Add -o option. Invoke enum_users with specified offset only
1438 against domain accounts.
9f2cad57 1439
dd9752e8
ED
14402001-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
be61cf4d
CF
1450Mon 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
c6cd25a0
CF
1456Mon 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
ee576859
CF
1461Sat 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
ce637855
CV
1466Mon Mar 5 18:50:00 2001 Corinna Vinschen <vinschen@redhat.com>
1467
9f425256
CF
1468 * getfacl.c: Add copyright hint.
1469 * setfacl.c: Ditto.
1470 * strace.cc: Ditto.
ce637855 1471
37770e00
CF
1472Tue 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
b82a7a5e 1480Wed Jan 10 09:16:57 2001 Christopher Faylor <cgf@cygnus.com>
64069abe 1481
b82a7a5e
CF
1482 * regtool.cc (translate): Ensure that 'c' is initialized.
1483 (cmd_set): Ditto for rv.
This page took 0.287593 seconds and 5 git commands to generate.