christos
674681d3c0
fix gcc warnings from Alexander Shishkin
2008-07-25 14:05:25 +00:00
tnozaki
97d29a42cd
add workaround for PR/39175(Curses regression causes disoptimal and
...
confusing output), act as rev1.25 does when wcwidth == 1.
2008-07-23 13:32:41 +00:00
lukem
ae07e87382
Enable MAKEVERBOSE support.
2008-07-21 15:34:58 +00:00
lukem
8897ce05a0
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 12:05:43 +00:00
veego
e6e078517c
Add CLEANFILES for ${BUILT_SRCS} (vis.h)
2008-07-20 16:25:35 +00:00
veego
5eea48350f
Add a CLEANFILES line to remove the generated file defs.h
2008-07-20 14:36:52 +00:00
pooka
6ebb8696c9
add pthread_cond_has_waiters_np()
2008-07-18 16:17:11 +00:00
drochner
1914237fbe
include <stdlib.h> explicitely, for exit(), getprogname() etc.
...
(it happens to be pulled in by the yacc skeleton, but we shouldn't
rely on this)
2008-07-17 16:24:55 +00:00
dholland
d3dda4ea44
Clarify one of the process-group-ID cases by saying "process group ID"
...
instead of just "group ID". This was sitting in my tree and I forget
the exact genesis - I think it came up in chat a couple months ago.
2008-07-13 15:16:26 +00:00
christos
df0a282e52
Don't bother with SIGSTOP it cannot be caught or ignored. From Jess Thrysoee
2008-07-12 15:27:14 +00:00
gmcgarry
686556951e
Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags.
2008-07-12 12:29:42 +00:00
gmcgarry
396359b261
Check MKCOMPLEX variable to build complex support into libm.
2008-07-12 12:23:13 +00:00
gmcgarry
495a069c8d
Test MKATF variable to compile ATF libs.
2008-07-12 12:20:08 +00:00
gmcgarry
99f83f7619
Nuke __strong_alias() to avoid definition loop.
2008-07-08 00:23:28 +00:00
gmcgarry
5aa0bc7608
Selector registers are 16-bit and binutils 2.18 insists that only 16-bit
...
accesses are permitted on them. Therefore, change movl to movw. No change to
machine code generated.
2008-07-07 13:01:16 +00:00
tnozaki
c71a9f1dad
use mbrtowc() instead of mbtowc().
2008-07-04 16:52:10 +00:00
tnozaki
b29240a183
use nl_langinfo(CODESET) instead of setlocale(LC_ALL, "").
2008-07-04 16:24:45 +00:00
tnozaki
c1cfc49998
fix cursor position problem with the character wcwidth > 1.
...
discussed in tech-userlevel, ok'ed by jdc@ thanks!
2008-07-04 15:51:35 +00:00
rmind
7781a976a7
Avoid calling a syscall when argument to sbrk(2) is zero.
...
OK by <ad>.
2008-07-02 20:07:43 +00:00
rmind
2a94bd63c1
Move scheduling functions from librt to libc.
...
Fixes PR/38657.
2008-07-02 20:05:16 +00:00
matt
48717a981d
Move rb.c from sys/lib/libkern to common so it can be in both libc and libkern.
2008-06-30 19:03:59 +00:00
ad
b4c1afd422
Shut lint up.
2008-06-28 16:50:43 +00:00
ad
27e50f7c64
Avoid spurious assertion failure.
2008-06-28 10:37:20 +00:00
ad
0e006eeb6f
Minor correction to previous.
2008-06-28 10:36:12 +00:00
ad
cbd43ffa55
Now that we have all the scheduling gunk, make these do something useful:
...
pthread_attr_get_np
pthread_attr_setschedparam
pthread_attr_getschedparam
pthread_attr_setschedpolicy
pthread_attr_getschedpolicy
2008-06-28 10:29:37 +00:00
ad
2a7116daf3
ttyname_r is another of the strange functions that returns its error code
...
instead of setting errno.
2008-06-25 11:47:29 +00:00
ad
3ae2f84118
Add _SC_TTY_NAME_MAX.
2008-06-25 11:46:11 +00:00
ad
5c6eb305b3
Fix MLINKS line
2008-06-25 11:19:28 +00:00
ad
c6f43a476e
Crank libc minor for getlogin_r
2008-06-25 11:12:01 +00:00
ad
5f64faa3a9
Add getlogin_r. Manual page changes mostly lifted from FreeBSD.
2008-06-25 11:10:24 +00:00
ad
d29b52efe8
Return -1 for the unsupported realtime extensions.
2008-06-25 11:09:20 +00:00
ad
403a399142
pthread_attr_setstacksize: EINVAL if the requested size is less than
...
sysconf(_SC_THREAD_STACK_MIN).
2008-06-25 11:07:07 +00:00
ad
39a9e71121
pthread_join: explicitly test for cancellation.
2008-06-25 11:06:34 +00:00
drochner
39ba286079
as in exp(), treat +/-Inf and NaN arguments specially, should fix
...
eg expf(-Inf) which was Nan previously
(We could avoid touching the i387 on amd64 in these cases, but we'd
need to bypass the ABI abstraction macros, so leave it the old way
for now.)
2008-06-24 17:27:56 +00:00
ad
e7bd22925c
A few more POSIX defs for threads.
2008-06-24 14:06:55 +00:00
ad
6d153667e5
pthread_kill, pthread_sigmask: return errno, not the return from the system
...
call. Found by VSTHlite.
2008-06-24 13:45:07 +00:00
christos
0ec2ee405f
No need for pthread anymore.
2008-06-23 14:52:11 +00:00
ad
10ba267505
Split cond_signal/cond_broadcast into inline and non-inline parts, like
...
the kernel.
2008-06-23 11:01:19 +00:00
ad
d9a30823e2
Move call to pthread__self() later.
2008-06-23 11:00:53 +00:00
ad
380c3da007
Split choose_arena() back out into inline and non-inline portions.
2008-06-23 10:46:25 +00:00
ad
3e1711d6de
pthread__threadreg_get: mark it const.
2008-06-23 10:39:38 +00:00
ad
edbc7575cc
pthread_curcpu_np: remove hack for pthread_dummy_lwpctl.
2008-06-23 10:38:39 +00:00
drochner
bc43bac5ca
-fix an obvious mistake in fpcw check
...
-replace ARG_DOUBLE_ONE_HALF by _MSW/_LSW because this reflects the
intention and also matches the terms used in C code,
also make the code where the fpcw overwrites the argument a bit
self-documenting
(this abstraction sucks because it forces to write inefficient code)
2008-06-23 10:24:13 +00:00
ad
7a21650601
Install manual pages for the atomic ops.
2008-06-23 10:22:40 +00:00
christos
1d1021c331
add macros for the upper half of the double arguments.
2008-06-23 00:14:46 +00:00
christos
8a9e7b0124
Share the amd64 and i386 exp versions. Fixes a problem with exp(-Inf) != 0.
2008-06-23 00:12:04 +00:00
christos
4f1a5d7e7c
bump libssh because of HPN and add pthreads dependency.
2008-06-22 15:43:40 +00:00
wiz
067a770e99
Note that strndup was recently (4.0) added. Bump date.
2008-06-22 11:02:07 +00:00
wiz
688c5830e1
Clarify a sentence.
2008-06-22 08:25:26 +00:00
wiz
e15ccc02f4
Make HTML-ready. Bump date for previous.
2008-06-22 08:24:40 +00:00
wiz
81ffe97c5e
Bump date for previous.
2008-06-22 08:24:26 +00:00
christos
7ce5e09d1b
- protect DEBUG again because we should be able to set it from the Makefile
...
- add a missing cast to pacify lint.
2008-06-21 23:37:53 +00:00
christos
494bafa060
forgot to commit these.
2008-06-21 23:32:19 +00:00
christos
aaad11e7ac
bump for bind-9-5-0
2008-06-21 20:42:40 +00:00
christos
3873655b27
updates from bind-9-5-0
2008-06-21 20:41:48 +00:00
ad
49b506e72f
PR lib/38948: libpthread, java: thread awakening itself
2008-06-21 11:27:41 +00:00
gmcgarry
38541e9dad
Remove old GCC bug work-around which relied on GCC extension.
2008-06-21 00:52:52 +00:00
christos
f498c90335
PR/38942: Pedro F. Giffuni: Mention that utimes now supports setting of
...
the birthtime. Text from FreeBSD.
2008-06-17 17:46:40 +00:00
he
842f96408c
Correct the use of MLINKS for the cpuset_* manual page links.
...
The value for MLINKS is a list of pairs, where the original manpage
is listed first in each pair...
2008-06-17 00:10:54 +00:00
rmind
4e4303fb66
pset(3): add code example, note about thread affinity.
...
sched(3): mention affinity(3) and cpuset(3).
2008-06-16 14:34:10 +00:00
rmind
e6acd90e07
- Add affinity(3) manual page, which describes thread affinity,
...
pthread_setaffinity_np(3) and pthread_getaffinity_np(3) functions,
provides simple code example.
- Add cpuset(3) manual page, which describes API of CPU-sets.
Thanks <wiz> for many improvements!
2008-06-16 14:25:49 +00:00
christos
2d6c1e93d9
Glue in cpuset.c
2008-06-15 20:36:52 +00:00
tnozaki
e1ee662664
remove unused include, locale.h.
2008-06-14 16:01:07 +00:00
yamt
2233bf3229
remove unnecessary casts.
2008-06-13 03:18:04 +00:00
yamt
60683edb0f
avoid c99 on DEBUG.
2008-06-13 03:15:50 +00:00
christos
22c4053358
PR/38539: Ed Ravin: libc/gen/syslog.c always logs to console if LOG_CONS is set.
...
While here:
1. Don't loop forever, handle closing and opening the log after each send.
2. Release the lock later, after we've possibly printed to the console.
2008-06-12 20:43:14 +00:00
ginsbach
0f112a8437
The category LC_MESSAGES is already a directory possibly containing
...
gencat(1) generated message catalogs. Make sure that it is handled
properly. (I missed this previously.)
Add some additional sanity checks on the locale path as the value may
come from the envrionment.
2008-06-12 20:33:23 +00:00
ad
6e5329fd40
Use a dummy assembly file so we won't try produce lint stuff.
2008-06-06 13:35:06 +00:00
yamt
4f6334de3c
fix a typo
2008-06-06 05:51:46 +00:00
ad
271002f500
Back out previous because it breaks the build.
2008-06-05 23:38:51 +00:00
ad
b4ad7b01a5
glibc compatibile PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, requested by
...
rafal@.
2008-06-05 21:40:17 +00:00
aymeric
b0288bde97
fix a "typo" which prevented %ls from working in printf() (NARROW case).
...
Among other things, nvi displays options correctly now.
2008-06-05 19:55:47 +00:00
ad
88261d4ead
Check to see if MALLOC_OPTIONS is actually set in the environment before
...
doing issetugid().
2008-06-05 00:16:34 +00:00
ad
61464a76be
Forgot to add this yesterday.
2008-06-04 14:59:39 +00:00
haad
9b09c481c8
Add prop_array_util functions to proplib. This code is copied/changed
...
prop_dictionary_util.
From manual page
The prop_array_util family of functions are provided to make getting and
setting values in arrays more convenient in some applications.
OK by mjf@ and freza@.
2008-06-03 20:18:24 +00:00
ad
e54e98d8cc
xprintf returns void.
2008-06-03 19:22:37 +00:00
ad
1b74c9b77c
- Fold libm387 into libm.
...
- Leave libm387 as an empty shell.
2008-06-03 18:47:28 +00:00
wiz
db00c75860
Fix typo.
2008-06-02 13:44:52 +00:00
uwe
c39ae7f5d7
Recycle unused _REG_EXPEVT slot in mcontext for _REG_GBR.
...
As the size of mcontext is not changed, we avoid the hassle of
versioning all the calls that use it.
_REG_EXPEVT was never used by any code in the tree. Reporting EXPEVT
makes sense only for signals and in that case we pass it to userland
in ksi_trap already which is official MI way to get this (MD) information.
Old binaries running on new kernels will now have their GBR set from
new mcontext, but that's ok too, as GBR was not properly supported by
old kernels (not saved in trapframe), so old binaries couldn't have
possibly used it anyway.
2008-06-01 23:07:20 +00:00
enami
ed3ed8f740
Refer sigprocmask(2) instead of non existing sigmask(2). Also, xref
...
sigprocmask(2) and pthread_sigmask(3).
2008-05-31 16:15:07 +00:00
gdt
f7d5c4db3f
Document the C99-required and already implemented hh modifier (pointer
...
is to a char, vs. h for short). Bump date.
2008-05-30 17:29:54 +00:00
mrg
c2b95373bf
remove clause #3 from my license where there are no other
...
copyright holders involved.
2008-05-29 14:51:25 +00:00
christos
bc7be9dd42
more camellia
2008-05-26 16:59:43 +00:00
christos
3c5f3e21af
PR/38728: Tomoyuki Okazaki: add support Camellia for openssl
2008-05-26 16:51:07 +00:00
haad
a3b083b6a1
Remove unneeded #include <string.h>, found by Adam Hoka.
...
Ok'ed by martin@.
2008-05-26 13:17:48 +00:00
ad
27d03b16a5
Fedora Core 9 doesn't provide ARG_MAX, so use _POSIX_ARG_MAX if it's
...
not available.
2008-05-26 13:06:38 +00:00
wiz
afa117e7f9
Sort sections. Use more markup.
2008-05-26 08:45:55 +00:00
wiz
5904699302
Sort ERRORS.
2008-05-26 08:43:57 +00:00
wiz
6a46b478a7
Remove trailing whitespace.
2008-05-26 08:43:41 +00:00
wiz
e1070e84ea
Remove duplicate (pasto?) RETURN VALUES section.
2008-05-26 08:43:08 +00:00
wiz
5ae93b7856
Remove trailing whitespace.
2008-05-26 08:41:42 +00:00
ad
c4612ba227
More blurb about the mutex and limitations.
2008-05-26 02:25:05 +00:00
ad
3ad4fb5234
Note that when calling pthread_cond_broadcast/signal, the same mutex as
...
passed to wait/timedwait must be held.
2008-05-26 02:16:48 +00:00
ad
bd2852ae8c
Add a comment describing some limitiations of this implementation.
2008-05-26 02:06:21 +00:00
ad
9d566f8240
Note that apps with real-time threads shouldn't use spinlocks because of
...
the danger of deadlock, and note that in general spinlocks suck and mutexes
should be used instead!
2008-05-26 00:31:08 +00:00
ad
6458d64f4c
- Eliminate one test+branch.
...
- Fix a comment.
- Fix a lock leak.
2008-05-26 00:16:35 +00:00
ad
dec5fb2e52
pthread_cond_timedwait: don't leak EINTR or EALREADY to the caller.
2008-05-25 23:51:31 +00:00
wiz
e430b722ea
New sentence, new line.
2008-05-25 20:13:47 +00:00
wiz
62954cc42a
Sort sections. Sort ERRORS. Prepare for HTML output.
2008-05-25 20:13:14 +00:00
wiz
8b96d555e0
Remove trailing whitespace. Fix typo. Sort SEE ALSO.
2008-05-25 20:07:14 +00:00
wiz
885b937f63
Prepare for HTML output. Remove dot at end of SEE ALSO.
2008-05-25 20:06:53 +00:00
wiz
67ff3d242e
Punctuation markup nit.
2008-05-25 19:38:21 +00:00
wiz
682d8063bf
Remove trailing whitespace.
2008-05-25 19:38:14 +00:00
joerg
2472f9f8c5
Update libarchive build glue for 2.5.4b and document the version we are
...
using.
2008-05-25 19:33:27 +00:00
ad
49ec182c8c
Fix error in previous.
2008-05-25 17:11:13 +00:00
ad
2bcb8bf1c4
PR lib/38741 priority inversion in libpthread breaks apps that use
...
SCHED_FIFO threads
- Change condvar sync so that we never take the condvar's spinlock without
first holding the caller-provided mutex. Previously, the spinlock was only
taken without the mutex in an error path, but it was enough to trigger the
problem described in the PR.
- Even with this change, applications calling pthread_cond_signal/broadcast
without holding the interlocking mutex are still subject to the problem
described in the PR. POSIX discourages this saying that it leads to
undefined scheduling behaviour, which seems good enough for the time being.
- Elsewhere, use a hash of mutexes instead of per-object spinlocks to
synchronize entry/exit from sleep queues.
- Simplify how sleep queues are maintained.
2008-05-25 17:05:28 +00:00
ad
d5afa113a1
Add some general comments about the mutex implementation.
2008-05-25 12:29:59 +00:00
dholland
d617ea4585
Fix handling of legacy global variable timezone outputs. PR misc/22221.
2008-05-25 06:18:06 +00:00
christos
ea988594e2
Coverity CID 5024: Fix double free on error path.
2008-05-24 16:37:49 +00:00
christos
be2cd377db
Coverity CID 5028: Fix memory leak.
2008-05-24 16:04:15 +00:00
christos
9842feccf0
Coverity CID 5029: Fix memory leak.
2008-05-24 15:59:59 +00:00
ad
be6b674555
These work with SCHED_4BSD now.
2008-05-24 12:57:00 +00:00
lukem
8f975a405a
Tie in ../external/lib after the "2nd" dependency barrier.
...
Move libpam to after a "3rd" dependency barrier, since PAM modules
may depend upon external/lib libraries such as libldap.
2008-05-22 14:16:11 +00:00
lukem
edf03256a8
Fix possible memory leak in error path.
...
Part of PR 38677.
2008-05-18 22:36:15 +00:00
ginsbach
bcd54758b8
Add support for additional locale categories: LC_MESSAGES, LC_MONETARY,
...
LC_NUMERIC.
The code used to load LC_TIME was refactored in to a more general routine.
This common routine is now used to load LC_TIME along with the newly added
categories.
Changes discussed with/reviewed by christos.
2008-05-17 03:49:54 +00:00
peter
38ef85727a
Update to libevent 1.4.4-stable.
...
Reviewed by provos@
2008-05-16 20:24:57 +00:00
tsutsui
51e440b3e3
Use -fno-loop-optimize rather than -O0 for gcc4-sh3-bz2 hack.
2008-05-16 13:13:00 +00:00
christos
dba9c5c1c8
Do the 'bc 25,0,' -> 'bdnz+' conversion automatically
2008-05-15 02:41:26 +00:00
dogcow
14c78766c5
I have no idea why the assembler doesn't like
...
bc 25,0,label
so replace it with
bdnz+ label
which is the same thing.
2008-05-14 09:04:26 +00:00
christos
e3ec2bf190
Add ppc bits; untested
2008-05-13 15:35:40 +00:00
tsutsui
d4fd069bec
Use WARNS=2, which just works.
2008-05-13 15:27:30 +00:00
he
d1eb8042a4
Recursively bump the major version number of the shared libraries
...
which use libcrypto (and those which use those libraries again),
as libcrypto's major number was recently bumped. The pam modules
share a major with libpam, so they are all bumped as well.
2008-05-11 19:17:06 +00:00
christos
3083736b7e
There are no vax assembly modules distributed by openssl, but give this one
...
a chance to work.
2008-05-11 16:45:19 +00:00
christos
f15eff55bf
add sparc64 assembly. Unfortunately we cannot use any of it right now because
...
AES_set_{encrypt,decrypt}_key are not provided.
2008-05-11 16:35:28 +00:00
joerg
8d540374df
Sync with libarchive-2.5.3b.
2008-05-11 13:14:32 +00:00
christos
8e11cb8cb8
undo the constification of the argument. Per opengroup.
2008-05-10 22:39:40 +00:00
christos
dabe785fdd
bump this too because of openssl.
2008-05-10 21:49:17 +00:00
christos
e121a2ba4e
another missing file botch
2008-05-10 21:44:12 +00:00
christos
de3a0e6cfe
handle more assembly stuff.
2008-05-10 21:41:22 +00:00
christos
9808a8475f
include the proper source file
2008-05-10 21:41:07 +00:00
christos
b2beddd818
disable cast for now. The tables generate DT_TEXTREL's.
2008-05-10 21:40:51 +00:00
christos
c76d02d6ce
Accommodate more assembly builds.
2008-05-10 21:30:06 +00:00
christos
3e2c07c608
put a file back I removed accidentally.
2008-05-10 21:29:31 +00:00
christos
22c970f986
fix typo.
2008-05-10 21:19:07 +00:00
christos
2b62cb0e62
add glue
2008-05-10 21:15:01 +00:00
christos
c82bd19f3b
replace all assembly.
2008-05-10 21:14:29 +00:00
christos
4c514b977f
add assembly stubs for amd64.
2008-05-10 20:14:20 +00:00
martin
5d1469bd77
Backout previous: the license sweep touched these files in error, so
...
restore the old license.
2008-05-10 15:31:03 +00:00
christos
7faa05656c
re-gen
2008-05-09 22:02:42 +00:00
christos
a04ecacd9e
bump because of libcrypto
2008-05-09 21:53:15 +00:00
christos
8a6a174d43
new openssl
2008-05-09 21:52:18 +00:00
christos
7f928c07fa
add more errors from gleaning the source.
2008-05-09 15:52:50 +00:00
wiz
04845dabb5
Assign to TNF. Make 2-clause instead of 3.
...
Ok: co-copyright owner hubertf@.
2008-05-09 08:31:13 +00:00
lukem
2713f76747
Convert getnetbyname(3) and getnetbyaddr(3) to the more "standard"
...
nsdispatch() backend method API.
2008-05-08 13:01:42 +00:00
lukem
d8aac84366
Fix a misuse of an automatic as a static that was exposed by the previous.
2008-05-08 12:26:55 +00:00
lukem
6e5e2748b3
Fix DNS getnetbyname(), which has been broken for at least 5.5 years
...
(if not longer).
2008-05-08 05:06:18 +00:00
njoly
24cbc2830b
- Make semctl SETVAL/SETALL commands validate the semaphore value to
...
be set, which needs to be in the range [0,SEMVMX].
- Adjust the man page.
2008-05-06 20:25:09 +00:00
ad
6b5cb6423a
BUGS section no longer applies.
2008-05-05 14:46:40 +00:00
yamt
ad1e9536e6
document LWPCTL_FEATURE_PCTR.
2008-05-05 05:04:06 +00:00
martin
637bc2e71d
Move TNF licenses to 2 clause form
2008-05-04 19:43:05 +00:00
tonnerre
34f7daa87e
Fix a bug in the implementation of seekdir(). If the first entry in
...
a block has been unlinked, seekdir() may overshoot by one entry.
Thus, _readdir_unlinked() must not skip deleted entries when being
called from seekdir().
Christos agreed.
2008-05-04 18:53:26 +00:00
nakayama
7ea8ca8663
libsparc_v8 is designed for overriding libc with ld.so.conf.
...
So avoid linking against libc.
2008-05-03 20:43:54 +00:00
lukem
66176dfdff
Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
...
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
yamt
49716be5e2
a little more about fpos_t.
2008-05-03 07:06:30 +00:00
martin
a71552e354
Move to 2 clasue license
2008-05-02 18:38:32 +00:00
martin
f1a537e1d9
Fix nested comment and move to 2 clause license
2008-05-02 18:34:17 +00:00
martin
cd22f25e6f
Move TNF licenses to 2 clause form
2008-05-02 18:11:04 +00:00
lukem
3e0e2ca90a
remove bogus setting of MKLINT
2008-05-02 11:27:08 +00:00
martin
ca37ecd7b6
Move to 2 clause TNF license (was: strange 3 clause version)
2008-05-02 11:13:02 +00:00
christos
640f4f7d25
mention thread local support.
2008-05-01 15:52:31 +00:00
jmmv
2a6dead6fc
Remove the libatf library and add libatf-c and libatf-c++; per import of
...
atf-0.5.
2008-05-01 15:33:33 +00:00
christos
aee69d536e
fix bugs that piss off lint.
2008-05-01 15:33:15 +00:00
christos
5614cf4051
Mention errno settings on failure.
2008-04-30 14:51:10 +00:00
martin
11a6dbe728
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
scw
d05f8e9263
- Document RAS_START_ASM, RAS_END_ASM, RAS_START_ASM_HIDDEN, and
...
RAS_END_ASM_HIDDEN.
- Advise against implementing RASs in C.
See PR lib/38482 for details.
While here, remove clauses 3 and 4 from TNF license.
2008-04-29 21:06:28 +00:00
jdc
017de4a670
Revert the scrolling region change from revision 1.18, as this breaks (at
...
least) mutt:
Only change the scrolling region if the window now has fewer rows.
2008-04-29 17:46:39 +00:00
uwe
138486a3df
According to C99:
...
6.11.5 Storage-class specifiers
[#1 ] The placement of a storage-class specifier other than
at the beginning of the declaration specifiers in a
declaration is an obsolescent feature.
and gcc -Wextra warns about this, so s/const static/static const/
2008-04-29 15:10:02 +00:00
martin
3028e483e4
Convert to new 2 clause license
2008-04-29 06:53:00 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
christos
a8706a45b4
mention ldexp, frexp, modf.
2008-04-27 09:26:20 +00:00
tsutsui
f244f3d606
Use WARNS=1 rather than adding warning options to COPTS.
...
Tested on several MACHINE_ARCHs.
2008-04-27 03:14:59 +00:00
tsutsui
c007028e0b
Enable gcc optimization on m68000 (sun2) again with minimum hacks.
...
gcc -O0 generates a bit fat binaries.
2008-04-27 03:06:46 +00:00
christos
e1bf490a86
pass a little lint.
2008-04-26 23:49:50 +00:00
christos
6e8524778b
Remove 3 functions that exist in libc. This does not break binary compatibility
...
since we always link with libc.
2008-04-26 19:49:38 +00:00
christos
f5e7bbccfe
Put back USE_SHLIBDIR and remove the confusing lint comment that made me
...
comment it out in the first place.
2008-04-26 19:19:06 +00:00
dogcow
9fdae5aaa5
make this compile again. (hi, xtos!)
2008-04-25 23:51:41 +00:00
christos
98e7e8e9f7
avoid shadow variables, and enable lint.
2008-04-25 22:21:53 +00:00
ginsbach
b876d7a7df
Add %F the ISO 8601 date format which is equivalent to %Y-%m-%d. This
...
format character is supported for reasons of symmetry with strftime(3).
FreeBSD and GNU versions of strptime(3) both support %F.
2008-04-25 20:51:10 +00:00
christos
c9cdc30221
- always check malloc results
...
- don't leak fds on error
- don't cast malloc
- don't cast NULL
2008-04-25 17:44:44 +00:00
christos
eaacd42b0f
I don't see why we need to strong alias those. Nothing else does it.
2008-04-25 16:43:00 +00:00
ginsbach
52de4d6274
Change date for previous change (addition of %Z).
2008-04-25 14:37:00 +00:00
ginsbach
43e9d46aab
Add support for %Z ala FreeBSD and some other strptime(3) implementations.
...
Reviewed by christos.
2008-04-24 21:34:48 +00:00
plunky
043900c0cb
constify dirname(3) and basename(3)
2008-04-23 07:53:26 +00:00
plunky
f983e71d70
constify uuid(3)
2008-04-23 07:52:32 +00:00
rmind
4000aba309
Add posix_madvise(2) and appropriate definitions in sys/mman.h header.
...
This interface is identical to madvise(2), however, is defined by POSIX.
Partially sync madvise(2) man page with FreeBSD.
Reviewed by <mrg>.
2008-04-22 10:42:16 +00:00
dogcow
690e5f1c0b
add matching END(). found via -Wa,--fatal-warnings
2008-04-22 04:47:44 +00:00
veego
0f11cf3c0e
${gen_files} was splited into:
...
${gen_files_k5} ${gen_files_cms} ${gen_files_rfc2459}
${gen_files_pkinit} ${gen_files_pkcs12} ${gen_files_pkcs8}
${gen_files_pkcs9} ${gen_files_digest} ${gen_files_kx509}
Change CLEANFILES to reflect that change.
2008-04-21 21:30:59 +00:00
plunky
7c3f385475
correct cut and paste error in uuid_dec_be(); le16dec -> be16dec
2008-04-19 18:21:38 +00:00
lukem
e11ffebb07
Document the callback API used by "standard" functions.
...
NOTE: some of these will be changing in the future to be more
consistent with the technique used in the group & passwd backends.
I'm just documenting the existing behaviour.
Be more consistent when using certain terms.
Rename some variables to reduce confusion.
2008-04-19 08:24:45 +00:00
lukem
e39aac16df
Add a missing const.
2008-04-19 07:56:34 +00:00
garbled
6f4524c1a6
Fix a stupid typo in a comment. Pointed out by Juergen Hannken-Illjes.
2008-04-18 08:05:05 +00:00
garbled
1ad3697abd
Back out the ppc assembler changes for memcpy/memmove/memcmp on evbppc.
...
It breaks the explora because the cpu (403) cannot deal with unaligned
accesses. Reported by Juergen Hannken-Illjes.
2008-04-18 05:34:04 +00:00
apb
01a2b8e8ab
Clarify the range of the result from toascii.
2008-04-17 16:41:00 +00:00
apb
576ccca3eb
When given negative inputs, isascii returns false. Clarify that
...
it checks for the range 0 to 127, not "less than or equal to 0177".
2008-04-17 16:40:20 +00:00
apb
a754895afc
Refer to the CAVEATS section of ctype(3) for more information.
2008-04-17 16:25:36 +00:00
apb
bafb5bb96d
* Expand the CAVEATS section with a lot more detail on how to safely
...
use the ctype functions.
* Use toupper((int)(unsigned char)*s)) instead of just
toupper((unsigned char)*s) in an example.
2008-04-17 16:24:40 +00:00
mlelstv
30bf1b0457
If we build with tools the util functions are provided by libnbcompat.
2008-04-15 21:50:22 +00:00
jdc
e78f48a7d8
Add getwin and putwin mlinks.
2008-04-15 18:27:01 +00:00
jdc
a5d694a48c
Remove unused BUGS section header.
2008-04-14 21:29:30 +00:00
jdc
9614bd680e
Cross reference curses_fileio(3).
...
Bump date.
2008-04-14 21:26:16 +00:00