Email List: Xaustin-review-lX
[All Lists]

Defect in XSH nftw

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH nftw
From: yyy@xxxxxxxxxxxxx (Geoff Clare)
Date: Fri, 28 Feb 2003 12:10:57 +0000
@ page 828 line 26942 section nftw comment [gwc nftw example]

Problem:

Defect code :  1. Error

The nftw EXAMPLE section states:

    The following example walks the /tmp directory and its
    subdirectories, calling the nftw() function for every directory
    entry, to a maximum of 5 levels deep.

However, the spec does not require that passing depth=5 limits the
depth of the walk, only that a maximum of 5 file descriptors can be
used.

Action:

Change "to a maximum of 5 levels deep" to "and using a maximum of
5 file descriptors".

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XSH nftw, Geoff Clare <=