[Libvir] Patch to get rid of index(3) and rindex(3)

According to index(3): [index and rindex appeared in] 4.3BSD; marked as LEGACY in POSIX.1-2001. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903

On Fri, Jun 15, 2007 at 02:29:09PM +0100, Richard W.M. Jones wrote:
According to index(3):
[index and rindex appeared in] 4.3BSD; marked as LEGACY in POSIX.1-2001.
ACK, much simpler fix to the whole header file issue :-) Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|

On Fri, Jun 15, 2007 at 02:34:57PM +0100, Daniel P. Berrange wrote:
On Fri, Jun 15, 2007 at 02:29:09PM +0100, Richard W.M. Jones wrote:
According to index(3):
[index and rindex appeared in] 4.3BSD; marked as LEGACY in POSIX.1-2001.
ACK, much simpler fix to the whole header file issue :-)
+1 I didn't expect to see the patch 3 seconds after suggesting doing the replacement :-) Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

Daniel Veillard wrote:
On Fri, Jun 15, 2007 at 02:34:57PM +0100, Daniel P. Berrange wrote:
On Fri, Jun 15, 2007 at 02:29:09PM +0100, Richard W.M. Jones wrote:
According to index(3):
[index and rindex appeared in] 4.3BSD; marked as LEGACY in POSIX.1-2001.
ACK, much simpler fix to the whole header file issue :-)
+1
I didn't expect to see the patch 3 seconds after suggesting doing the replacement :-)
Heh, the Power of Perl ... Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
participants (3)
-
Daniel P. Berrange
-
Daniel Veillard
-
Richard W.M. Jones