markm
aa3fa5ac74
Fix some easy warnings; ANSIfy, constify.
...
Fix VCS inclusion and deregister.
2002-04-28 12:04:20 +00:00
imp
1698cb216e
remove __P
2002-03-22 01:33:25 +00:00
obrien
f842b779c3
Expland the emalloc to do the testing at the place of mallocing.
2001-07-24 14:08:02 +00:00
asmodai
2f1d3e2cdf
Fix typo: seperate -> separate.
...
Seperate does not exist in the english language.
2001-02-06 11:21:58 +00:00
imp
3c95f9ccde
getopt and friends are declared in <unistd.h>
...
getopt returns -1 not EOF.
2000-09-04 06:09:54 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
bde
067f8c8dc9
Fixed classic sign extension bug `-(long)sizeof(foo)'.
...
Fixed the type of the string table size variable to match its use
(assuming that int32_t is 4 bytes and other unportable things).
bfd uses `unsigned char string_chars[BYTES_IN_WORD]', where
BYTES_IN_WORD can be 4, 8, or perhaps even 2 or 3, but it is
assumed to be precisely 4 bytes here.
Fixed printf format errors (don't assume that n_value in struct
n_list has type u_long, since it should have size BYTES_IN_WORD
and longs may be longer than words).
1998-07-06 21:45:12 +00:00
charnier
7714fda3a9
Use err(3). Add missing flags in usage string.
1997-07-31 06:53:36 +00:00
imp
141381e1cb
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
peter
4c88ad3be8
Drat, had the N_FN overloading based on N_EXT backwards. N_EXT = filename,
...
no N_EXT is a "warning". eg:
% nm -p /tmp/gets.o
...
00000000 w warning: this program uses gets(), which is unsafe.
U _gets
00000000 T _gets
1996-09-24 15:56:26 +00:00
peter
142a5685e6
Rudimentry support for viewing weak symbols. There are two types that
...
this deals with, the N_INDR indirect symbols done with .stabs operations,
and those done with .weak that have an extra field in n_other.
1996-09-24 09:59:43 +00:00
jkh
730964efd2
General -Wall warning cleanup, part I.
...
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:08:36 +00:00
phk
7fd77d5502
Add -t option which prints output in tabular format.
1995-12-19 08:12:07 +00:00
rgrimes
a14d555c87
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
ache
919e577eb7
Fix bug with printing out short archive entries,
...
incorrect padding
1994-12-28 14:11:21 +00:00
ache
9c459c8906
Additional longname fix
...
Submitted by: dufault@hda.com
1994-12-28 13:19:39 +00:00
ache
917d2f1645
Fix for handling long archive names
...
Submitted by: dufault@hda.com
1994-12-28 00:47:24 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00