- 12 8月, 2012 1 次提交
-
-
由 Rich Felker 提交于
since this interface is rarely used, it's probably best to lean towards keeping code size down anyway. one-character needles will still be found immediately by the initial wcschr call anyway.
-
- 01 8月, 2012 1 次提交
-
-
由 Rich Felker 提交于
-
- 21 6月, 2012 1 次提交
-
-
由 Rich Felker 提交于
if the buffer is too short, at least return a partial string. this is helpful if the caller is lazy and does not check for failure. care is taken to avoid writing anything if the buffer length is zero, and to always null-terminate when the buffer length is non-zero.
-
- 27 5月, 2012 2 次提交
-
-
由 Rich Felker 提交于
bug report and solution by Richard Pennington
-
由 Rich Felker 提交于
bug report and solution by Richard Pennington
-
- 02 3月, 2012 1 次提交
-
-
由 Rich Felker 提交于
these are mostly untested and adapted directly from corresponding byte string functions and similar.
-
- 12 9月, 2011 1 次提交
-
-
由 Rich Felker 提交于
programs that use this tend to horribly botch international text support, so it's questionable whether we want to support it even in the long term... for now, it's just a dummy that calls strcmp.
-
- 14 6月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 23 5月, 2011 2 次提交
-
-
由 Rich Felker 提交于
also modify wcsncpy to use the same loop logic
-
由 Rich Felker 提交于
-
- 27 4月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 13 4月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 08 4月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 07 4月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 05 4月, 2011 1 次提交
-
-
由 Rich Felker 提交于
this could actually cause rare crashes in the case where a short string is located at the end of a page and the following page is not readable, and in fact this was seen in gcc compiling certain files.
-
- 04 4月, 2011 1 次提交
-
-
由 Rich Felker 提交于
search for bytes with high bit set was giving (potentially dangerous) wrong results. i've tested, cleaned up, and hopefully sped up this function now.
-
- 26 3月, 2011 1 次提交
-
-
由 Rich Felker 提交于
sadly the C language does not specify any such implicit conversion, so this is not a matter of just fixing warnings (as gcc treats it) but actual errors. i would like to revisit a number of these changes and possibly revise the types used to reduce the number of casts required.
-
- 18 3月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 27 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 25 2月, 2011 2 次提交
-
-
由 Rich Felker 提交于
-
由 Rich Felker 提交于
this only made the function unnecessarily slow on systems with unaligned access, but would of course crash on systems that can't do unaligned accesses (none of which have ports yet).
-
- 15 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-
- 12 2月, 2011 1 次提交
-
-
由 Rich Felker 提交于
-