FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18557&edit=1

ID: 18557
Updated by: admin@de-korte.org
Reported By: admin at de-korte dot org
Summary: Error parsing /etc/resolv.conf containing comment
lines
-Status: Open
+Status: Duplicate
Type: Bug
Package: Net_DNS2
Operating System: Linux
Package Version: 1.1.1
PHP Version: 5.3.6
Roadmap Versions:
New Comment:

-Status: Open
+Status: Duplicate



Previous Comments:
------------------------------------------------------------------------

[2011-05-19 18:48:17] adkorte

Description:
------------
When the /etc/resolv.conf file contains comment lines and/or lines
without spaces, an error is logged:

PHP ERROR: Undefined offset: 1 [pid 19995 on line 309 of
"/usr/share/php5/PEAR/Net/DNS2.php"]

It would be better to just skip the comment lines.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedMay 19, '11 at 5:52p
activeMay 19, '11 at 5:52p
posts1
users1
websitepear.php.net

1 user in discussion

Admin: 1 post

People

Translate

site design / logo © 2022 Grokbase