annotate lib/ffsl.c @ 17325:9d7698fd5b5f

openpty: fix bug where HAVE_OPENPTY is mistakenly 1 Problem reported by Mats Erik Andersson in <http://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00051.html>. * m4/pty.m4 (gl_FUNC_OPENPTY): Define HAVE_OPENPTY when the openpty function exists, not merely when we intend to replace it. This corrects the 2013-01-31 patch, which mistakenly defined HAVE_OPENPTY even on hosts that lacked it.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 08 Feb 2013 08:03:23 -0800
parents d0eb709725f5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15428
4e3a37b1ceae ffsl, ffsll: new modules
Eric Blake <eblake@redhat.com>
parents:
diff changeset
1 #define FUNC ffsl
4e3a37b1ceae ffsl, ffsll: new modules
Eric Blake <eblake@redhat.com>
parents:
diff changeset
2 #define TYPE long int
15946
d0eb709725f5 ffsl, ffsll: Optimize for GCC.
Bruno Haible <bruno@clisp.org>
parents: 15428
diff changeset
3 #define GCC_BUILTIN __builtin_ffsl
15428
4e3a37b1ceae ffsl, ffsll: new modules
Eric Blake <eblake@redhat.com>
parents:
diff changeset
4 #include "ffsl.h"