Wed, Feb 20, 2002 at 03:48:53PM -0800 wrote: > On Wed, Feb 20, 2002 at 11:18:03PM +0100, Eduard Bloch wrote: > > David Kimdon wrote on Tue Feb 19, 2002 um 08:33:42PM: > > > There is a note in choose_medium.c that indicates we are assuming this > > > file ("/proc/sys/dev/cdrom/info") will not exist if there is no cdrom > > > present. It appears as though we are wrong. I'll take a look at how > > > to deal with this more gracefully than SIGSEGV. > > > > Okay, I rewrote have_cdrom(), moving it to util.c and made other parts > > that used the procfs file to trough have_cdrom first. Please test the > > attached patch. I currently cannot because of the UTF8 trouble, and no > > time to look how to fix it. > > Where does dbootstrap currently segfault?
FWIW I couldn't reproduce the segfault. I used the same "/proc/sys/dev/cdrom/info" as in the bug report and got fine behavior. -David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]