From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 4516C396DC17; Fri, 13 May 2022 14:25:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4516C396DC17 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] inet: Use __ferror_unlocked X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: 7fe97df7a4f685253697a51167ddd6a3352c2fff X-Git-Newrev: 550ea1f2eaeaa7c00f04309365a39c7569dc4120 Message-Id: <20220513142501.4516C396DC17@sourceware.org> Date: Fri, 13 May 2022 14:25:01 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2022 14:25:01 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=550ea1f2eaeaa7c00f04309365a39c7569dc4120 commit 550ea1f2eaeaa7c00f04309365a39c7569dc4120 Author: Adhemerval Zanella Date: Thu Mar 31 14:28:02 2022 -0300 inet: Use __ferror_unlocked Diff: --- inet/ruserpass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inet/ruserpass.c b/inet/ruserpass.c index def63acac0..f6f212ec9f 100644 --- a/inet/ruserpass.c +++ b/inet/ruserpass.c @@ -217,7 +217,7 @@ token (void) int c; int i; - if (feof_unlocked(cfile) || ferror_unlocked(cfile)) + if (feof_unlocked(cfile) || __ferror_unlocked(cfile)) return (0); while ((c = __getc_unlocked(cfile)) != EOF && (c == '\n' || c == '\t' || c == ' ' || c == ','))