Commit Graph

12590 Commits

Author SHA1 Message Date
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