svn commit: trunk/busybox: archival/bz networking shell
vda at busybox.net
vda at busybox.net
Wed Oct 17 11:08:54 UTC 2007
Author: vda
Date: 2007-10-17 04:08:53 -0700 (Wed, 17 Oct 2007)
New Revision: 20272
Log:
ash: use fdprintf, not dprintf.
*: trailing whitespace removed
Modified:
trunk/busybox/archival/bz/compress.c
trunk/busybox/networking/telnetd.c
trunk/busybox/shell/ash.c
Changeset:
Modified: trunk/busybox/archival/bz/compress.c
===================================================================
--- trunk/busybox/archival/bz/compress.c 2007-10-17 10:14:11 UTC (rev 20271)
+++ trunk/busybox/archival/bz/compress.c 2007-10-17 11:08:53 UTC (rev 20272)
@@ -418,7 +418,7 @@
/*
* Increment the symbol frequencies for the selected table.
*/
-/* 1% faster compress. +800 bytes */
+/* 1% faster compress. +800 bytes */
#if CONFIG_BZIP2_FEATURE_SPEED >= 4
if (nGroups == 6 && 50 == ge-gs+1) {
/*--- fast track the common case ---*/
Modified: trunk/busybox/networking/telnetd.c
===================================================================
--- trunk/busybox/networking/telnetd.c 2007-10-17 10:14:11 UTC (rev 20271)
+++ trunk/busybox/networking/telnetd.c 2007-10-17 11:08:53 UTC (rev 20272)
@@ -141,7 +141,7 @@
}
}
- num_totty = totty - ptr0;
+ num_totty = totty - ptr0;
*pnum_totty = num_totty;
/* the difference between ptr and totty is number of iacs
we removed from the stream. Adjust buf1 accordingly. */
Modified: trunk/busybox/shell/ash.c
===================================================================
--- trunk/busybox/shell/ash.c 2007-10-17 10:14:11 UTC (rev 20271)
+++ trunk/busybox/shell/ash.c 2007-10-17 11:08:53 UTC (rev 20272)
@@ -8237,12 +8237,12 @@
const char *p = " %s";
p++;
- dprintf(preverrout_fd, p, expandstr(ps4val()));
+ fdprintf(preverrout_fd, p, expandstr(ps4val()));
sp = varlist.list;
for (n = 0; n < 2; n++) {
while (sp) {
- dprintf(preverrout_fd, p, sp->text);
+ fdprintf(preverrout_fd, p, sp->text);
sp = sp->next;
if (*p == '%') {
p--;
More information about the busybox-cvs
mailing list