diff options
author | Ron Yorston <rmy@pobox.com> | 2012-09-07 11:48:25 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-09-07 11:48:25 +0100 |
commit | fecf687cc358883de2da21de33346f0df204c80b (patch) | |
tree | d22c606157926fb659374ae68d55e3a874bacf25 /coreutils | |
parent | b25a7c28a0f684087fa6ccbbc7e265a9cac0f0fa (diff) | |
parent | 6d463de46b418e6c4c8d1397033608f78b33ab21 (diff) | |
download | busybox-w32-fecf687cc358883de2da21de33346f0df204c80b.tar.gz busybox-w32-fecf687cc358883de2da21de33346f0df204c80b.tar.bz2 busybox-w32-fecf687cc358883de2da21de33346f0df204c80b.zip |
Merge branch 'busybox' into merge
Conflicts:
include/libbb.h
shell/ash.c
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/od_bloaty.c | 2 | ||||
-rw-r--r-- | coreutils/stat.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/coreutils/od_bloaty.c b/coreutils/od_bloaty.c index 8497722ba..7a6f22b03 100644 --- a/coreutils/od_bloaty.c +++ b/coreutils/od_bloaty.c | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | //usage:#if ENABLE_DESKTOP | 26 | //usage:#if ENABLE_DESKTOP |
27 | //usage:#define od_trivial_usage | 27 | //usage:#define od_trivial_usage |
28 | //usage: "[-abcdfhilovxs] [-t TYPE] [-A RADIX] [-N SIZE] [-j SKIP] [-S MINSTR] [-w WIDTH] [FILE...]" | 28 | //usage: "[-abcdfhilovxs] [-t TYPE] [-A RADIX] [-N SIZE] [-j SKIP] [-S MINSTR] [-w WIDTH] [FILE]..." |
29 | // We don't support: | 29 | // We don't support: |
30 | // ... [FILE] [[+]OFFSET[.][b]] | 30 | // ... [FILE] [[+]OFFSET[.][b]] |
31 | // Support is buggy for: | 31 | // Support is buggy for: |
diff --git a/coreutils/stat.c b/coreutils/stat.c index 2797719dd..3fb212f0f 100644 --- a/coreutils/stat.c +++ b/coreutils/stat.c | |||
@@ -99,9 +99,15 @@ static const char *file_type(const struct stat *st) | |||
99 | if (S_ISFIFO(st->st_mode)) return "fifo"; | 99 | if (S_ISFIFO(st->st_mode)) return "fifo"; |
100 | if (S_ISLNK(st->st_mode)) return "symbolic link"; | 100 | if (S_ISLNK(st->st_mode)) return "symbolic link"; |
101 | if (S_ISSOCK(st->st_mode)) return "socket"; | 101 | if (S_ISSOCK(st->st_mode)) return "socket"; |
102 | #ifdef S_TYPEISMQ | ||
102 | if (S_TYPEISMQ(st)) return "message queue"; | 103 | if (S_TYPEISMQ(st)) return "message queue"; |
104 | #endif | ||
105 | #ifdef S_TYPEISSEM | ||
103 | if (S_TYPEISSEM(st)) return "semaphore"; | 106 | if (S_TYPEISSEM(st)) return "semaphore"; |
107 | #endif | ||
108 | #ifdef S_TYPEISSHM | ||
104 | if (S_TYPEISSHM(st)) return "shared memory object"; | 109 | if (S_TYPEISSHM(st)) return "shared memory object"; |
110 | #endif | ||
105 | #ifdef S_TYPEISTMO | 111 | #ifdef S_TYPEISTMO |
106 | if (S_TYPEISTMO(st)) return "typed memory object"; | 112 | if (S_TYPEISTMO(st)) return "typed memory object"; |
107 | #endif | 113 | #endif |