|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=124514 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=124483 | 
| | 
| 
| 
| 
| 
| 
| | follow declaration section.
Notes:
    svn path=/head/; revision=123631 | 
| | 
| 
| 
| 
| 
| 
| | [last] character, not int).
Notes:
    svn path=/head/; revision=123584 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=122104 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=121531 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=119893 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | (where it didn't really belong), to the DESCRIPTION section.
English advice:	ceri
Requested by:	das
MFC after:	4 weeks
Notes:
    svn path=/head/; revision=119748 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | almost identical.
* Merge strchr(3) and strrchr(3) to strchr(3) since the two functions
  are almost identical.
* Make the wording of index(3) and strchr(3) more similar.
* mdoc(7) cleanup.
Submitted by:	SUZUKI Koichi <metal@gc5.so-net.ne.jp>, keramida, myself
PR:		docs/32054
Reviewed by:	ru
Approved by:	ceri (mentor)
Notes:
    svn path=/head/; revision=118134 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | PR:		docs/53488
Submitted by:	Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
MFC after:	1 week
Notes:
    svn path=/head/; revision=117123 | 
| | 
| 
| 
| 
| 
| 
| | vocally objected to this safety belt.
Notes:
    svn path=/head/; revision=114443 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | technique) so that we don't wind up calling into an application's
version if the application defines them.
Inspired by:	qpopper's interfering and buggy version of strlcpy
Notes:
    svn path=/head/; revision=114256 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=112131 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | As a side effect, it makes the code easier to read and requires less
pointer arithmetic.
Test by:	strerror regression test
Submitted by:	Tim Kientzle <kientzle@acm.org>
Notes:
    svn path=/head/; revision=108603 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | o Fix an English error (comma splice) and poorly worded sentence.
o Fix KNF ordering of variables (pointers come before arithmetic types).
o Restore hand-optimization of sizeof()-1, instead of strlen().
o Remove unneeded local variables in strerror_r().
Test by:	strerror regression test
Requested by:	bde
Reviewed by:	bde
Notes:
    svn path=/head/; revision=108118 | 
| | 
| 
| 
| 
| 
| 
| | C99 now that all known standards-related bugs have been fixed.
Notes:
    svn path=/head/; revision=108091 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=108087 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | strerror_r().  Doing this allows us to ensure that strerror_r() always
fills the supplied buffer regardless of EINVAL or ERANGE errors.
strerror()'s semantics have changed slightly such that an argument of
0 is now considered invalid and errno is set to EINVAL.
Remove internal regression test for strerror() and strerror_r().  This
will be reincarnated in src/tools/regression/lib/libc/string.
In strerror(3), add a comment about strerror()'s bogus return type.
PR:	44356
Notes:
    svn path=/head/; revision=108044 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=108040 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=108037 | 
| | 
| 
| 
| 
| 
| 
| | Approved by:	re
Notes:
    svn path=/head/; revision=107706 | 
| | 
| 
| 
| 
| 
| 
| | Approved by:	re
Notes:
    svn path=/head/; revision=107387 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=107052 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | more efficient. The problem with the previous implementation was that it
calculated the length of the first argument ("big") with wcslen() when
it was not necessary.
Notes:
    svn path=/head/; revision=105844 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=105842 | 
| | 
| 
| 
| 
| 
| 
| | out. This will probably have to wait until after 5.0-R.
Notes:
    svn path=/head/; revision=105838 | 
| | 
| 
| 
| 
| 
| 
| | committed with the tags unexpanded.
Notes:
    svn path=/head/; revision=105787 | 
| | 
| 
| 
| 
| 
| 
| 
| | instead of scanning forwards to find the end of the string then scanning
backwards to find the character.
Notes:
    svn path=/head/; revision=105786 | 
| | 
| 
| 
| 
| 
| 
| | some style(9) bugs.
Notes:
    svn path=/head/; revision=105785 | 
| | 
| 
| 
| 
| 
| 
| 
| | Also add a note to the Bugs section pointing out that strerror() and
perror() share the same static buffer.
Notes:
    svn path=/head/; revision=105779 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=105772 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | two major bugs:
- off-by-one overflow when the length of the source string exceeds or
  equals the destination buffer size.
- old version was not padding the destination buffer with null wide chars
Notes:
    svn path=/head/; revision=105761 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | conform to it.
Obtained from:	OpenBSD
Notes:
    svn path=/head/; revision=105447 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=105150 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=105148 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=104780 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=104779 | 
| | 
| 
| 
| 
| 
| 
| 
| | locale-sensitive collation only in single-byte locales, and just does
binary comparison for the others with extended character sets.
Notes:
    svn path=/head/; revision=104443 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=104419 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=104372 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=103999 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=103998 | 
| | 
| 
| 
| 
| 
| 
| | _DIAGASSERT macro on NetBSD, but we don't need it.
Notes:
    svn path=/head/; revision=103724 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=103095 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=103067 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=103060 | 
| | 
| 
| 
| 
| 
| 
| | restrict qualifiers on their prototypes in <wchar.h>.
Notes:
    svn path=/head/; revision=103059 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=103057 | 
| | 
| 
| 
| | Notes:
    svn path=/head/; revision=103012 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | bcopy(3) functions are prototyped in <strings.h> and not in
   <string.h> anymore.
 - Add a sentence about that to the respective HISTORY sections.
In the C source files:
 - Include <string.h> or <strings.h> depending on what function
   is to be compiled.
 - Use ANSI-C function definitions.
Notes:
    svn path=/head/; revision=102809 |