[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH 0/7] Hurd and GNU/kFreeBSD portability fixes



Hi,
With this patch series, busybox once again builds on the Hurd and GNU/kFreeBSD,
and it also fixes one bug with "grep -cr" and symlinks to directories found as
a result of FreeBSD's handling of reading from directories:

    $ ls -lR grep.testdir
    grep.testdir:
    total 4
    drwxr-xr-x 2 jrtc27 jrtc27 4096 Oct  7 18:50 foo
    lrwxrwxrwx 1 jrtc27 jrtc27    3 Oct  7 18:49 symfoo -> foo

    grep.testdir/foo:
    total 4
    -rw-r--r-- 1 jrtc27 jrtc27 4 Oct  7 18:50 file
    $ grep -cr . grep.testdir
    grep.testdir/foo/file:1
    $ busybox grep -cr . grep.testdir
    grep.testdir/foo/file:1
    grep.testdir/symfoo:0

Regards,
James

James Clarke (7):
  blkdiscard: Only build on Linux
  df: Use statvfs instead of non-standard statfs
  networking: Fall back on IPPROTO_RAW when SOL_RAW is not defined
  xfuncs: Handle missing non-POSIX termios constants
  {udp_io,traceroute}: Standardise IPv6 PKTINFO handling to be portable
  grep: Skip grepping symlinks to directories
  libbb.h: Handle missing HOST_NAME_MAX; ensure MAXFOOLEN agrees with
    FOO_MAX

 coreutils/df.c          |  6 +++---
 findutils/grep.c        | 22 ++++++++++++++++++++--
 include/libbb.h         | 19 ++++++++++++++++++-
 libbb/udp_io.c          |  8 ++++++--
 libbb/xfuncs.c          | 10 ++++++++++
 networking/ping.c       |  8 ++++++++
 networking/traceroute.c | 16 +++++++++++-----
 util-linux/blkdiscard.c |  1 +
 8 files changed, 77 insertions(+), 13 deletions(-)

--
2.14.1


Reply to: