On Sunday 04 November 2007, Samuel Thibault wrote:
> @@ -118,6 +120,7 @@ add_to_class(struct ttyclass *tc, char *tty)
> static int
> isapty(const char *tty)
> {
> +#ifdef __linux__
> char devname[100];
> struct stat stb;
>
> @@ -148,6 +151,7 @@ isapty(const char *tty)
>
> }
> return 0;
> +#endif
> }what about the !__linux__ case ? you're going to return random garbage. -mike
signature.asc
Description: This is a digitally signed message part.
