Skip to content

nftw, ftw: add wrappers

Mark Hatle yocto-patches 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 2 repliesIn review

Changes in v3 from the cover letter

Rework from Mark Hatle

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Move ftw and ftw64 to calling ntfw and nftw64guts/README ports/linux/guts/ftw64.c ports/unix/guts/ftw.c+19 -40 replies
2/3nftw, nftw64: add wrapperguts/README ports/linux/guts/nftw64.c ports/linux/pseudo_wrappers.c +3 more+219 -41 reply
3/3ftw, nftw, ftw64 and nftw64: add testsMakefile.in test/ftw-test-impl.c test/nftw-test-impl.c +5 more+570 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [pseudo][PATCH v3 0/3] nftw, ftw: add wrappers

From: Mark Hatle <[email protected]>

Note in this set patch 3/3 does not work yet. The test cases need more work.

v3:
Rework from Mark Hatle

Split the ftw/ftw64 -> nftw/nftw64 change from the rest Rework the integration around the nftw* wrappers Respond to comments from Gyorgy

v2:
Rework from Gyorgy Sarvari

Gyorgy Sarvari via lists.yoctoproject.org (2):
nftw, nftw64: add wrapper
ftw, nftw, ftw64 and nftw64: add tests

Mark Hatle (1):
Move ftw and ftw64 to calling ntfw and nftw64

 Makefile.in                         |   4 +-
 guts/README                         |   8 +-
 ports/linux/guts/ftw64.c            |   9 +-
 ports/linux/guts/nftw64.c           |   2 +-
 ports/linux/pseudo_wrappers.c       |  10 ++
 ports/unix/guts/ftw.c               |  10 +-
 ports/unix/guts/nftw.c              |   2 +-
 ports/unix/guts/nftw_wrapper_base.c | 195 +++++++++++++++++++++++
 ports/unix/pseudo_wrappers.c        |  10 ++
 test/ftw-test-impl.c                | 226 ++++++++++++++++++++++++++
 test/nftw-test-impl.c               | 236 ++++++++++++++++++++++++++++
 test/test-ftw.c                     |   4 +
 test/test-ftw64.c                   |   4 +
 test/test-nftw.c                    |   4 +
 test/test-nftw.sh                   |  90 +++++++++++
 test/test-nftw64.c                  |   4 +
 16 files changed, 808 insertions(+), 10 deletions(-)
 create mode 100644 ports/unix/guts/nftw_wrapper_base.c
 create mode 100644 test/ftw-test-impl.c
 create mode 100644 test/nftw-test-impl.c
 create mode 100644 test/test-ftw.c
 create mode 100644 test/test-ftw64.c
 create mode 100644 test/test-nftw.c
 create mode 100755 test/test-nftw.sh
 create mode 100644 test/test-nftw64.c
Signature · 1 line
2.34.1