From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 924 invoked from network); 1 Apr 2004 22:49:18 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 1 Apr 2004 22:49:18 -0000 Received: (qmail 23798 invoked by alias); 1 Apr 2004 22:49:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19720 Received: (qmail 23786 invoked from network); 1 Apr 2004 22:49:10 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 1 Apr 2004 22:49:10 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 1 Apr 2004 22:49:10 -0000 Received: (qmail 18764 invoked from network); 1 Apr 2004 22:49:10 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (@203.24.36.2) by a.mx.sunsite.dk with SMTP; 1 Apr 2004 22:49:07 -0000 Received: (qmail 6106 invoked by uid 8); 1 Apr 2004 22:49:00 -0000 To: zsh-workers@sunsite.dk Path: not-for-mail From: Geoff Wing X-Newsgroups: lists.zsh.workers Subject: Re: PATCH: Re: Globbing for Empty Directories? Date: Thu, 1 Apr 2004 22:49:00 +0000 (UTC) Organization: PrimeNet Computer Consultants Message-ID: References: <20040401184336.DC34B8646@pwstephenson.fsnet.co.uk> Reply-To: mason@primenet.com.au NNTP-Posting-Host: sparkles.primenet.com.au X-Trace: coral.primenet.com.au 1080859740 20095 203.43.15.10 (1 Apr 2004 22:49:00 GMT) X-Complaints-To: usenet@coral.primenet.com.au NNTP-Posting-Date: Thu, 1 Apr 2004 22:49:00 +0000 (UTC) User-Agent: slrn/0.9.8.0 (NetBSD) X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 Peter Stephenson typed: : + while ((de = readdir(dirh))) { : + if (strcmp(de->d_name, ".") && strcmp(de->d_name, "..")) { : + closedir(dirh); : + return 1; : + } : + } Really? Regards, Geoff