From: Rob Landley Date: Mon, 10 Apr 2006 16:40:47 +0000 (-0000) Subject: We use -funsigned-char now, so having a separate RESERVE_CONFIG_UBUFFER is X-Git-Tag: 1_2_0~566 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=998f4493756423877217239d2cc42eb8b83d50b3;p=oweals%2Fbusybox.git We use -funsigned-char now, so having a separate RESERVE_CONFIG_UBUFFER is a bit silly. Wean of that where it currently makes no difference... --- diff --git a/coreutils/sum.c b/coreutils/sum.c index eb919ab15..2edd92036 100644 --- a/coreutils/sum.c +++ b/coreutils/sum.c @@ -82,7 +82,7 @@ static int bsd_sum_file(const char *file, int print_name) #define MY_BUF_SIZE 8192 static int sysv_sum_file(const char *file, int print_name) { - RESERVE_CONFIG_UBUFFER(buf, MY_BUF_SIZE); + RESERVE_CONFIG_BUFFER(buf, MY_BUF_SIZE); int fd; uintmax_t total_bytes = 0; diff --git a/coreutils/tr.c b/coreutils/tr.c index adddf83d2..15a9d17b0 100644 --- a/coreutils/tr.c +++ b/coreutils/tr.c @@ -209,7 +209,7 @@ int tr_main(int argc, char **argv) int idx = 1; int i; RESERVE_CONFIG_BUFFER(output, BUFSIZ); - RESERVE_CONFIG_UBUFFER(vector, ASCII+1); + RESERVE_CONFIG_BUFFER(vector, ASCII+1); RESERVE_CONFIG_BUFFER(invec, ASCII+1); RESERVE_CONFIG_BUFFER(outvec, ASCII+1);