summaryrefslogtreecommitdiff
path: root/lib/libc/string
Commit message (Collapse)AuthorAgeFilesLines
* Cast a pointer to a long, not an int before masking it.John Birrell1998-05-101-1/+1
| | | | Notes: svn path=/head/; revision=35923
* Pedantry (NULL -> NUL).James Raynard1998-05-031-1/+1
| | | | Notes: svn path=/head/; revision=35655
* Change MACHINE references to MACHINE_ARCH.John Birrell1998-02-201-3/+3
| | | | Notes: svn path=/head/; revision=33668
* PR: 5573Daniel O'Callaghan1998-01-272-2/+4
| | | | | | | | Submitted by: garbanzo@hooked.net Add strncasecmp, strncmp to NAME field. Notes: svn path=/head/; revision=32818
* The terminating character in strings is `NUL', not `NULL'.Wolfram Schneider1997-12-281-1/+1
| | | | Notes: svn path=/head/; revision=32051
* Sorted lists.Bruce Evans1997-10-211-4/+4
| | | | Notes: svn path=/head/; revision=30624
* Handle machine-dependent (m-d) (string) sources more automatically.Bruce Evans1997-10-161-73/+7
| | | | | | | | | | | | | | | | | | | | | | | | The names of m-d variants are now added (manually) to MDSRCS instead of to SRCS, and the names of all machine-independent (m-i) variants that can reasonably be replaced by an m-d variant are now added (manually) to MISRCS instead of to SRCS, so that a simple substitution can be used to discard the unused m-i variants. MISRCS is potentially all m-i sources, but the substitution is too simple to be fast, so MISRCS should be kept reasonably small. libc/Makefile.inc: Do the substitution. libc/i386/string/Makefile.inc: Add to MDSRCS instead of to SRCS. Add the names of all sources in this directory, but no others. libc/string/Makefile.inc Add to MISRCS instead of to SRCS. Add the names of all sources in this directory. Don't use (broken) explicit rules for special cases. Notes: svn path=/head/; revision=30481
* Removed the subdirectory paths from the definitions of MAN[1-9]. TheyBruce Evans1997-10-151-11/+6
| | | | | | | | were a workaround for limitations in bsd.man.mk that were fixed about 2 years ago. Notes: svn path=/head/; revision=30447
* Added some 2-line source files to get a direct correspondenceBruce Evans1997-10-155-0/+10
| | | | | | | | between sources and objects. This will be used to avoid messy special cases in Makefile.inc. Notes: svn path=/head/; revision=30444
* Added bounds checking to the example after chasing down someone'sPeter da Silva1997-07-261-1/+2
| | | | | | | | broken code where they'd copied the example basically verbatim and blew an array. (engage brain before typing 'make') Notes: svn path=/head/; revision=27689
* kill the undeadPeter Wemm1997-07-132-478/+0
| | | | Notes: svn path=/head/; revision=27369
* This commit was generated by cvs2svn to compensate for changes in r27180,Bruce Evans1997-07-032-0/+478
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=27181
| * Import Lite2's src/lib, except for non-i386 machine-dependent directories,Bruce Evans1997-07-032-0/+478
| | | | | | | | | | | | | | | | libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3 unimportant ones have already left the vendor branch. Notes: svn path=/vendor/CSRG/dist/; revision=27180
* | Changed all paths to be relative to src/lib instead of src/lib/libcJohn Birrell1997-05-031-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too. Notes: svn path=/head/; revision=25401
* | Fixed #include and/or prototype bugs in synopsis.Bruce Evans1997-04-191-1/+1
| | | | | | | | Notes: svn path=/head/; revision=25028
* | Merge from Lite2 (whiteout/unionfs)Peter Wemm1997-03-111-2/+4
| | | | | | | | Notes: svn path=/head/; revision=23664
* | This commit was generated by cvs2svn to compensate for changes in r23658,Peter Wemm1997-03-111-1/+6
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=23659
| * Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branchPeter Wemm1997-03-112-0/+301
| | | | Notes: svn path=/vendor/CSRG/dist/; revision=23658
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-226-6/+6
| | | | Notes: svn path=/head/; revision=22993
* Sort cross references.Wolfram Schneider1997-01-202-8/+8
| | | | Notes: svn path=/head/; revision=21907
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-146-6/+6
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* delete doubled words, e.g.: "the the" -> "the"Wolfram Schneider1996-10-051-1/+2
| | | | Notes: svn path=/head/; revision=18718
* add missing comma(s) in .Xr macrosWolfram Schneider1996-09-232-2/+4
| | | | Notes: svn path=/head/; revision=18480
* Fixed the easy cases of const poisoning in the kernel. Cosmetic.Bruce Evans1996-08-312-2/+3
| | | | Notes: svn path=/head/; revision=17974
* Correctly use .Fn instead of .Nm to reference function namesMike Pritchard1996-08-226-6/+12
| | | | | | | | | | | in a bunch of man pages. Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros instead of explicitly specifying the version in the text in a bunch of man pages. Notes: svn path=/head/; revision=17782
* Back out fallback approximation changes, they are not so right to liveAndrey A. Chernov1996-08-133-40/+15
| | | | Notes: svn path=/head/; revision=17583
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-3/+3
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17141
* Use better approximation if collate info not available.Andrey A. Chernov1996-06-093-16/+41
| | | | | | | Fix bug: strxfrm+strcmp != strcoll, if collate info not available Notes: svn path=/head/; revision=16255
* Localize it.Andrey A. Chernov1996-06-091-46/+7
| | | | | | | (it was NOT localized initially, it does some trick instead!) Notes: svn path=/head/; revision=16250
* ``mv'' -> ``mv -f''Wolfram Schneider1996-05-071-10/+11
| | | | | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root Notes: svn path=/head/; revision=15679
* Added `const' to types of sys_errlist and sys_nerr.Bruce Evans1996-04-191-5/+10
| | | | | | | | | | Use .Va instead of .Fa to describe these variables. Say a little about inconsistent declarations of sys_errlist in the BUGS section. Notes: svn path=/head/; revision=15307
* Update the description of strncat to accurately describe how manyMike Pritchard1996-04-091-1/+4
| | | | | | | | | bytes are copied to the destination string. Closes PR#1000. Submitted by: Dave Glowacki <dglo@ssec.wisc.edu> Notes: svn path=/head/; revision=15165
* Another round of man page cleanups.Mike Pritchard1996-02-121-1/+1
| | | | | | | Down to only about 100 items left to cleanup! :-) Notes: svn path=/head/; revision=14045
* Fix even more spelling errors in some more man pages.Mike Pritchard1996-01-302-6/+6
| | | | Notes: svn path=/head/; revision=13750
* Correct the strspn() man page so that it no longer referencesMike Pritchard1996-01-101-1/+1
| | | | | | | | | itself as strcspn(). Obtained from: NetBSD-bugs mailing list (PR# 1905) Notes: svn path=/head/; revision=13372
* This commit was generated by cvs2svn to compensate for changes in r13122,Peter Wemm1995-12-302-478/+0
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=13123
* Remove trailing whitespace.Rodney W. Grimes1995-05-302-2/+2
| | | | Notes: svn path=/head/; revision=8870
* If locale not available, fallback to strcasecmp, not to strcmpAndrey A. Chernov1995-04-161-2/+2
| | | | Notes: svn path=/head/; revision=7895
* Don't build swab.o here. It gets built in libc/i386/string. PreviouslyBruce Evans1995-03-071-1/+1
| | | | | | | | | the copy built from here was overwritten by the other copy and the other copy was put in library-building command lines twice. ld now objects to duplicated modules. Notes: svn path=/head/; revision=6937
* Minor optimization.Andrey A. Chernov1995-02-181-7/+9
| | | | Notes: svn path=/head/; revision=6544
* Copyrights cleanupAndrey A. Chernov1995-02-184-22/+38
| | | | Notes: svn path=/head/; revision=6537
* Add 8bit collate stuffAndrey A. Chernov1995-02-165-110/+150
| | | | | | | Submitted by: alex@elvisti.kiev.ua Notes: svn path=/head/; revision=6509
* Obtained from: 386BSD-0.1 patchkit; also fixed in 1.1.5Bruce Evans1994-12-121-2/+3
| | | | | | | | | Compare unsigned chars. Return the place after where the character was found and not the start of the string. Notes: svn path=/head/; revision=5071
* Use latest Arthur Olson timezone code rather than that supplied withGarrett Wollman1994-09-131-2/+2
| | | | | | | | 4.4. The code is almost identical to the 4.4 versions, but this organization should make it easier to merge new versions in the future. Notes: svn path=/head/; revision=2741
* Don't include <sys/types.h> to get u_int or use u_int for a bogus cast.Bruce Evans1994-09-051-4/+2
| | | | | | | Modernize bcopy -> memcpy. Notes: svn path=/head/; revision=2506
* Fix printing of weird errno's: negative values were printed as largeBruce Evans1994-09-051-5/+9
| | | | | | | | | unsigned's; null termination was only guaranteed for the first call. Fix lint: don't declare externs internally; they were both out of date. Notes: svn path=/head/; revision=2505
* First crack at making libc work with the new make macros. It compiles onGarrett Wollman1994-08-051-12/+16
| | | | | | | | my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge. Notes: svn path=/head/; revision=1849
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-2765-0/+5523
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573