Re: non-linux support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 04, 2007 at 04:39:36PM +0000, Samuel Thibault wrote:
> diff --git a/text-utils/more.c b/text-utils/more.c
> index 14af765..45a8e3c 100644
> --- a/text-utils/more.c
> +++ b/text-utils/more.c
> @@ -1573,10 +1573,6 @@ void search(char buf[], FILE *file, register int n)
>      }
>      if (feof (file)) {
>  	if (!no_intty) {
> -#ifndef __linux__
> -				/* No longer in libc 4.5.8. . . */
> -	    file->_flags &= ~STDIO_S_EOF_SEEN; /* why doesn't fseek do this ??!!??! */
> -#endif

 Unbelievable... Good catch. Thanks, applied.

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux