summaryrefslogtreecommitdiffstats
path: root/usr.bin/strip
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-07-02 22:51:33 +0000
committerdd <dd@FreeBSD.org>2001-07-02 22:51:33 +0000
commit0e52764a02d5e49443a565960b98b9b65b6653a7 (patch)
tree5dcfc6b39ae9bc4a1b2b34a878ebaa1d824249df /usr.bin/strip
parentbbe2a9958251b6354eb8a29574e5a32ee240e3cf (diff)
downloadFreeBSD-src-0e52764a02d5e49443a565960b98b9b65b6653a7.zip
FreeBSD-src-0e52764a02d5e49443a565960b98b9b65b6653a7.tar.gz
Revert previous commit; it broke large file support on platforms that
had it to begin with (e.g., the Alpha). Submitted by: bde
Diffstat (limited to 'usr.bin/strip')
-rw-r--r--usr.bin/strip/strip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/strip/strip.c b/usr.bin/strip/strip.c
index 3c41feb..03ba76c 100644
--- a/usr.bin/strip/strip.c
+++ b/usr.bin/strip/strip.c
@@ -180,7 +180,7 @@ s_stab(fn, fd, ep)
}
/* Check size. */
- if (sb.st_size > (unsigned)SIZE_T_MAX) {
+ if (sb.st_size > SIZE_T_MAX) {
warnx("%s: %s", fn, strerror(EFBIG));
err_val = 1;
return;
OpenPOWER on IntegriCloud