* cygwin.sc: Use simpler method to align .cygheap.
* dllfixdbg: Just copy .stab and .stabstr sections when making cygwin1.dbg, rather than relying on objcopy to keep only the debug sections since objcopy seems to get it wrong. * dtable.cc (build_fh_pc): Check setting fh to fhandler_nodevice for NULL, too.
This commit is contained in:
@@ -473,14 +473,13 @@ build_fh_pc (path_conv& pc)
|
||||
}
|
||||
}
|
||||
|
||||
if (!fh)
|
||||
set_errno (EMFILE);
|
||||
if (fh == fh_unset)
|
||||
fh = cnew (fhandler_nodevice) ();
|
||||
|
||||
if (fh)
|
||||
fh->set_name (pc);
|
||||
else
|
||||
{
|
||||
if (fh == fh_unset)
|
||||
fh = cnew (fhandler_nodevice) ();
|
||||
fh->set_name (pc);
|
||||
}
|
||||
set_errno (EMFILE);
|
||||
|
||||
debug_printf ("fh %p", fh);
|
||||
return fh;
|
||||
|
Reference in New Issue
Block a user