From: David Mosberger-Tang <davidm@azstarnet.com>
Subject: lpd-0.14-2 fix
Date: Wed, 5 Mar 1997 09:39:40 -0700 [thread overview]
Message-ID: <199703051639.JAA12099@panda.mosberger> (raw)
Here is a micro-patch for the lpd SRPM in the updates directory at Red
Hat (lpr-0.14-2.src.rpm). In addition to applying this patch, you
should make sure to compile with -Dgetline=get_line (e.g., make
RPM_OPT_FLAGS="-O2 -Dgetline=get_line). After applying this patch,
accessing lpd from remote systems should work properly.
--david
--- lpr/lpd/lpd.c Wed Sep 4 13:31:49 1996
+++ lpr-good/lpd/lpd.c Tue Mar 4 19:48:58 1997
@@ -450,8 +450,8 @@
hostf = fopen(_PATH_HOSTSEQUIV, "r");
again:
if (hostf) {
-#ifdef __alpha__
- if (!__ivaliduser(hostf, fromb, DUMMY, DUMMY, baselen)) {
+#if __GNU_LIBRARY__ - 0 >= 6
+ if (!__ivaliduser(hostf, f->sin_addr.s_addr, DUMMY, DUMMY)) {
(void) fclose(hostf);
return;
}
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-03-05 16:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-05 16:39 David Mosberger-Tang [this message]
1997-03-06 19:52 ` lpd-0.14-2 fix Richard Henderson
1997-03-07 3:25 ` Daniel Gruner
-- strict thread matches above, loose matches on Subject: below --
1997-03-07 8:47 Ralph Gillen
1997-03-07 13:40 ` Daniel Gruner
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox