Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/miscutils/chat.c


Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/miscutils/chat.c

    r3232 r3621  
    1818
    1919#include "libbb.h"
     20#include "common_bufsiz.h"
    2021
    2122// default timeout: 45 sec
     
    286287                && (pfd.revents & POLLIN)
    287288            ) {
    288 #define buf bb_common_bufsiz1
    289289                llist_t *l;
    290290                ssize_t delta;
     291#define buf bb_common_bufsiz1
     292                setup_common_bufsiz();
    291293
    292294                // read next char from device
     
    297299                    }
    298300                    // dump device input if ECHO ON
    299                     if (echo > 0) {
     301                    if (echo) {
    300302//                      if (buf[buf_len] < ' ') {
    301303//                          full_write(STDERR_FILENO, "^", 1);
Note: See TracChangeset for help on using the changeset viewer.