ash: use fdprintf, not dprintf.
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 17 Oct 2007 11:08:53 +0000 (11:08 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 17 Oct 2007 11:08:53 +0000 (11:08 -0000)
*: trailing whitespace removed

archival/bz/compress.c
networking/telnetd.c
shell/ash.c

index 724474e2d99aaeb5ca37bcb5416ba3c8466e690c..b72edbbd47911f1466dfc6dc454259068064d6b1 100644 (file)
@@ -418,7 +418,7 @@ void sendMTFValues(EState* s)
                        /*
                         * 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 ---*/
index f1927e069c57126258e7e4520f5ea10b7dd822ac..7b799dcf836ed3c92a7f4a4b162b05853d3b8313 100644 (file)
@@ -141,7 +141,7 @@ remove_iacs(struct tsession *ts, int *pnum_totty)
                }
        }
 
-       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. */
index 2b9a8ccb6d98772371376c75e6d9700b5741cbc7..52cf41ab5832f56eb353eaf8296148e86d01659f 100644 (file)
@@ -8237,12 +8237,12 @@ evalcommand(union node *cmd, int flags)
                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--;