mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
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.
|
||||
*/
|
||||
/* 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 ---*/
|
||||
|
@ -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. */
|
||||
|
@ -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--;
|
||||
|
Loading…
Reference in New Issue
Block a user