ash: use fdprintf, not dprintf.
*: trailing whitespace removed
This commit is contained in:
parent
31acd1ba0a
commit
0de37e10ed
@ -418,7 +418,7 @@ void sendMTFValues(EState* s)
|
|||||||
/*
|
/*
|
||||||
* Increment the symbol frequencies for the selected table.
|
* 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 CONFIG_BZIP2_FEATURE_SPEED >= 4
|
||||||
if (nGroups == 6 && 50 == ge-gs+1) {
|
if (nGroups == 6 && 50 == ge-gs+1) {
|
||||||
/*--- fast track the common case ---*/
|
/*--- fast track the common case ---*/
|
||||||
|
@ -141,7 +141,7 @@ remove_iacs(struct tsession *ts, int *pnum_totty)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
num_totty = totty - ptr0;
|
num_totty = totty - ptr0;
|
||||||
*pnum_totty = num_totty;
|
*pnum_totty = num_totty;
|
||||||
/* the difference between ptr and totty is number of iacs
|
/* the difference between ptr and totty is number of iacs
|
||||||
we removed from the stream. Adjust buf1 accordingly. */
|
we removed from the stream. Adjust buf1 accordingly. */
|
||||||
|
@ -8237,12 +8237,12 @@ evalcommand(union node *cmd, int flags)
|
|||||||
const char *p = " %s";
|
const char *p = " %s";
|
||||||
|
|
||||||
p++;
|
p++;
|
||||||
dprintf(preverrout_fd, p, expandstr(ps4val()));
|
fdprintf(preverrout_fd, p, expandstr(ps4val()));
|
||||||
|
|
||||||
sp = varlist.list;
|
sp = varlist.list;
|
||||||
for (n = 0; n < 2; n++) {
|
for (n = 0; n < 2; n++) {
|
||||||
while (sp) {
|
while (sp) {
|
||||||
dprintf(preverrout_fd, p, sp->text);
|
fdprintf(preverrout_fd, p, sp->text);
|
||||||
sp = sp->next;
|
sp = sp->next;
|
||||||
if (*p == '%') {
|
if (*p == '%') {
|
||||||
p--;
|
p--;
|
||||||
|
Loading…
Reference in New Issue
Block a user