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
drochner
f2a3f79f1c
work around a prototype conflict by including ioctl.h
...
before we redefile ioctl()
2005-02-09 18:02:53 +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
agc
f255b51ddc
Another fall-out from the de-__Ping round.
2005-02-06 18:00:30 +00:00
perry
4fcf86857c
de-__P (really de-P)
2005-02-06 05:53:07 +00:00
perry
0f3d05ee54
remove unneeded definition of "P" macro
2005-02-06 05:52:25 +00:00
perry
252786f3ee
de-__P (really de-P), and fix the broken prototype for printsub
2005-02-06 05:48:23 +00:00
yamt
97bb1b498d
revert zlib.h rev.1.15 (gzopenfull and gzdopenfull)
...
as gzio.c counterpart has been reverted.
2005-02-05 16:37:03 +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
perry
7bcd7064be
de-__P
2005-02-04 16:14:21 +00:00
perry
8e902846e9
remove a spurious space in a function declaration
2005-02-04 16:13:14 +00:00
perry
9f5c37981e
de-__P, slightly KNF, and make a bit of the formatting more consistent.
2005-02-04 16:12:13 +00:00
perry
e738b65d24
de-__P, ANSIfy function declarations
2005-02-04 15:52:08 +00:00
perry
d806a865f6
de-__P
2005-02-04 15:27:44 +00:00
he
dcdc758deb
Introduce a few more temporary variables, in order to avoid an ugly
...
double cast in the pam_get_item() invocations. The double cast
triggered a "discards qualifier" warning/error from gcc 2.95.3, while
trying to fix that by adding "cost" to the "void *" cast produced
a similar warning from gcc 3.3. This now compiles without warning
with both compilers.
Approved by christos
2005-02-04 15:11:35 +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
dsl
2c19ca7c2b
Bring code in from obsolesent bcopy.S
...
Optimise to avoid mis-predicted braches and 'rep movsb' for small %cx.
2005-02-03 22:31:44 +00:00
dsl
781e1351cd
A faster implementation.
...
'rep stos' is slow to setup on modern processors, so don't use it to
align the transfer.
Also not that 8 byte alignment is faster on Intel processors
2005-02-03 22:05:01 +00:00
christos
cca9405683
Add charles' mlock fixes, protected with PTHREAD_MLOCK_KLUDGE and enabled
...
by default, until we come up with a real fix.
2005-02-03 17:30:33 +00:00
wiz
303329913a
We have 2005.
2005-02-02 14:34:25 +00:00
wiz
463db6dc4b
Sort SEE ALSO, fix an xref, and s/FreeBSD/.Fx/.
2005-02-02 14:33:20 +00:00
christos
691a62246e
Avoid passing in the actual pw field in gettime because it might not
...
be the type that we think it is. Fixes cross builds.
2005-02-01 23:47:38 +00:00
christos
1d6e3b563a
Add a new option "authenticate" that requires the user to enter his own
...
password to login.
2005-02-01 22:55:11 +00:00
christos
44d1e6097a
Re-write to use both utmp and utmpx properly.
2005-02-01 17:54:48 +00:00
drochner
d6e66e178c
fix pasto from sigignore.3
2005-02-01 13:55:19 +00:00
daniel
760b46e0e9
Document PTHREAD_CONCURRENCY, ack by wiz@.
2005-02-01 11:38:27 +00:00
enami
22e3442eb2
- Modify realpath() not to alter process wide state current working
...
directory. Strategy from FreeBSD. Addess PR#28986.
- Make realpath() to return an error when null string is passed or
the last component is symlink to null string. The kernel lookup
routine returns an error if such path are passed.
2005-01-30 22:37:32 +00:00
jwise
1161efa5da
Comment back in cross-references to other man pages, was looking at a non-recent
...
DESTDIR. Other half of last change was correct.
Pointed out by wizd.
2005-01-30 18:13:04 +00:00
jwise
449bc64125
<sys/types.h> must be included before <sys/uuid.h>.
...
Also, while here, remove `SEE ALSO' section which referenced only man pages
which we do not have.
2005-01-30 03:20:17 +00:00
wiz
910da6b63e
Add "not" to a sentence so that it makes more sense.
2005-01-29 14:19:43 +00:00
wiz
b2d185782d
Use In instead of Fd; use \*[Am]\*[Lt]\*[Gt] for html output. Uppercase FREENIX.
2005-01-28 11:04:52 +00:00
itojun
cc1dea55c3
title was backwards. djm@openbsd
2005-01-28 01:36:17 +00:00
wrstuden
e384a44e9d
Extend fsync_range(2) to support the FDISKSYNC flag, which requests
...
that the sync be propogated out through the disk drive caches.
2005-01-25 23:55:20 +00:00
wiz
93f4ac130d
Fix a double word, and improve mark up in FILES section. From jmc@openbsd.
2005-01-25 01:39:57 +00:00
manu
08ad2c449b
Set correct default for the nologin file: /etc/nologin
...
Handle the ignorenologin capability
2005-01-23 09:45:02 +00:00
enami
b2ed183e5b
- Remove macros used only by old getcwd() implementation.
...
- Fix memory leak on error. (I guess the loop isn't necessary but
it is different matter).
- Remove knowledge about old malloc implementation.
2005-01-23 01:00:51 +00:00
briggs
a665897c6f
Bring in sem_open (& sem_close & sem_unlink) man page from FreeBSD.
...
These functions are actually implemented, but the old man page said that
they simply returned with errors--it was apparently out of date at the
time of import.
2005-01-22 03:16:33 +00:00
christos
a10b4794fd
change long -> unsigned long
2005-01-20 21:53:23 +00:00
christos
8817e95118
remove debugging printf.
2005-01-20 21:11:56 +00:00
kleink
774c973096
Note ENOATTR; from FreeBSD.
2005-01-20 13:23:57 +00:00
kleink
b2f3ea1a33
Add ENOATTR (and a missing comma); noted by Takehiko NOZAKI.
2005-01-20 13:14:09 +00:00
christos
b1c3c94911
Improve error messages.
2005-01-19 22:59:24 +00:00
christos
b51e7f1581
- fix initialization of dowarn [use before set, thanks luke]
...
- always initialize flags so that we don't have to check for it.
- use the consistent variable names in functions.
2005-01-19 22:40:37 +00:00
christos
a31e08fdfc
- test for too long username (from Greg Woods)
...
- centralize id and time_t parsing, providing better error checking of
numeric values; previously the code would accept 12foo as an expiration
or change time.
- fix issue with dereferencing null flags in compat code.
- ansify, KNF
2005-01-19 19:13:38 +00:00
mycroft
ebfdf0c012
If TIOCPTMGET fails, close /dev/ptm.
2005-01-19 01:54:09 +00:00
mycroft
e638979d5c
Use FD_CLOEXEC.
2005-01-19 00:59:48 +00:00