christos
1c6d713c7d
New strcpy.S from jtc. This should have been committed together with the
...
rest of the string changes before.
2005-03-15 15:16:59 +00:00
wiz
88a7e2e28f
Remove one of two nearly duplicate words.
2005-03-14 10:36:51 +00:00
tnozaki
6e2609d649
anonymous union between chlen and _UTF7StatePrive has
...
compilation problem with gcc295.
this union attempt to make mbsinit(3) handle multibyte state correctly,
but it's useless as far as we use utf-7 only iconv interface.
so i eliminate ctype feature.
patch contributed by Joerg Sonnenberg(who porting Citrus to DragonFlyBSD).
and yamt-san gave me advice, thanks a lot.
2005-03-14 03:43:10 +00:00
perry
1968911436
Fix stupid typo. I added memmem, not memmove.
2005-03-14 03:13:53 +00:00
perry
f4cc0f6ed6
bump for memmem(3)
2005-03-13 15:16:47 +00:00
perry
ff41832f1c
add memmem
2005-03-13 15:15:13 +00:00
perry
f7be5521ff
Add memmem(3), compatible with version in Linux
2005-03-13 14:47:02 +00:00
christos
068081ef36
Fix another _DIAGASSERT issue (Joerg Sonnenberger)
2005-03-12 04:20:30 +00:00
christos
61e7a23268
UTF8EncodingInfo is an empty struct; remove noop code and DIAGASSERT.
...
From Joerg Sonnenberger
2005-03-11 23:32:03 +00:00
ginsbach
27ff389ba6
Update standards section; add X/Open XNS and X/Open - IEEE POSIX.
...
RFC 2553 made obsolete by RFC 3493. Approved by wiz.
2005-03-11 16:13:13 +00:00
kleink
79b311d547
Crank the copyright year.
2005-03-10 19:53:22 +00:00
wiz
892987d654
End sentence with a dot. Remove trailing whitespace.
2005-03-10 16:51:42 +00:00
kleink
7dfdae2368
s/nil pointer/null pointer/
2005-03-10 00:31:38 +00:00
kleink
6fe0a614b5
Add pollts() prototype to <poll.h>, and update manual page synopsis for
...
pollts() header use.
2005-03-10 00:29:37 +00:00
kleink
7ef4223e7d
nil pointer -> null pointer
2005-03-09 22:28:52 +00:00
wiz
be7db22fff
Bump date for previous.
2005-03-07 13:21:24 +00:00
christos
bab13a9d96
Revert previous commit at 1.17. a maximum BSIZE of 65536 ends up stored
...
as a 0 in the page, but it is supported and it does work.
2005-03-06 03:42:14 +00:00
kleink
1c7e2b47c4
Provide select() and pselect() prototypes in <sys/select.h>, per
...
1003.1-2001, and leave the select() prototype in <unistd.h> for
compatibility. To allow for transition, reorganization of this is
deferred until netbsd-3 gets branched.
2005-03-05 19:48:38 +00:00
tnozaki
fe05f588fb
add new citrus iconv module UTF-7.
...
thanks advice, yamt-san.
2005-03-05 18:05:14 +00:00
tnozaki
97264db5f1
correct uninitialized value `err'.
2005-03-05 17:31:03 +00:00
dsl
8476342d19
Some more optimisations - I must stop looking at this file!
...
Update copyright to include 2005
(I have a compleetly different version, but it is only a few 100 bytes
smaller due to a 560 byte data area.)
2005-03-05 14:07:15 +00:00
dsl
3fa8666b4f
A going-over with the optimiser, save over 500 bytes.
...
I think this is enough to get rescue_tiny to fit again.
While there fix some bugs:
- %y failed to subtract 1900 from tm_year
- %p (am/pm) only worked at the end of the string
- %E% was treated at %% (ie match a % character)
regression test being added....
2005-03-04 21:41:42 +00:00
dsl
7f90294800
Re-implement in terms of fseek0()
2005-03-04 16:25:20 +00:00
dsl
28c48df97b
de __P
2005-03-04 16:04:58 +00:00
kleink
25bfafbaf1
Normalize the declarations of the FD_* "functions".
2005-03-03 20:49:47 +00:00
wiz
598792bd15
Bump date for pselect.
2005-02-28 10:42:19 +00:00
wiz
7564ea71d1
Bump date for pollts.
2005-02-28 10:42:10 +00:00
lukem
a30452355d
Overhaul the use of nsdispatch(3) by public APIs so that the back-end
...
methods use va_list in a manner that is directly related to the public API.
This makes it much easier to write dynamic nsswitch backends for the
getusershell(3) (et al) functions.
Per my proposal on tech-userlevel in September 2004.
2005-02-28 02:56:28 +00:00
lukem
efd08c7b4f
Prevent NULL deref upon malloc failure.
2005-02-28 01:25:24 +00:00
lukem
6596888aee
Restore getpwent() behaviour prior to rev 1.57; skip dodgy NIS & DNS entries
...
rather than failing with NS_UNAVAIL when encountering them.
Fixes PR 29272 by Antoine Reilles.
2005-02-28 00:40:05 +00:00
matt
79c744210f
Build syscalls stubs for pselect and pollts. Update man pages.
2005-02-26 18:04:19 +00:00
matt
ab963ad04b
Alphabetize main list of sources.
2005-02-25 21:51:10 +00:00
tsutsui
1b4b48e1ea
Add (missed) fabs.c to SRCS.
2005-02-19 18:18:53 +00:00
christos
1a940a96f9
remove extraneous `*' that caused a core-dump.
2005-02-17 21:22:25 +00:00
christos
3f899b0a98
do some manual CSE.
2005-02-17 19:58:21 +00:00
tron
f82977b51c
Fix lint warning caused by last change.
2005-02-17 19:15:38 +00:00
enami
aa6d8c7778
Jump to just before the copy instead of after it. Saves 8 byte on i386.
2005-02-17 04:30:23 +00:00
enami
d02f179fc6
Simplify, KNF and plug leaks. Compile test only.
2005-02-17 04:16:09 +00:00
christos
81a2ba5600
Simplify and KNF. Instead of keeping track if the pointer was allocated,
...
keep a copy of the pointer itself and only re-use it if the current
environment is equal to the saved pointer. Idea from OpenBSD. Avoids
problem of re-allocing a non-allocated pointer if a program resets the
environment after it has been grown.
2005-02-17 02:17:43 +00:00
simonb
3cebd9325e
White space nit- don't put a space before/after increment/decrement
...
operators.
2005-02-11 06:21:21 +00:00
tnozaki
7aab8c378d
considering huge character set(ucs, gb18030),
...
use not linear but binary search.
this change derrived from recent FreeBSD's rune.
2005-02-10 19:19:57 +00:00
tnozaki
476f0d92a1
fix typo in _DIAGASSERT
2005-02-10 19:03:51 +00:00
kleink
fd5cb0acea
A little libc namespace housekeeping exercise:
...
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.
2005-02-09 21:35:46 +00:00
kleink
23cad56e0c
Use strtoimax(), incidentally removing the only libc-internal use of
...
strtoq().
2005-02-09 19:32:36 +00:00
christos
e816a03a29
Bring back the head versions. Apparently the problem is a pkgsrc issue
...
unrelated to strings.
2005-02-09 18:15:16 +00:00
kleink
4d58969864
Declare rs_initialized static.
2005-02-09 12:09:08 +00:00
christos
122f93c73b
Revert everything to 2005-02-03 until the code is properly tested. Building
...
kde3 breaks with the head code.
2005-02-07 05:22:51 +00:00
christos
dbbaa0dafa
PR/29248: Geoff C. Wing: memchr broken after latest commit.
...
Apply fix submitted by jtc: The problem was that his regression tests
never checked for characters with the high bit set. Change movl to movzbl
where it was not done yet. In addition strrchr.S missed a jump to Lzero.
2005-02-06 18:36:32 +00:00
drochner
dfc9e068c7
switch to J.T.Conklin's optimized str* functions
...
(submitted per PR i386/25263)
2005-02-04 18:12:52 +00:00
dsl
3fd6225eec
Pull optimised code from memcpy.S
...
Maybe bcopy can be killed one day...
2005-02-03 22:35:11 +00:00