From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id EE8F73834E45; Thu, 9 Jun 2022 13:21:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE8F73834E45 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: 6b89b9fcc366963f1614706e0db45acbd7060ae5 X-Git-Newrev: df365275a6e1ba6eefe4a890193a184b877bcd9a Message-Id: <20220609132150.EE8F73834E45@sourceware.org> Date: Thu, 9 Jun 2022 13:21:50 +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: Thu, 09 Jun 2022 13:21:51 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=df365275a6e1ba6eefe4a890193a184b877bcd9a commit df365275a6e1ba6eefe4a890193a184b877bcd9a 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 4b3eae8284..42ebe94e03 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 == ','))