There is a bug or error or stupid mistake in the LPRng code:

the syslog() function is being called with 'syslog( var, msg )' instead
of 'syslog( var, "%s", msg )'.

There.  Now you know.  You should update your version of LPRng.

Now if you are using gettext,  you also need to put:

if( getuid() == 0 || geteuid() == 0 ) unsetenv("NLSPATH")

either in the common Initialize() function, or in the main()
routine of all the clients and servers.

Sheesh!

Patrick ("Next release") Powell

-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to