From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3099 invoked from network); 30 May 2009 17:54:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from new-brage.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.254.104) by ns1.primenet.com.au with SMTP; 30 May 2009 17:54:07 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 60372 invoked from network); 30 May 2009 17:53:57 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 May 2009 17:53:57 -0000 Received: (qmail 21766 invoked by alias); 30 May 2009 17:53:51 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 27025 Received: (qmail 21750 invoked from network); 30 May 2009 17:53:51 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 30 May 2009 17:53:51 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id E651A80307FA for ; Sat, 30 May 2009 19:53:36 +0200 (CEST) Received: by cork.scru.org (Postfix, from userid 1000) id BC5C61042AF; Sat, 30 May 2009 17:53:33 +0000 (UTC) Date: Sat, 30 May 2009 17:53:33 +0000 From: Clint Adams To: zsh-workers@sunsite.dk Cc: bdefreese@debian.org Subject: PATCH: _GNU_SOURCE when __GNU__ Message-ID: <20090530175333.GA21771@scru.org> Mail-Followup-To: zsh-workers@sunsite.dk, bdefreese@debian.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.94.2/9406/Sat May 30 06:15:35 2009 on bifrost X-Virus-Status: Clean As far as I can tell, nothing is included up to this point which define __GLIBC__, so the Hurd wasn't getting the nanosecond-resolution structs guarded by __USE_MISC and thus was not able to use them in Src/cond.c. This has nothing to do with /dev/ptmx. Here is a band-aid: Index: Src/system.h =================================================================== RCS file: /cvsroot/zsh/zsh/Src/system.h,v retrieving revision 1.53 diff -u -r1.53 system.h --- Src/system.h 16 Jun 2008 22:50:44 -0000 1.53 +++ Src/system.h 30 May 2009 17:40:43 -0000 @@ -37,7 +37,7 @@ #endif #endif -#if defined(__linux) || defined(__GLIBC__) +#if defined(__linux) || defined(__GNU__) /* * Turn on numerous extensions. * This is in order to get the functions for manipulating /dev/ptmx.