Commit Graph

12856 Commits

Author SHA1 Message Date
tnozaki 73651b99df add _CTYPE_R(printable) bit for ALL_80_TO_FF_SW1 area.
now wcwidth(wc) looks whether wc is printable or not.
2008-08-12 21:25:31 +00:00
tnozaki b5174f925f SUSv3 says, wcwidth(wc) returns:
1) wc is nul wide-character, return 0.
  2) wc is printable wide-character, return column width.
  3) else, return -1.
but our implementation, case 3) returns 0. it's wrong!
2008-08-12 20:51:25 +00:00
pooka 3fd391abc8 void * -> puffs_cookie_t
no functional change
2008-08-12 19:51:55 +00:00
pooka ff42332733 Replace void * by puffs_cookie_t where appropriate. No functional change. 2008-08-12 19:44:39 +00:00
skrll 0b99767bfe Remove unnecessary include. 2008-08-11 21:45:24 +00:00
pooka 71043aa4cb clear cached puffs_cc's in puffs_exit() 2008-08-11 16:23:37 +00:00
pooka 7602ecfa8f * make sure we come out of mainloop in the main context. otherwise in
certain cases the server would jump to hyperspace when unmounted
* sprinkle some debug prints
2008-08-11 15:59:01 +00:00
pooka 44053cbe13 Avoid pid 0
XXX: pid allocation should not be done here.
2008-08-08 14:16:24 +00:00
matt c331e46238 Add support for missing _SC_* constants for sysconf().
From andy dot shevchenko at gmail dot com
2008-08-06 17:17:03 +00:00
matt f0a4a8908c Add a missing dependency 2008-08-06 16:22:48 +00:00
plunky e6fde5136f For convenience, pad the structures for NAP, GN and PANU profiles
to be the same size.
2008-08-06 14:21:33 +00:00
lukem c15f2bdde0 Revert previous addition of '-e sedcmd'. Still retain the usage improvements. 2008-08-05 02:08:13 +00:00
lukem 0cc7d83887 Redo previous in a much simpler way.
Inspired by and fixes PR 39285.
2008-08-05 02:06:53 +00:00
lukem d3eb13d073 Add '-e sedcmd' to makelintstub, to translate filename to syscall name.
Improve usage, etc.

Invoke makelintstub with -e 's/^tmp_//' when building LintSysNormal.c

Fixes build problem that matt@ highlighted to me.
2008-08-05 01:54:47 +00:00
matt cac8e44915 Add C99 functions imaxabs and imaxdiv. 2008-08-04 21:29:27 +00:00
matt 01b36ae8ad Use WEAK_ALIAS 2008-08-04 20:26:38 +00:00
matt e796a34c9c Use WEAK_ALIAS.
Add imaxabs weak alias.
2008-08-04 20:21:26 +00:00
lukem 29e7a5c114 Prefix filenames of tomporarily generated .S files with "tmp_", so that the
".if exists(foo.S)" check doesn't get confused by ${.OBJDIR}/foo.S.
Fixes PR/39217
2008-08-04 00:53:51 +00:00
veego cca63e16c3 Restore .hx support for avoiding unneeded regeneration of header files
Fix PR lib/39185

Partly restore the changes which were removed during the Heimdal 1.1 update:
src/lib/libasn1/Makefile 1.28 -> 1.29
src/lib/libhdb/Makefile 1.21 -> 1.22
src/crypto/dist/heimdal/lib/asn1/gen.c 1.8 -> 1.9

Add .hx support in 'new' heimdal libraries:
src/lib/libgssapi/Makefile
src/lib/libhx509/Makefile

Add a new entry in doc/HACKS for this changes.
2008-08-03 07:16:58 +00:00
matt 2b0c4dcffd Change pthread_mutex_t to use the amount of space as and be congruent to
the version used in the SA version of pthreads.  This preserves binary
compatibility between both versions of the library.
2008-08-02 19:46:30 +00:00
matt c0038aadef Change some type to eliminate some lint warnings. 2008-08-02 16:02:26 +00:00
pooka 541195ef5d Introduce ukfs_vfstypes() which returns the available file system
types loaded into rump.  Now it is possible to iterate over all
file system types supported by a rump program in an attempt to
access an unknown file system image instead of having to know
beforehand which type of file system is on the image.
2008-08-01 19:52:10 +00:00
dillo 2a16dc1a4e Add API version 2.6 variant of fuse_setup.
Reviewed by agc.
2008-08-01 15:54:09 +00:00
pooka b6113580a4 __{BEGIN,END}_DECLS 2008-08-01 14:50:28 +00:00
pooka c19f1a2afd Support ukfs_modload(), which dlopens and vfs_attaches rump file
system modules for use.  Sneakily this solves the problem with the
dynamic linker not wanting to handle the modules link set for
binaries where more than one file system library is included during
the link phase and therefore only one of the file systems getting
vfs_attach()ed in rump "boot".  But more importantly, this is really
TRTTD, since now applications can be built, linked and shipped
completely independently of the file systems they support.

tested by Arnaud Ysmal
2008-08-01 14:47:28 +00:00
pooka 6fe369e772 Nuke __VFSOPS_EXPOSE, it hasn't been used in ages. 2008-07-30 18:10:38 +00:00
joerg 9acf218ba1 Before using the slightly more involved bitmap tables,
check that the charset for strspn/strcspn is non-trivial.
An empty charset is either a direct return or a strlen and
a single charset a simple loop.
2008-07-30 16:13:59 +00:00
pooka e3c0c9ec57 No reason to forward def componentname anymore 2008-07-30 14:59:47 +00:00
pooka d2b954cb75 Include <sys/types.h> for completeness, uid_t etc. in prototypes
noticed by Arnaud Ysmal
2008-07-30 14:57:40 +00:00
christos 365dab42f3 handle EINTR in the termios operations, reported by the GHC folks 2008-07-30 13:00:46 +00:00
pooka db96f8c4cc fix pasto 2008-07-29 21:11:17 +00:00
lukem a703e9a7ca Disable assembler warnings on mipseb and mipsel for mcount.c
Workaround for PR#39192
2008-07-29 14:20:12 +00:00
pooka bdf6e0b034 Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly
2008-07-29 13:17:40 +00:00
dsl 9edd12efca Change the gross #defines HVIS and SVIS into local functions. 2008-07-25 22:29:23 +00:00
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