*BSD News Article 45194


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!mel.dit.csiro.au!merlin!harbinger.cc.monash.edu.au!simtel!noc.netcom.net!ix.netcom.com!howland.reston.ans.net!swrinde!gatech!news.mathworks.com!news.kei.com!nntp.et.byu.edu!news.byu.edu!hamblin.math.byu.edu!park.uvsc.edu!usenet
From: Terry Lambert <terry@cs.weber.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Major strcmp bug under BSD 2.0?
Date: 6 Jun 1995 18:31:36 GMT
Organization: Utah Valley State College, Orem, Utah
Lines: 30
Message-ID: <3r26u8$84k@park.uvsc.edu>
References: <3qfn52$188j@troy.la.locus.com> <3qo3m8$aq7@park.uvsc.edu> <3qvdsn$ioo@helena.MT.net> <3qvs1d$oj6@park.uvsc.edu> <3r0l05$58c@agate.berkeley.edu>
NNTP-Posting-Host: hecate.artisoft.com

jkh@violet.berkeley.edu (Jordan K. Hubbard) wrote:
] Bogus?  Oh, I don't think so.  Assuming that the resurrection of the
] tool chain is your only possible recourse, then sure - your argument
] holds water.  However, thank heavens that Real Life(tm) is somewhat
] more flexible!  I've resurrected my ld.so by discovering it in
] my /usr/obj dir and copying it up, by tftp'ing it, by grabbing it off
] of a DOS floppy, all kinds of ways!  Not once have I needed to reboot
] the machine from a floppy or do anything really drastic to get ld.so back.
] It was usually enough to go "woo sh*t!  did I really just do that??"
] and use one of the many fine _statically linked_ tools to copy a new
] one into place before things got too far out of hand! :-)

So, in the special case of a failure that specifically targets
ld.so (I suppose it, for some reason, has worse karma than than
init, sh, and all the other programs in /sbin, for the sake of
argument 8-)) or a shared lib like libc.so (who was apparently
the designer of segmented architectures in a past life -- wooo!
rack up that negative karma!), you can recover without putting
in your fixit floppy.

Seems marginal at best... you can recover from some errors, while
other errors require a tool that would let you recover from all
errors without playing learn-both-tools.


                                        Terry Lambert
                                        terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.