mount --show-cygdrive-prefixes patch
Jason Tishler
Jason.Tishler@dothill.com
Wed Nov 8 05:53:00 GMT 2000
See attached for the second version of my patch that enhances mount
--show-cygdrive-prefixes to display the flags too. This version
allows the old mount (and other programs that expect the original
CW_GET_CYGDRIVE_PREFIXES functionality) to continue to run without
crashing with the new version of the DLL.
The following is the cygwin ChangeLog:
Wed Nov 8 08:49:27 2000 Jason Tishler <jt@dothill.com>
* external.cc (get_cygdrive_info): New function.
* external.cc (get_cygdrive_prefixes): Change to use get_cygdrive_info
but toss the user and system flags.
* external.cc (cygwin_internal): Add new CW_GET_CYGDRIVE_INFO case.
* path.cc (mount_info::get_cygdrive_prefixes): Remove method.
* path.cc (mount_info::get_cygdrive_info): New method. Actually,
get_cygdrive_info is really an enhanced version of get_cygdrive_prefixes
renamed to get_cygdrive_info that also gets the user and system flags.
* shared_info.h (get_cygdrive_prefixes): Remove method.
* shared_info.h (get_cygdrive_info): New method.
* include/cygwin/version.h: Bump minor API version due to adding
CW_GET_CYGDRIVE_INFO to cygwin_internal.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_CYGDRIVE_INFO.
The following is the utils ChangeLog:
Wed Nov 8 08:49:27 2000 Jason Tishler <jt@dothill.com>
* mount.cc (main): Call show_cygdrive_info instead of
show_cygdrive_prefixes.
* mount.cc (show_cygdrive_prefixes): Remove function.
* mount.cc (show_cygdrive_info): New function. Actually,
show_cygdrive_info is really an enhanced version of
show_cygdrive_prefixes renamed to show_cygdrive_info that also displays
the user and system flags.
Thanks,
Jason
--
Jason Tishler
Director, Software Engineering Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation Fax: +1 (732) 264-8798
82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com
More information about the Cygwin-developers
mailing list