src/winsup/cygwin ChangeLog gendef

2009-03-14 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-03-14 09:14:47

Modified files:
winsup/cygwin  : ChangeLog gendef 

Log message:
* gendef: Remove STABS directives.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4403&r2=1.4404
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/gendef.diff?cvsroot=src&r1=1.30&r2=1.31



src/winsup/utils ChangeLog cygcheck.cc cygpath ...

2009-03-14 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-03-14 14:56:20

Modified files:
winsup/utils   : ChangeLog cygcheck.cc cygpath.cc 
Added files:
winsup/utils   : wide_path.h 

Log message:
* wide_path.h (class wide_path): New class to convert Windows path
to WCHAR win32 path, including long path conversion if necessary.
* cygcheck.cc: Use class wide_path throughout to call Win32 functions
taking potentially long filenames.
(display_error): Use snprintf rather than sprintf.
(display_error_fmt): Ditto.
(dump_sysinfo): Use FindFirstFileW/FindNextFileW.
* cygpath.cc: Use class wide_path throughout to call Win32 functions
taking potentially long filenames.
(get_device_name): Raise buffer size to take long pathnames.
(get_short_paths): Convert to using GetShortPathNameW.
(get_short_name): Ditto.
(get_long_path_name_w32impl): Convert to equivalent of GetLongPathNameW.
(get_long_name): Convert to using GetLongPathNameW.
(do_sysfolders): Raise buffer size for POSIX pathname to PATH_MAX.
(do_pathconv): In case of POSIX->Win32 conversion, convert to wchar_t
Win32 path name and drop long pathname prefix if possible.
(main): Call setlocale to accommodate wide char/multibyte conversions.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/wide_path.h.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=src&r1=1.453&r2=1.454
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/cygcheck.cc.diff?cvsroot=src&r1=1.111&r2=1.112
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/cygpath.cc.diff?cvsroot=src&r1=1.51&r2=1.52



src/winsup/utils ChangeLog path.cc

2009-03-14 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-03-14 14:58:05

Modified files:
winsup/utils   : ChangeLog path.cc 

Log message:
* path.cc (from_fstab): Use wcstombs/mbstowcs instead of
WideCharToMultiByte/MultiByteToWideChar to accommodate current locale.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=src&r1=1.454&r2=1.455
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/path.cc.diff?cvsroot=src&r1=1.19&r2=1.20



winsup/cygwin ChangeLog path.cc

2009-03-14 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2009-03-14 18:35:28

Modified files:
cygwin : ChangeLog path.cc 

Log message:
* path.cc (warn_msdos): Don't warn about MS-DOS filenames encountered 
during
initialization.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.4404&r2=1.4405
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/path.cc.diff?cvsroot=uberbaum&r1=1.542&r2=1.543



winsup/utils ChangeLog ldd.cc

2009-03-14 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2009-03-14 18:40:59

Modified files:
utils  : ChangeLog ldd.cc 

Log message:
* ldd.cc (longopts): Add --dll option.
(get_module_filename): Generalized wrapper function which avoid path 
length
restrictions.
(load_dll): Handle special-case of inspecting a DLL.
(start_process): Accept an output parameter "isdll".  Detect when file 
to start
is a DLL and start a wrapper instead.
(print_dlls_and_kill_inferior): When dealing with a DLL, avoid printing
everything before the DLL itself first appears.  (This is not strictly 
correct
and should be fixed eventually)
(report): Deal with DLLs.  Don't set a breakpoint for DLLs, just let 
captive
ldd process terminate normally.  Pass dll info to 
print_dlls_and_kill_inferior.
(main): Handle special-case "--dll" option by loading the DLL and 
exiting.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/utils/ChangeLog.diff?cvsroot=uberbaum&r1=1.455&r2=1.456
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/utils/ldd.cc.diff?cvsroot=uberbaum&r1=1.2&r2=1.3