This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][BZ #16398] Fix infinite loop in ftell when writing wide char data
- From: Rich Felker <dalias at aerifal dot cx>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 31 Jan 2014 14:03:37 -0500
- Subject: Re: [PATCH][BZ #16398] Fix infinite loop in ftell when writing wide char data
- Authentication-results: sourceware.org; auth=none
- References: <20140131051923 dot GL2149 at spoyarek dot pnq dot redhat dot com>
On Fri, Jan 31, 2014 at 10:49:23AM +0530, Siddhesh Poyarekar wrote:
> The fix here is to detect the __codecvt_partial status in addition to
> checking if the buffer is full. This patch does not include a test
> case because I am currently talking to the test case submitter about
> getting a copyright assignment for the test case. I'll post it once
It would be nicer if you could get an exemption from the FSF for tests
(basically, for code that's non-essential and doesn't get compiled
into the final library that will get installed/used). Requiring bug
reporters to sign copyright assignments so glibc can use their bug
report test cases sounds really counter-productive to getting good
help from the community tracking down and reproducing bugs.
Short of an exemption, would it work to just ask people to put their
test code in the public domain so it can be incorporated without
copyright considerations? This would be a lot easier for most people
contributing bug reports, I suspect.
Rich