summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcscpy.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-07-24Recent Single Unix will malloc memory if the second argument of realpath()miod2-17/+52
is NULL, and third-party software is starting to rely upon this. Adapted from FreeBSD via Jona Joachim (jaj ; hcl-club , .lu), with minor tweaks from nicm@ and yours truly.
2011-07-24Sync wcslcpy and wcslcat with strlcpy and strlcat. OK deraadt@millert2-50/+26
2011-07-22Show (in the example) that < and > can be used multiple times; ok jmc@otto1-4/+5
jasper@
2011-07-21- add a MALLOC_OPTIONS section header. the content is already there, but havingjasper1-3/+3
a section will help people looking for just the MALLOC_OPTIONS. ok otto@ jmc@
2011-07-20- Replace digicert 2nd-level cert with the root which issued it.sthen1-114/+247
Allows https checkouts from github to work. - Add digicert's other root certs. Fingerprints carefully checked against those in the built-in roots supplied with Mozilla. ok dcoppa@ jcs@
2011-07-12on malloc flag S, set cache size to 0; will catch even moreotto1-2/+6
use-after-free bugs; ok krw@ dlg@ pirofti@
2011-07-09Minor function name tweaks.nicm3-8/+8
2011-07-09Instead of documenting all the wide string functions in wmemchr(3), addnicm18-139/+1327
individual pages (based on the existing string man pages). By Tim van der Molen (tbvdm at xs4all dot nl) after a suggestion by millert@. ok deraadt
2011-07-08No need to set CFLAGS+=-DOPENSSL_IA32_SSE2 on amd64. Nothing uses it.mpf1-2/+1
Small test by marco@ and md5 /usr/lib/libcrypto.so.19.0 agrees.
2011-07-08After a certain amount of fighting with the mbstowcs API, remove L fromnicm1-4/+12
the wcsdup example. ok stsp
2011-07-08Pass CFLAGS (which contains -DOPENSSL_IA32_SSE2) to the perlasmmpf1-3/+3
build on i386. This enables SSE2 optimizations for bignum multiplications, Montgomery multiplications and sha512. This speeds up Diffie-Hellman operations in isakmpd and iked quite a bit. OK djm@, markus@, mikeb@
2011-07-07timed's time is up. use ntpd(8). Even our own fossil developersderaadt1-2/+2
switched a while back. ok miod, kettenis
2011-07-07no more math(3);jmc9-32/+23
2011-07-05Fix some awful code in the example, pointed out by millert@.nicm1-3/+3
2011-07-04Add wcsdup(), from NetBSD.nicm3-3/+120
ok deraadt matthew
2011-07-03Include tests of 80-bit long double precision (on platforms thatmartynas1-1/+6
support it) now that scanf is implemented properly.
2011-07-02Add cephes.martynas1-2/+2
2011-07-02Import Steve Moshier's printf/scanf tester.martynas13-0/+6335
2011-06-23switch to installing source manuals (base part)schwarze1-262/+246
discussed with lots of people, tested by naddy@, "move fast" deraadt@
2011-06-21Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudiomikeb1-2/+2
2011-06-20as man page states, lower case undoes upper case. add support for little s,tedu1-1/+5
no security, for consistency. use of this option is discouraged. :) ok deraadt guenther millert
2011-06-15Add the following certs:dhill1-0/+563
DigiCert High Assurance CA-3 Go Daddy Secure Certification Authority/serialNumber=07969287 Equifax Secure Certificate Authority VeriSign Class 3 Public Primary Certification Authority - G5 Entrust Certification Authority - L1C Entrust.net Secure Server Certification Authority ok mikeb@ beck@ fgsch@ constant prodding by marco@
2011-06-01fix wcscasecmp() parameters; <wchar.h> was correctnaddy1-2/+2
2011-05-28tweak previous (my fault);jmc1-4/+4
2011-05-28wcs(n)casecmp support, manpage comments from jmc@, okay deraadt@espie3-5/+82
2011-05-26remove hack to test and create /usr/lib/pkgconfig/ if needed, it's been sixjasper1-3/+1
months since it was introduced so it's safe to assume people have this dir now. ok deraadt@
2011-05-20save errno dance in wrterror() and malloc_dump(); prompted by and ok deraadt@otto1-2/+6
2011-05-18introduce symbolic constant for initial number of regionsotto1-2/+3
2011-05-18zap regions_bits and rework MALLOC_MAXSHIFT a bit; ok djm@otto1-14/+8
2011-05-12Avoid fp computations for stats, this make calling malloc_dump() safe in moreotto1-10/+7
cases.
2011-05-12fix comment, the bitmap is an array of u_short nowotto1-2/+2
2011-05-12Introduce leak detection code for MALLOC_STATSotto1-25/+165
2011-05-08Move MALLOC_STATS code to bottom of file, so the real stuff is more at the top.otto1-137/+141
2011-05-05Make this script more generic and minimize differences betweenjasper1-8/+23
the openssl and libz versions: - use a generic ${lib_version} - define ${version_file} to look run ${version_re} on to acquire the library version. - add license - remove unused -k flag no change in generated files ok sthen@
2011-05-05Up until now, malloc scanned the bits of the chunk bitmap fromotto1-32/+24
position zero, skipping a random number of free slots and then picking the next free one. This slowed things down, especially if the number of full slots increases. This changes the scannning to start at a random position in the bitmap and then taking the first available free slot, wrapping if the end of the bitmap is reached. Of course we'll still scan more if the bitmap becomes more full, but the extra iterations skipping free slots and then some full slots are avoided. The random number is derived from a global, which is incremented by a few random bits every time a chunk is needed (with a small optimization if only one free slot is left). Thanks to the testers!
2011-05-03Adjust to explicitly list ${libdir}.jasper1-4/+4
ok sthen@
2011-05-01Pull in <string.h> for memset()guenther1-1/+2
2011-05-01Make the regress setup not assume the umask is 022guenther1-3/+3
2011-04-30Now that we use an array of u_short for the chunk bitmap change a fewotto1-5/+5
1UL to 1U.
2011-04-30More efficient scanning for free chunks while not losing any randomization;otto1-21/+25
thanks to all testers.
2011-04-29uncomment fwprintf and wprintf testsstsp1-4/+4
2011-04-27Tweak the description of the optional parts around =. Found this in myotto1-5/+7
tree, no idea where it came from; ok millert@ jmc@
2011-04-24Regression test for floating point format directives in wprintf.stsp2-0/+223
ok kettenis espie
2011-04-19Fix spacing nit.matthew1-3/+3
ok jmc@
2011-04-05Add AI_FQDN flag to getaddrinfo(3). Prompted by discussions with djm@matthew2-22/+46
about cert checking in OpenSSH. Man page wording tweaks thanks to jmc@. ok henning@, jmc@; positive feedback from djm@, ajacoutat@ Committing now to reuse guenther@'s libc minor bump instead of cranking it again, as suggested by deraadt@.
2011-04-04Add a wcswidth man page (based on FreeBSD), and fix the implementationstsp3-5/+68
to return -1 in case of an unprintable character. ok nicm jmc
2011-03-25back out previous commit.beck1-665/+0
"if you have checked this I am ok with it" does not mean 1) not to pay attention to breaking news after I tell you that and 2) not to get ok's from the others this had been shown to. I am absolutely not ok with thig going in with only *my* ok. There's a reason why we want more than one ok on important commits ok deraadt@ for the backout
2011-03-25Add the following certs:dhill1-0/+665
DigiCert High Assurance CA-3 Go Daddy Secure Certification Authority COMODO High-Assurance Secure Server CA Equifax Secure Certificate Authority VeriSign Class 3 Public Primary Certification Authority - G5 Entrust Certification Authority - L1C Entrust.net Secure Server Certification Authority cross checked with mozilla ok beck@
2011-03-24This script doesn't need write access to $curdir. Just check existence.matthieu1-3/+3
Fixes build on NFS src with no root access. ok jasper@
2011-03-21tweak for clarity, ok millert@, jmc@espie1-4/+4