On Sat, Dec 28, 2002 at 12:53:28PM +0000, Ian Jackson wrote: > H. S. Teoh writes ("Bug#12411: [PATCH] A better Directory Lister example"): > ... > > I have declined to address this, since this example is mainly concerned > > with using the libc directory reading functions, not with handling stdout > > errors. > > I actually think it's a libc bug, #28250.
OK, IMHO, #28250 should be considered a more encompassing bug that includes this particular issue. I think for the purposes of #12411, it should be sufficient to leave it as it is, since when (if) #28250 gets resolved, we'll either have to revisit everything anyway, or it would be a non-issue (depending on which of the two main options are taken, according to the discussion in #28250 and related bugs). [snip] > > > * it prints the error message about failing to open the directory to > > > stdout instead of stderr; > > > > The current version of the info file uses perror(), which, as far as I > > know, print to stderr, not stdout. > > I think some of the things I reported must have been fixed in the > meantime. [snip] Yep. So does the current example (+ patch) sufficiently address the issues in this bug that it can be closed? T -- VI = Visual Irritation