svn commit: trunk/busybox/coreutils

landley at busybox.net landley at busybox.net
Mon Apr 10 16:40:49 UTC 2006


Author: landley
Date: 2006-04-10 09:40:47 -0700 (Mon, 10 Apr 2006)
New Revision: 14784

Log:
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...


Modified:
   trunk/busybox/coreutils/sum.c
   trunk/busybox/coreutils/tr.c


Changeset:
Modified: trunk/busybox/coreutils/sum.c
===================================================================
--- trunk/busybox/coreutils/sum.c	2006-04-10 16:09:52 UTC (rev 14783)
+++ trunk/busybox/coreutils/sum.c	2006-04-10 16:40:47 UTC (rev 14784)
@@ -82,7 +82,7 @@
 #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;
 

Modified: trunk/busybox/coreutils/tr.c
===================================================================
--- trunk/busybox/coreutils/tr.c	2006-04-10 16:09:52 UTC (rev 14783)
+++ trunk/busybox/coreutils/tr.c	2006-04-10 16:40:47 UTC (rev 14784)
@@ -209,7 +209,7 @@
 	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);
 




More information about the busybox-cvs mailing list