summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
Commit message (Collapse)AuthorAgeFilesLines
* Fix handling more than 1 char with non-C localeache1998-06-051-16/+4
| | | | | | Misc. cleanup PR: 6825 Submitted by: Sergey Gershtein <sg@mplik.ru>
* Cast a pointer to a long, not an int before masking it.jb1998-05-101-1/+1
|
* Pedantry (NULL -> NUL).jraynard1998-05-031-1/+1
|
* Change MACHINE references to MACHINE_ARCH.jb1998-02-201-3/+3
|
* PR: 5573danny1998-01-272-2/+4
| | | | | Submitted by: garbanzo@hooked.net Add strncasecmp, strncmp to NAME field.
* The terminating character in strings is `NUL', not `NULL'.wosch1997-12-281-1/+1
|
* Sorted lists.bde1997-10-211-4/+4
|
* Handle machine-dependent (m-d) (string) sources more automatically.bde1997-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.
* Removed the subdirectory paths from the definitions of MAN[1-9]. Theybde1997-10-151-11/+6
| | | | | were a workaround for limitations in bsd.man.mk that were fixed about 2 years ago.
* Added some 2-line source files to get a direct correspondencebde1997-10-155-0/+10
| | | | | between sources and objects. This will be used to avoid messy special cases in Makefile.inc.
* Added bounds checking to the example after chasing down someone'spds1997-07-261-1/+2
| | | | | broken code where they'd copied the example basically verbatim and blew an array. (engage brain before typing 'make')
* kill the undeadpeter1997-07-132-478/+0
|
* This commit was generated by cvs2svn to compensate for changes in r27180,bde1997-07-032-0/+478
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Lite2's src/lib, except for non-i386 machine-dependent directories,bde1997-07-032-0/+478
| | | | | | | | | | libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3 unimportant ones have already left the vendor branch.
* | Changed all paths to be relative to src/lib instead of src/lib/libcjb1997-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.
* | Fixed #include and/or prototype bugs in synopsis.bde1997-04-191-1/+1
| |
* | Merge from Lite2 (whiteout/unionfs)peter1997-03-111-2/+4
| |
* | This commit was generated by cvs2svn to compensate for changes in r23658,peter1997-03-111-1/+6
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branchpeter1997-03-112-3/+10
| |
| * recording cvs-1.6 file deathpeter1995-12-302-478/+0
| |
* | Revert $FreeBSD$ to $Id$peter1997-02-226-6/+6
| |
* | Sort cross references.wosch1997-01-202-8/+8
| |
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* | delete doubled words, e.g.: "the the" -> "the"wosch1996-10-051-1/+2
| |
* | add missing comma(s) in .Xr macroswosch1996-09-232-2/+4
| |
* | Fixed the easy cases of const poisoning in the kernel. Cosmetic.bde1996-08-312-2/+3
| |
* | Correctly use .Fn instead of .Nm to reference function namesmpp1996-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.
* | Back out fallback approximation changes, they are not so right to liveache1996-08-133-40/+15
| |
* | General -Wall warning cleanup, part I.jkh1996-07-121-3/+3
| | | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* | Use better approximation if collate info not available.ache1996-06-093-16/+41
| | | | | | | | Fix bug: strxfrm+strcmp != strcoll, if collate info not available
* | Localize it.ache1996-06-091-46/+7
| | | | | | | | (it was NOT localized initially, it does some trick instead!)
* | ``mv'' -> ``mv -f''wosch1996-05-071-10/+11
| | | | | | | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root
* | Added `const' to types of sys_errlist and sys_nerr.bde1996-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.
* | Update the description of strncat to accurately describe how manympp1996-04-091-1/+4
| | | | | | | | | | | | bytes are copied to the destination string. Closes PR#1000. Submitted by: Dave Glowacki <dglo@ssec.wisc.edu>
* | Another round of man page cleanups.mpp1996-02-121-1/+1
| | | | | | | | Down to only about 100 items left to cleanup! :-)
* | Fix even more spelling errors in some more man pages.mpp1996-01-302-6/+6
| |
* | Correct the strspn() man page so that it no longer referencesmpp1996-01-101-1/+1
| | | | | | | | | | | | itself as strcspn(). Obtained from: NetBSD-bugs mailing list (PR# 1905)
* | This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-302-478/+0
| | | | | | | | which included commits to RCS files with non-trunk default branches.
* | Remove trailing whitespace.rgrimes1995-05-302-2/+2
| |
* | If locale not available, fallback to strcasecmp, not to strcmpache1995-04-161-2/+2
| |
* | Don't build swab.o here. It gets built in libc/i386/string. Previouslybde1995-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.
* | Minor optimization.ache1995-02-181-7/+9
| |
* | Copyrights cleanupache1995-02-184-22/+38
| |
* | Add 8bit collate stuffache1995-02-165-110/+150
| | | | | | | | Submitted by: alex@elvisti.kiev.ua
* | Obtained from: 386BSD-0.1 patchkit; also fixed in 1.1.5bde1994-12-121-2/+3
| | | | | | | | | | | | Compare unsigned chars. Return the place after where the character was found and not the start of the string.
* | Use latest Arthur Olson timezone code rather than that supplied withwollman1994-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.
* | Don't include <sys/types.h> to get u_int or use u_int for a bogus cast.bde1994-09-051-4/+2
| | | | | | | | Modernize bcopy -> memcpy.
* | Fix printing of weird errno's: negative values were printed as largebde1994-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.
* | First crack at making libc work with the new make macros. It compiles onwollman1994-08-051-12/+16
|/ | | | | my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-2765-0/+5523
OpenPOWER on IntegriCloud