Article View: gnu.utils.bug
Article #1536(none)
From: Mike Haertel
Date: Tue, 04 Apr 1989 05:10
Date: Tue, 04 Apr 1989 05:10
5 lines
697 bytes
697 bytes
In the various binutil programs, reading just an int from the beginning of a file to get its magic number is idiotic. What if the magic number isn't an int, or isn't right at the beginning? If the programs were properly written they would read a struct exec, rather than making a kludgy assumption about its internal format.
Technical Details
Message-ID:
<8904040510.AA15711@thor.acc.stolaf.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!THOR.STOLAF.EDU!mikeShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!THOR.STOLAF.EDU!mike From: mike@THOR.STOLAF.EDU (Mike Haertel) Newsgroups: gnu.utils.bug Subject: (none) Message-ID: <8904040510.AA15711@thor.acc.stolaf.edu> Date: 4 Apr 89 05:10:37 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 5