From a334319f6530564d22e775935d9c91663623a1b4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 22 Dec 2004 20:10:10 +0000 Subject: (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. --- libio/iofgetws.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'libio/iofgetws.c') diff --git a/libio/iofgetws.c b/libio/iofgetws.c index 775391137a..654c051a28 100644 --- a/libio/iofgetws.c +++ b/libio/iofgetws.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2001, 2005 +/* Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -41,14 +41,6 @@ fgetws (buf, n, fp) CHECK_FILE (fp, NULL); if (n <= 0) return NULL; - if (__builtin_expect (n == 1, 0)) - { - /* Another irregular case: since we have to store a NUL byte and - there is only room for exactly one byte, we don't have to - read anything. */ - buf[0] = L'\0'; - return buf; - } _IO_acquire_lock (fp); /* This is very tricky since a file descriptor may be in the non-blocking mode. The error flag doesn't mean much in this -- cgit v1.2.1