diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 17:54:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 17:54:47 +0000 |
commit | 7039a66b58706457c7423de60556e04545432943 (patch) | |
tree | a512daebc3674c819766664c8ea17d41ef7fef02 /coreutils/catv.c | |
parent | 1385899416a4396385ad421ae1f532be7103738a (diff) | |
download | busybox-w32-7039a66b58706457c7423de60556e04545432943.tar.gz busybox-w32-7039a66b58706457c7423de60556e04545432943.tar.bz2 busybox-w32-7039a66b58706457c7423de60556e04545432943.zip |
correct largefile support, add comments about it.
Diffstat (limited to 'coreutils/catv.c')
-rw-r--r-- | coreutils/catv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/catv.c b/coreutils/catv.c index 55656b4b2..a5a8b43e4 100644 --- a/coreutils/catv.c +++ b/coreutils/catv.c | |||
@@ -15,7 +15,7 @@ | |||
15 | int catv_main(int argc, char **argv) | 15 | int catv_main(int argc, char **argv) |
16 | { | 16 | { |
17 | int retval = EXIT_SUCCESS, fd; | 17 | int retval = EXIT_SUCCESS, fd; |
18 | unsigned long flags; | 18 | unsigned flags; |
19 | 19 | ||
20 | flags = getopt32(argc, argv, "etv"); | 20 | flags = getopt32(argc, argv, "etv"); |
21 | #define CATV_OPT_e (1<<0) | 21 | #define CATV_OPT_e (1<<0) |
@@ -51,8 +51,8 @@ int catv_main(int argc, char **argv) | |||
51 | } | 51 | } |
52 | if (c < 32) { | 52 | if (c < 32) { |
53 | if (c == 10) { | 53 | if (c == 10) { |
54 | if (flags & CATV_OPT_e) | 54 | if (flags & CATV_OPT_e) |
55 | putchar('$'); | 55 | putchar('$'); |
56 | } else if (flags & (c==9 ? CATV_OPT_t : CATV_OPT_v)) { | 56 | } else if (flags & (c==9 ? CATV_OPT_t : CATV_OPT_v)) { |
57 | bb_printf("^%c", c+'@'); | 57 | bb_printf("^%c", c+'@'); |
58 | continue; | 58 | continue; |