| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* cygpath.cc: Include DDK headers.
(RtlAllocateUnicodeString): New static inline function.
(get_device_name): New static function to evaluate DOS path from
native NT path.
(get_device_paths): New function to do the same for path lists.
(doit): Call get_device_paths/get_device_name where appropriate.
|
| |
|
|
|
|
|
| |
doesn't return valid information for non-existant files. Just return
incoming filename in that case.
|
|
|
|
|
|
| |
GetLongPathName.
(doit): Create mixed filename after converting to short or long pathname
respectively.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cygcheck.cc: Add includes.
(grep_packages): New global variable.
(display_internet_error): New function.
(safe_chars): New global variable.
(base_url): Ditto.
(package_grep): New function.
(usage): Reword --help output for clarity. Document new argument.
(longopts): Add 'package-query' option.
(opts): Add 'p' option, reorder to be consistent with 'longopts'.
(main): Accommodate new option.
* utils.sgml (cygcheck): Update --help output. Document new -p option.
|
|
|
|
|
| |
* strace.cc (cygwin_internal): Ditto.
* cygpath.cc (print_version): Update copyright.
|
|
|
|
| |
a SEGV.
|
|
|
|
| |
of multiple file names as arguments.
|
|
|
|
| |
(from Igor Pechtchanski)
|
|
|
|
|
|
|
| |
(options): Ditto.
(usage): Report on new option.
(report_mode): New function.
(main): Implement -M option.
|
|
|
|
|
|
| |
* cygpath.cc (dowin): Report on filename conversion errors.
(doit): Ditto.
* strace.cc (main): Use symbolic constant for _STRACE_ALL when setting mask.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* cygcheck.cc: Just include <getopt.h> rather than cygwin version.
(pretty_id): Avoid compiler warnings.
* cygpath.cc (usage): Ditto.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
| |
* mkgroup.c (enum_local_users): Avoid compiler warning.
(enum_users): Ditto.
* mkpasswd.c: Ditto throughout.
* ssp.c: Ditto throughout.
|
|
|
|
|
|
| |
* cygpath.cc (options) New global variable.
(main) Make short options global for easier change.
(print_version) Add a missing newline.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
(dowin): Correct output of -t mixed for -ADHPSW options.
|
|
|
|
|
|
| |
and "mixed".
(main): Process options.
(doit): Check new options flags.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cygpath.cc (main): Add option l to support conversion to
Windows long file names. Refactured code for capital options.
Support of options from file for capital options.
(dowin): New function. Refactured from main.
(doit): Call long path conversion.
(get_long_name): New function.
(get_long_paths): New function.
(get_long_path_name_w32impl): New function. Reimplementation
of Windows API function GetLongPathName (only 98/Me/2000/XP or
higher).
(get_short_name): Call GetShortPathName only once.
(get_short_paths): Fix calculating buffer size.
* utils.sgml: Update cygpath section for l option.
|
|
|
|
|
|
|
|
|
| |
(get_short_name): Ditto.
* cygpath.cc (main): Add option H to show the Windows' profiles
directory. Support short names for options DPSW. Clean up
copied code lines.
* utils.sgml: Update cygpath section for H option and s support.
|
| |
|
|
|
|
|
|
| |
* cygpath.cc (print_version): New function.
(main): Accommodate new version function. Initialize 'o' to prevent warning.
* cygcheck.cc (main): Eliminate non-GNU formatting glitch.
|
| |
|
|
|
|
|
|
| |
Menu's Programs directory for current user or all users.
Move bulk of DPWS options outside the getopt case statement.
* utils.sgml: Update cygpath section for ADPWS options.
|
| |
|
|
|
|
|
|
| |
about errors converting a path.
(main): Set prog_name correctly -- don't leave an extra slash or backslash at
the beginning of it.
|
| |
|
|
|
|
|
| |
* cygpath.cc (usage): Alphabetize options.
* strace.cc (usage): Ditto.
|
|
|
|
| |
physical correct orthography for the Windows System dir.
|
| |
|
|
|
|
| |
* utils.sgml: Document the new options.
|
|
|
|
| |
* utils.sgml: and document them
|
|
|
|
|
|
|
|
|
| |
* cygpath.cc: Reorganize includes to accomodate sys/cygwin.h changes.
* mkgroup.c: Ditto.
* mkpasswd.c: Ditto.
* mount.cc: Ditto. Eliminate use of cygwin source specific includes.
* ps.cc: Ditto.
* cygwin.cc: Eliminate obsolete file.
|
|
|
|
| |
(doit): Ditto.
|
|
|
|
| |
(doit): New function.
|
|
|