On 13 Aug 2000, Miquel van Smoorenburg wrote:
> In article >Pine.LNX.4.10.10008130952490.11153-100000@dax.joh.cam.ac.uk>,
> James Sutherland <jas88@cam.ac.uk> wrote:
> >No need for a new call: just "ls file:*" to list the EA's attached to
> >"file". opendir() should certainly fail - it's not a directory in any way.
>
> The shell expands wildcards like "*" by using opendir() ...
Yes - on the DIRECTORY. NOT on an (unrelated, as far as the shell knows)
FILE! That would result in ENOTDIR...
James.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:29 EST