Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Globbing for Empty Directories?
- X-seq: zsh-workers 19720
- From: Geoff Wing <mason@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: Re: Globbing for Empty Directories?
- Date: Thu, 1 Apr 2004 22:49:00 +0000 (UTC)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: PrimeNet Computer Consultants
- References: <20040401184336.DC34B8646@xxxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: mason@xxxxxxxxxxxxxxx
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