Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Re: Globbing for Empty Directories?



Geoff Wing <mason@xxxxxxxxxxxxxxx> typed:
: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx> typed:
:: +    while ((de = readdir(dirh))) {
:: +	if (strcmp(de->d_name, ".") && strcmp(de->d_name, "..")) {
:: +	    closedir(dirh);
:: +	    return 1;
:: +	}
:: +    }
:
: Really?

Oh, my braino.  Sorry for the noise.

Regards,
Geoff



Messages sorted by: Reverse Date, Date, Thread, Author