[uClibc] ttyname.c
Erik Andersen
andersen at lineo.com
Wed Jun 13 22:11:22 UTC 2001
On Wed Jun 13, 2001 at 01:56:30PM -0700, Stefan Soucek wrote:
> Yes,
>
> The following patch solved our problems ("could not determine tty name"):
>
> diff ttyname.c.orig ttyname.c
> 21c21
> < strcpy(name + sizeof(dirname), d->d_name);
> ---
> > strcpy(name + strlen(dirname) + 1, d->d_name);
>
> I am using a 2.0.38 kernel. It seems this problem is general (and not only
> related to devfs). A comparison to a binary linked vs glibc on a 386
> confirms
> this.
>
> Can we have this change commited to the uClibc CVS?
Ok, applied,
-Erik
--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list