This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
#7217: config.h comments for HAS_POLL incorrect
authorDavid Dyck <david.dyck@fluke.com>
Mon, 2 Jul 2001 14:58:27 +0000 (07:58 -0700)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Thu, 27 Jul 2006 15:30:03 +0000 (15:30 +0000)
http://rt.perl.org/rt3/Ticket/Display.html?id=7217
Subject: config.h comments for HAS_POLL incorrect

p4raw-id: //depot/metaconfig@28624

U/modified/d_poll.U [new file with mode: 0644]
U/perl/i_poll.U

diff --git a/U/modified/d_poll.U b/U/modified/d_poll.U
new file mode 100644 (file)
index 0000000..f4ca23f
--- /dev/null
@@ -0,0 +1,36 @@
+?RCS: $Id: d_poll.U,v 3.0.1.2 1997/02/28 15:38:17 ram Exp $
+?RCS:
+?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+?RCS: 
+?RCS: You may redistribute only under the terms of the Artistic Licence,
+?RCS: as specified in the README file that comes with the distribution.
+?RCS: You may reuse parts of this distribution only within the terms of
+?RCS: that same Artistic Licence; a copy of which may be found at the root
+?RCS: of the source tree for dist 3.0.
+?RCS:
+?RCS: $Log: d_poll.U,v $
+?RCS: Revision 3.0.1.2  1997/02/28  15:38:17  ram
+?RCS: patch61: mention that <poll.h> can be included if HAS_POLL defined
+?RCS:
+?RCS: Revision 3.0.1.1  1995/01/11  15:26:31  ram
+?RCS: patch45: created
+?RCS:
+?MAKE:d_poll: Inlibc
+?MAKE: -pick add $@ %<
+?S:d_poll:
+?S:    This variable conditionally defines the HAS_POLL symbol, which
+?S:    indicates to the C program that the poll() routine is available
+?S:    to poll active file descriptors.
+?S:.
+?C:HAS_POLL :
+?C:    This symbol, if defined, indicates that the poll routine is
+?C:    available to poll active file descriptors. You may safely
+?C:    include <poll.h> when both this symbol *and* I_POLL are defined.
+?C:.
+?H:#$d_poll HAS_POLL           /**/
+?H:.
+?LINT:set d_poll
+: see if poll exists
+set poll d_poll
+eval $inlibc
+
index 46e470c..e942b23 100644 (file)
@@ -13,7 +13,7 @@
 ?S:.
 ?C:I_POLL:
 ?C:    This symbol, if defined, indicates that <poll.h> exists and
-?C:    should be included.
+?C:    should be included. (see also HAS_POLL)
 ?C:.
 ?H:#$i_poll    I_POLL          /**/
 ?H:.