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/microcom.c

    r3232 r3621  
    2020
    2121#include "libbb.h"
     22#include "common_bufsiz.h"
    2223
    2324// set raw tty mode
     
    156157        }
    157158        if (pfd[0].revents) {
     159            ssize_t len;
    158160#define iobuf bb_common_bufsiz1
    159             ssize_t len;
     161            setup_common_bufsiz();
    160162            // read from device -> write to stdout
    161             len = safe_read(sfd, iobuf, sizeof(iobuf));
     163            len = safe_read(sfd, iobuf, COMMON_BUFSIZE);
    162164            if (len > 0)
    163165                full_write(STDOUT_FILENO, iobuf, len);
Note: See TracChangeset for help on using the changeset viewer.