From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3687 Path: news.gmane.org!not-for-mail From: "Kirill Ternosvky" Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl regression tests Date: Fri, 19 Jul 2013 15:37:50 -0400 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1374262686 22836 80.91.229.3 (19 Jul 2013 19:38:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2013 19:38:06 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3691-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jul 19 21:38:09 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1V0GVF-00063R-5i for gllmg-musl@plane.gmane.org; Fri, 19 Jul 2013 21:38:09 +0200 Original-Received: (qmail 16251 invoked by uid 550); 19 Jul 2013 19:38:07 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 16225 invoked from network); 19 Jul 2013 19:38:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1374262673; bh=fnkrQULAr8AtmiiSWX4xmtvov6ivf8jmhBMvy07mfCA=; h=Content-Type:To:Subject:References:Date:MIME-Version: Content-Transfer-Encoding:From:Message-ID:In-Reply-To:User-Agent; b=c8vWSnsD/rAzjSE18Ia568BYUcW+4eh/7MGq4PwTqQVrBiB8uXI+cbQJSk+6O8LZz bTR7jgFUHvbwUYXCMHKoqLtPMkzzxatGBKR44V5OovTUgT7Q/yYu3jtWbbRL7OKD5u T5anNZ3ieCpi9ZhzUnRmI3rss0tuWXxyrkQQ5Dps= Authentication-Results: smtp2.mail.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: User-Agent: Opera Mail/1.0 (Win32) Xref: news.gmane.org gmane.linux.lib.musl.general:3687 Archived-At: /* FILE: scanf-match-literal-eof.c */ /* * Commit: 5efc6af4ebb9d50eb978d0338835544fdfea0396 * scanf misreports literal match as input failure when reading EOF (null for sscanf) */ #include #include "test.h" int main(void) { char buf[] = { 0 }; int match_count; match_count = sscanf(buf, "a"); if(match_count != EOF) { t_error("scanf reported match failure instead of input failure on literal EOF match\n"); } return t_status; }