svn commit: trunk/busybox: procps util-linux

Bernhard Fischer rep.nop at aon.at
Fri Oct 27 04:17:09 PDT 2006


On Fri, Oct 27, 2006 at 01:11:16PM +0200, Bernhard Fischer wrote:
>On Fri, Oct 27, 2006 at 02:34:23AM -0700, vda at busybox.net wrote:
>>Author: vda
>>Date: 2006-10-27 02:34:22 -0700 (Fri, 27 Oct 2006)
>>New Revision: 16455
>>
>>Log:
>>top: batch mode should output all processes
>>
>>
>>Modified:
>>   trunk/busybox/procps/top.c
>>   trunk/busybox/util-linux/fdisk.c
>
>>Modified: trunk/busybox/util-linux/fdisk.c
>>===================================================================
>>--- trunk/busybox/util-linux/fdisk.c	2006-10-27 09:05:40 UTC (rev 16454)
>>+++ trunk/busybox/util-linux/fdisk.c	2006-10-27 09:34:22 UTC (rev 16455)
>>@@ -2277,7 +2277,7 @@
>> 		if (start > limit)
>> 			break;
>> 		if (start >= temp+units_per_sector && num_read) {
>>-			printf(_("Sector %llu is already allocated\n"), (unsigned long long)temp);
>>+			printf(_("Sector "OFF_T_FMT" is already allocated\n"), temp);
>> 			temp = start;
>> 			num_read = 0;
>> 		}
>
>$ svn up
>At revision 16455.
>$ make CC=gcc-3.4
>  CC      util-linux/fdisk.o
>util-linux/fdisk.c: In function `add_partition':
>util-linux/fdisk.c:2280: error: syntax error before "OFF_T_FMT"
>make[1]: *** [util-linux/fdisk.o] Error 1
>make: *** [util-linux] Error 2
>
>Did you mean PRIu64 ?

Also, please get rid of all those _() mess.
I had put that define into platform.h so it could be made invisible in a
sane way, but someone has removed that apparently without thinking and
without cleaning it up.


More information about the busybox mailing list