From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1879 invoked from network); 2 Apr 2004 02:02:37 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 2 Apr 2004 02:02:37 -0000 Received: (qmail 27103 invoked by alias); 2 Apr 2004 02:02:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19721 Received: (qmail 27092 invoked from network); 2 Apr 2004 02:02:29 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 2 Apr 2004 02:02:29 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 2 Apr 2004 2:2:29 -0000 Received: (qmail 30471 invoked from network); 2 Apr 2004 02:02:29 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (@203.24.36.2) by a.mx.sunsite.dk with SMTP; 2 Apr 2004 02:02:26 -0000 Received: (qmail 5087 invoked by uid 8); 2 Apr 2004 02:02:23 -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: Fri, 2 Apr 2004 02:02:22 +0000 (UTC) Organization: PrimeNet Computer Consultants Message-ID: References: Reply-To: mason@primenet.com.au NNTP-Posting-Host: sparkles.primenet.com.au X-Trace: coral.primenet.com.au 1080871342 25660 203.43.15.10 (2 Apr 2004 02:02:22 GMT) X-Complaints-To: usenet@coral.primenet.com.au NNTP-Posting-Date: Fri, 2 Apr 2004 02:02:22 +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 Geoff Wing typed: : Peter Stephenson 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