summaryrefslogtreecommitdiffstats
path: root/winsup/utils
Commit message (Collapse)AuthorAgeFilesLines
* fix typoChristopher Faylor2003-03-121-1/+1
|
* .Christopher Faylor2003-03-091-1/+1
|
* * getfacl.c (username): Fix ambiguous printf calls.Corinna Vinschen2003-03-092-6/+12
| | | | | (groupname): Ditto. (main): Ditto.
* * Makefile.in (strace.exe): Include mingw_getopt.o in link line.Christopher Faylor2003-03-046-10/+21
| | | | | | | | * cygcheck.cc (print_version): Update copyright. * strace.cc (print_version): Ditto. (main): Allow cygwin paths for -o option. (create_child): Allow cygwin path as argv[0]. * path.cc (path.cc): Allow UNC paths.
* Document new mkgroup,mkpasswd optionsJoshua Daniel Franklin2003-03-011-27/+47
|
* 2003-03-01 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2003-03-013-14/+32
| | | | | | | | * mkpasswd.cc (main): On Win95, output both a default line and a line for the current user (if known) with a pseudorandom uid. If the -u switch is given, produce a line for the specified user. * mkgroup.cc (main): On Win95 change the group name from "unknown" to "all".
* * Makefile.in (cygcheck.o): Fix so that actual mingw include files are used.Christopher Faylor2003-03-013-5/+94
| | | | | | | * cygcheck.cc (find_on_path): Translate from cygwin path when qualified path name found. (pretty_id): New function. Dump output of id command. (dump_sysinfo): Call pretty_id for CYGWIN=ntsec and CYGWIN=nontsec cases.
* * cygpath.cc (doit): Allocate more space for non-path filename.Christopher Faylor2003-02-122-5/+9
|
* * dump_setup.cc (compar): Use case insensitive comparisons.Christopher Faylor2003-02-072-11/+11
| | | | | (dump_setup): Calculate package_len based on already used "len". Don't bother with version_len.
* * dump_setup.cc (dump_setup): Compute the longest package nameCorinna Vinschen2003-02-072-1/+12
| | | | and align columns properly.
* * cygcheck.cc (common_apps): Add some more apps.Christopher Faylor2003-02-073-1/+13
| | | | * path.cc (get_cygdrive): Correctly set system flag.
* * cygwinenv.sgml: Add section for 'CYGWIN codepage:[ansi|oem]'Joshua Daniel Franklin2003-02-031-0/+9
|
* * Makefile.in (ALL_LDFLAGS): Remove newlib/libm from tools paths.Corinna Vinschen2003-01-222-3/+6
| | | | (MINGW_LDFLAGS): Remove in favor of definition from Makefile.common.
* * mkgroup.c: Fix copyright date.Corinna Vinschen2003-01-154-6/+12
| | | | | | | * mkpasswd.c: Ditto. * setfacl.c: Ditto. Fix ChangeLog typos.
* * setfacl (usage): Remove double ":" for mask and other.Corinna Vinschen2003-01-102-2/+6
|
* * mkpasswd.cc (current_user): Create.Corinna Vinschen2003-01-083-159/+350
| | | | | | | | | | | | | (usage): Reorganize to support Win95/98/ME. (main): Add option for -c. Reorganize to parse options for Win95/98/ME and to call current_user. Add username in gecos field on Win95/98/ME. * mkgroup.cc (enum_groups): Print gid with %u. (print_win_error): Create from passwd.cc. (current_group): Create. (usage): Reorganize to support Win95/98/ME. (main): Add option for -c. Reorganize to parse options for Win95/98/ME and to call current_group.
* minor reformattingChristopher Faylor2002-12-251-0/+2
|
* * setfacl.c (main): Place a single : after other and mask.Corinna Vinschen2002-12-153-5/+11
| | | | | * getfacl.c (getaclentry): Allow both : and :: for other and mask. (main): Remove extraneous break.
* * mkpasswd.c (main): Set pw_passwd field to '*' on 9x/Me.Corinna Vinschen2002-11-252-5/+9
|
* * setfacl.c (getperm): Set only `other' permission bits.Corinna Vinschen2002-11-242-4/+9
| | | | (getaclentry): Set a_id to -1 by default.
* * getfacl.c (permstr): Use `other' permission bits for requestingCorinna Vinschen2002-11-242-3/+8
| | | | ace permissions.
* * setfacl.c (usage): Add missing LF.Corinna Vinschen2002-11-082-1/+5
|
* * cygpath.cc (get_long_path_name_w32impl): Define similarly to GetLongPathName.Christopher Faylor2002-10-312-132/+105
| | | | | | | (get_long_name): Correctly prototype GetLongPathName. (get_long_paths): Implement using get_long_name to cut down on code duplication. (doit): Do various things to make path output work predictably.
* fix changelogChristopher Faylor2002-10-191-0/+1
|
* * mount.cc (usage): Correctly report default mode.Christopher Faylor2002-10-193-4/+8
|
* * cygpath.cc (close_arg): Remove unused static.Christopher Faylor2002-09-305-12/+20
| | | | | | | * mkgroup.c (enum_local_users): Avoid compiler warning. (enum_users): Ditto. * mkpasswd.c: Ditto throughout. * ssp.c: Ditto throughout.
* * cygcheck.cc: Include sys/time.h rather than time.h to avoid a compiler error.Christopher Faylor2002-09-192-1/+6
|
* * cygcheck.cc: Reorder includes to avoid compiler error.Christopher Faylor2002-09-172-2/+6
|
* Add final newlines to utilsJoshua Daniel Franklin2002-09-1514-13/+41
|
* 2002-09-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>Joshua Daniel Franklin2002-09-152-2/+10
| | | | | | * cygpath.cc (options) New global variable. (main) Make short options global for easier change. (print_version) Add a missing newline.
* output some newlines.Christopher Faylor2002-08-231-2/+2
|
* fix some glitchesChristopher Faylor2002-08-211-5/+5
|
* * regtool.cc (find_key): Add support for custom key separator.Christopher Faylor2002-08-132-3/+19
| | | | (usage): Document it.
* * mkgroup.c (main): Don't print an entry for "Everyone".Corinna Vinschen2002-08-023-4/+15
| | | | | * mkpasswd.c (print_special): Set pw_gid to 544 for SYSTEM user. (main): Don't print an entry for "Everyone".
* jdf fix.Christopher Faylor2002-07-161-6/+6
|
* jdf patchChristopher Faylor2002-07-111-102/+482
|
* more jdfChristopher Faylor2002-07-101-27/+54
|
* More jdf changes.Christopher Faylor2002-07-091-137/+176
|
* Joshua Daniel Franklin update.Christopher Faylor2002-07-081-62/+121
|
* doc patch.Christopher Faylor2002-07-071-76/+85
|
* * configure.in: Check for libiconv.a.Christopher Faylor2002-07-074-38/+78
| | | | | * configure: Regenerate. * Makefile.in: Add libiconv.a to libraries required for dumper.exe.
* * Makefile.in: Use MINGW stuff from Makefile.common.Christopher Faylor2002-07-072-9/+8
|
* * mkgroup.c: Add function pointers for functions from advapi32.dll.Corinna Vinschen2002-07-022-4/+28
| | | | | | (load_netapi): Load used functions from advapi32.dll. (main): Use function pointers instead of statically linked functions from advapi32.dll.
* * mount.cc (main): Ensure that mount_already_exists() also gets default flagChristopher Faylor2002-07-013-61/+117
| | | | | | | | | that is passed to do_mount. * cygpath.cc (long_options): Add "dos" and "mixed", correct "close", "file" and "type" to use NULL flag. (usage): Clean up usage output (more), accomodate new options. (main): Add --dos and --mixed options; accomodate all output forms in --type. Make UNIXy output default.
* Update from Joshua Daniel FranklinChristopher Faylor2002-06-251-120/+161
|
* * cygpath.cc (usage): Clean up usage output.Christopher Faylor2002-06-192-45/+55
| | | | (dowin): Correct output of -t mixed for -ADHPSW options.
* * passwd.c: Rearrange includes to avoid unnecessary warnings.Corinna Vinschen2002-06-142-15/+50
| | | | | | | | | | | | (GetPW): Add parameter to (dis)allow printing of Windows username. Use defines instead of numerical constants where possible. Try avoiding impersonation problem. Rearrange to print Windows username only if it's different from Cygwin username. (ChangePW): Use defines instead of numerical constants where possible. (main): Call GetPW with additional parameter. Change error text. * passwd.c (GetPW): Handle case of user-edited /etc/passwd with cygwin_internal (CW_EXTRACT_DOMAIN_AND_USER, ...).
* Add dumper.exe words from Egor Duda.Christopher Faylor2002-06-121-0/+46
|
* * path.cc (cygpath): Change MOUNT_AUTO to MOUNT_CYGDRIVE.Christopher Faylor2002-06-092-3/+8
| | | | (getmntent): Ditto.
* * mount.cc (main): Use default system/user flag for cygdrive stuff, too.Christopher Faylor2002-06-093-4/+12
| | | | | | (change_cygdrive_prefix): Change MOUNT_AUTO to MOUNT_CYGDRIVE. * umount.cc (remove_cygdrive_prefix): Ditto. (main): Use default system/user flag for cygdrive stuff, too.