thomas c35e5c982e In cgetmatch(3), return -1 if a NULL or 0-length name parameter is used.
This situation most notably arises in chkprintcap, when a /etc/printcap
entry has an empty rp= attribute. In that case, cgetmatch would enter
an infinite loop if any entry in the file has multiple names.

This causes lpd to hang at boot time on 5.0-DP2 when both conditions
are met (:rp=: and multiple names -- not necessarily on the same entry).

Reviewed by:	roberto
2003-01-02 10:19:43 +00:00
..
2002-12-19 09:40:28 +00:00
2002-12-04 07:25:14 +00:00
2002-12-20 05:26:10 +00:00
2002-12-19 09:40:28 +00:00
2002-12-19 09:40:28 +00:00