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...
This commit is contained in:
parent
72615752db
commit
998f449375
@ -82,7 +82,7 @@ static int bsd_sum_file(const char *file, int print_name)
|
|||||||
#define MY_BUF_SIZE 8192
|
#define MY_BUF_SIZE 8192
|
||||||
static int sysv_sum_file(const char *file, int print_name)
|
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;
|
int fd;
|
||||||
uintmax_t total_bytes = 0;
|
uintmax_t total_bytes = 0;
|
||||||
|
|
||||||
|
@ -209,7 +209,7 @@ int tr_main(int argc, char **argv)
|
|||||||
int idx = 1;
|
int idx = 1;
|
||||||
int i;
|
int i;
|
||||||
RESERVE_CONFIG_BUFFER(output, BUFSIZ);
|
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(invec, ASCII+1);
|
||||||
RESERVE_CONFIG_BUFFER(outvec, ASCII+1);
|
RESERVE_CONFIG_BUFFER(outvec, ASCII+1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user