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

Re: PATCH: Re: Globbing for Empty Directories?



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

Really?

Regards,
Geoff



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