bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do I need "ifdef HAVE_UNISTD_H" if I import unistd?


From: Sam Steingold
Subject: Re: do I need "ifdef HAVE_UNISTD_H" if I import unistd?
Date: Mon, 16 May 2011 18:13:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> * Eric Blake <address@hidden> [2011-05-16 15:57:43 -0600]:
>
> On 05/16/2011 03:56 PM, Sam Steingold wrote:
>> 
>> from the way VC_LIST_ALWAYS_EXCLUDE_REGEX is used, this appears to be TRT:
>> 
>> VC_LIST_ALWAYS_EXCLUDE_REGEX = ChangeLog|configure|config.in.h|aclocal.m4
>
> | outside () is different than (|).  Try:
>
> VC_LIST_ALWAYS_EXCLUDE_REGEX = \
>  ^(ChangeLog|configure|config.in.h|aclocal.m4)$$

does not work either.

also, this seems wrong because

1. when VC_LIST_ALWAYS_EXCLUDE_REGEX is used, it is put inside ()

2. my output looks like this:

../src/../src/configure:31052:#ifdef HAVE_UNISTD_H
../src/../src/configure:31330:#ifdef HAVE_UNISTD_H
../src/../src/configure:31425:#ifdef HAVE_UNISTD_H
../src/../src/configure:31538:#ifdef HAVE_UNISTD_H
../src/../src/configure:31562:#ifdef HAVE_UNISTD_H

so "^" does not look right.

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 
11.0.60900031
http://dhimmi.com http://ffii.org http://memri.org http://truepeace.org
http://jihadwatch.org http://www.PetitionOnline.com/tap12009/
Experience comes with debts.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]