From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29450 invoked by alias); 5 Feb 2014 11:23:44 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 29316 invoked by uid 55); 5 Feb 2014 11:23:40 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug stdio/16398] ftell stuck on file opened w+ for writing wide characters Date: Wed, 05 Feb 2014 11:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio X-Bugzilla-Version: 2.18 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: siddhesh at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-02/txt/msg00066.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=16398 --- Comment #3 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, siddhesh/benchmarks has been created at 9749af672ed40292e11ceccc4f78e740db4eecfb (commit) - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9749af672ed40292e11ceccc4f78e740db4eecfb commit 9749af672ed40292e11ceccc4f78e740db4eecfb Author: Siddhesh Poyarekar Date: Wed Feb 5 16:49:46 2014 +0530 Validate bench.out against a JSON schema https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ca3e834f15af830ab6d240f3270f7e1a903ed3f8 commit ca3e834f15af830ab6d240f3270f7e1a903ed3f8 Author: Siddhesh Poyarekar Date: Wed Feb 5 15:57:22 2014 +0530 benchtests: move machine-info.sh into benchtests/scripts/ https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=706a60f32d8cf683841ae51693f5e551436c82fc commit 706a60f32d8cf683841ae51693f5e551436c82fc Author: Siddhesh Poyarekar Date: Wed Feb 5 15:55:10 2014 +0530 benchtests: Move bench.py to benchtests/scripts/ https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6e830a79dfc66f8c9b6ae49c1235ce40e4bc0328 commit 6e830a79dfc66f8c9b6ae49c1235ce40e4bc0328 Author: Siddhesh Poyarekar Date: Wed Feb 5 15:50:31 2014 +0530 benchtests: Mention a constraint on a valid variant name https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9c259cce38ee580737bde71c54aa400bb261342a commit 9c259cce38ee580737bde71c54aa400bb261342a Author: Siddhesh Poyarekar Date: Tue Feb 4 21:31:23 2014 +0530 Actually do json output https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=909a952c995852c8193dabf306ac2d51d3418fd0 commit 909a952c995852c8193dabf306ac2d51d3418fd0 Author: David Holsgrove Date: Tue Feb 4 09:30:34 2014 +1000 microblaze: Update libm-test-ulps Update libm-test-ulps for microblaze, and remove unneeded copy libm-test-ulps_new. ports/ChangeLog.microblaze 2014-02-04 David Holsgrove * sysdeps/microblaze/libm-test-ulps: Update. * sysdeps/microblaze/libm-test-ulps_new: Deleted redundant file. Signed-off-by: David Holsgrove https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=22af99fa7227e7a60ae1ec792260bf868a8cdd3e commit 22af99fa7227e7a60ae1ec792260bf868a8cdd3e Author: David Holsgrove Date: Tue Feb 4 09:26:15 2014 +1000 microblaze BZ #15705: Define MMAP2_PAGE_SHIFT Define MMAP2_PAGE_SHIFT to -1 for microblaze so the correct shift for the syscall is determined dynamically using getpagesize ports/ChangeLog.microblaze 2014-02-04 David Holsgrove * sysdeps/unix/sysv/linux/microblaze/mmap64.c: New file. Signed-off-by: David Holsgrove https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9e4dfbefc63fc67fee2f9a74163dcc0bd0aa66ef commit 9e4dfbefc63fc67fee2f9a74163dcc0bd0aa66ef Author: David Holsgrove Date: Tue Feb 4 09:22:42 2014 +1000 microblaze: Use fallback functions Delete redundant fegetround.c and fesetround.c for microblaze and use the fallback functions instead. ports/ChangeLog.microblaze 2014-02-04 David Holsgrove * sysdeps/microblaze/fegetround.c: Delete redundant file. * sysdeps/microblaze/fesetround.c: Likewise. Signed-off-by: David Holsgrove https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=be6406a872b0e7e142cb326db07fb8e4c795ceb9 commit be6406a872b0e7e142cb326db07fb8e4c795ceb9 Author: Siddhesh Poyarekar Date: Wed Feb 5 12:50:22 2014 +0530 Update NEWS for #16398 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cf015393a0a8e137fef06c3bc18f76c11cff3c6a commit cf015393a0a8e137fef06c3bc18f76c11cff3c6a Author: Siddhesh Poyarekar Date: Wed Feb 5 12:49:00 2014 +0530 Fix infinite loop in ftell when writing wide char data (BZ #16398) ftell tries to avoid flushing the buffer when it is in write mode by converting the wide char data and placing it into the binary buffer. If the output buffer space is full and there is data to write, the code reverts to flushing the buffer. This breaks when there is space in the buffer but it is not enough to convert the next character in the wide data buffer, due to which __codecvt_do_out returns a __codecvt_partial status. In this case, ftell keeps running in an infinite loop. The fix here is to detect the __codecvt_partial status in addition to checking if the buffer is full. I have also added a test case that demonstrates the infinite loop. https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3672eb9056332bf1b05a0275f85db70d7fbcfe4c commit 3672eb9056332bf1b05a0275f85db70d7fbcfe4c Author: Siddhesh Poyarekar Date: Wed Feb 5 12:22:58 2014 +0530 Update contrib.texi This may not be a complete list of new contributors added to the list, so I'd love it if more people look at contributions and suggest additions. https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=dc52d4171b01963c36bc80afb2d2e23fc096e0dc commit dc52d4171b01963c36bc80afb2d2e23fc096e0dc Author: David S. Miller Date: Tue Feb 4 20:54:58 2014 -0800 Adjust sparc ULPs. * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from 32-bit. https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2fdda5919e204128906e53ad8619e874ee96f193 commit 2fdda5919e204128906e53ad8619e874ee96f193 Author: Adhemerval Zanella Date: Tue Feb 4 09:49:34 2014 -0200 PowerPC: powerpc64le abilist for 2.17 This patch is the abifiles for powerpc64le based on GLIBC 2.17. https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=01dcbb8a166c2974c8c34a996a9d1513ea9b1431 commit 01dcbb8a166c2974c8c34a996a9d1513ea9b1431 Author: Adhemerval Zanella Date: Tue Feb 4 09:49:08 2014 -0200 PowerPC: Change powerpc64le start ABI to 2.17. https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b99620786823c57f54c9447af27e1191095386ec commit b99620786823c57f54c9447af27e1191095386ec Author: Adhemerval Zanella Date: Tue Feb 4 09:48:47 2014 -0200 abilist-pattern configurability This patch creates implicit rules to match the abifiles if abilist-pattern is defined in the architecture Makefile. This allows machine specific Makefiles to define different abifiles names (for instance *-le.abilist for powerpc64le). https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=13674005345deeac71debaa994fe89cecf6cdb2a commit 13674005345deeac71debaa994fe89cecf6cdb2a Author: Siddhesh Poyarekar Date: Mon Feb 3 12:36:15 2014 +0530 Make bench.out in json format https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1d68d06ad65bca949ddeeacfce1d5be34c05c30b commit 1d68d06ad65bca949ddeeacfce1d5be34c05c30b Author: Siddhesh Poyarekar Date: Fri Jan 17 18:14:57 2014 +0530 Add machine info https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b7b08b0cafeef894193e8201e4307d776851c6d1 commit b7b08b0cafeef894193e8201e4307d776851c6d1 Author: Siddhesh Poyarekar Date: Thu Jan 16 15:09:10 2014 +0530 Remove bench-modf.c https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=12387852c7e6d76c7f109366f5e94040d0330175 commit 12387852c7e6d76c7f109366f5e94040d0330175 Author: Siddhesh Poyarekar Date: Wed Jan 15 12:48:09 2014 +0530 Detailed benchmark numbers Store timings per input. https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5f2f18db8382f26580b23004e6f2f87b9b80318b commit 5f2f18db8382f26580b23004e6f2f87b9b80318b Author: Siddhesh Poyarekar Date: Fri Dec 6 13:51:09 2013 +0530 Implement benchmarking script in python https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f7f684602ff498d9f81e07c5fe37338c8a806a81 commit f7f684602ff498d9f81e07c5fe37338c8a806a81 Author: Siddhesh Poyarekar Date: Tue Oct 8 16:36:19 2013 +0530 TMP: probes for math functions Temporary probes at various branch points in the functions. ----------------------------------------------------------------------- -- You are receiving this mail because: You are on the CC list for the bug.