* path.cc (normalize_win32_path): Reorganize logic to accomodate chroot.

Always check for MAX_PATH overrun.  Avoid adding one too many backslashes when
src path begins with a slash.  From Corinna Vinschen.
* winsup.h: Force demangling for dll_crt0 for newer compilers.
This commit is contained in:
Christopher Faylor
2000-12-09 03:29:33 +00:00
parent 2efbc2a7df
commit 82c8d7ef8c
3 changed files with 35 additions and 27 deletions

View File

@@ -146,7 +146,7 @@ extern unsigned int signal_shift_subtract;
class per_process;
/* cygwin .dll initialization */
void dll_crt0 (per_process *);
void dll_crt0 (per_process *) __asm__ ("_dll_crt0__FP11per_process");
extern "C" void __stdcall _dll_crt0 ();
/* dynamically loaded dll initialization */