This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: Cleanup of pty code
- To: Mark Kettenis <kettenis@phys.uva.nl>
- Subject: Re: Cleanup of pty code
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 18 Sep 1998 08:19:56 +0200
- Cc: libc-hacker@cygnus.com
- Mail-Copies-To: never
- References: <199809172156.XAA00554@delius.kettenis.nl>
Hi,
the appended change is at least needed - but it's not enough since I
still get these messages:
openpty.c: In function `openpty':
openpty.c:39: `PTYNAMELEN' undeclared (first use in this function)
openpty.c:39: (Each undeclared identifier is reported only once
openpty.c:39: for each function it appears in.)
openpty.c:39: warning: unused variable `name'
openpty.c:67: warning: `__a' might be used uninitialized in this function
openpty.c:67: warning: `__b' might be used uninitialized in this function
Andreas
1998-09-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* login/openpty.c: Include pty-private.h instead of
pty-internal.h.
--- login/openpty.c.~1~ Tue Apr 7 18:12:40 1998
+++ login/openpty.c Fri Sep 18 08:08:14 1998
@@ -25,7 +25,7 @@
#include <unistd.h>
#include <sys/types.h>
-#include "pty-internal.h"
+#include "pty-private.h"
int
openpty (pmast, pslave, pname, tio, wins)
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de