[netatalk-admins] getppdent: line too long


Subject: [netatalk-admins] getppdent: line too long
From: David Kulp (dkulp@neomorphic.com)
Date: Tue Aug 18 1998 - 17:16:09 EDT


I've just installed netatalk, and each time a job is spooled I'm
getting a papd syslog error "getppdent: line too long". Despite this
error, papd successfully spools the job to lpd.

I've found the offending source code which appears to be reading the
papd.conf file (and possibly printcap, too)?

        if ( p[ strlen( p ) - 1 ] != '\n' ) {
            syslog( LOG_ERR, "getppdent: line too long" );
            continue;
        }

This looks like a case where the code doesn't accept a final line
without a carriage return, but I've checked both of these files and
there is no such offending lines in either. (Nor are there any
long lines.)

Any comments? I'm loathe to debug the code.

thanks in advance,
David Kulp



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:33:08 EST