Commit Graph

12425 Commits

Author SHA1 Message Date
jdc 80b229386d Add termattrs() and term_attrs() (requested by wiz@).
Only allow standout and underline if the terminal can do them.
2008-03-21 13:41:49 +00:00
mhitch f8f1643217 Fix weak alias. 2008-03-20 18:49:39 +00:00
mhitch 83e4fa69d9 Add wrappers for missing coshf(), expf(), logf(), sinhf(), atan2f(), and
hypotf() functions for vax.  Play the namespace and weak alias game for
functions used internally by the complex functions.  Should fix the vax
build of libm.
2008-03-20 16:41:26 +00:00
pooka 73bad8cbdb Reserve enough memory for ops which return more than they receive. 2008-03-20 15:28:03 +00:00
tnozaki 7ed5b48246 add BOM to utf-16/32 stream in case that endian is not specified,
like other iconv implementation, GNU libiconv, glibc2 iconv, perl iconv.
2008-03-20 11:47:45 +00:00
lukem 235fbd4ecb pam_group needs libutil & libcrypt 2008-03-20 02:19:48 +00:00
plunky 1099c15782 add structure definitions relating to Personal Area Networking profiles
(from FreeBSD)
2008-03-19 23:13:21 +00:00
bjs 0b40e16c9a Change version suffix back to 1.1 at request of christos@@ so that
users know whether or not their library has the security
vulnerability.
2008-03-19 17:10:52 +00:00
he 0db6a6b023 When compiling for _STANDALONE, omit a bunch of headers which aren't really
needed and which trigger build problems.

(These two files should probably be unified and put under common/...)
2008-03-18 20:11:43 +00:00
christos 00f5c7fe8d Avoid integer overflow; reported by Maksymilian Arciemowicz. 2008-03-18 18:16:08 +00:00
christos 0738e9e28d no more texinfo files. 2008-03-18 14:48:39 +00:00
wiz 636a4f58a9 Describe how to portable extend a file. From joerg. Bump date. 2008-03-16 11:33:40 +00:00
bjs 22c6c5ebca s/prototyoe/prototype/ 2008-03-15 20:18:20 +00:00
rearnsha 00f0061ae9 ARM/Thumb interworking support 2008-03-15 10:46:24 +00:00
christos 749de7f2a4 Since _file is a short, check that the fd fits in it, otherwise bail with
EMFILE. We treat _file as an unsigned short to double our range, with a
special case for -1 (closed). Make a note of what we should do about stdio
if we ever bump libc. We could change _file in the future compatibly to an
int by putting it in the extension space but for now we don't bother.
2008-03-13 15:40:00 +00:00
mrg 3db9261484 don't need <sys/tty.h> here. 2008-03-12 05:57:28 +00:00
joerg d134e844b3 libform and libmenu need libcurses. 2008-03-12 00:21:29 +00:00
joerg cb41266e10 Depends on libcurses. 2008-03-11 23:06:04 +00:00
rmind 38b8e432cc Add "This API is expected to be compatible with the APIs found in Solaris and
HP-UX operating systems" into the STANDARDS section, as discussed with <wiz>.
2008-03-11 18:09:40 +00:00
rmind 1c7eae5598 Use size_t to avoid overflow when sorting large arrays. While here, ANSIfy.
Obtained from FreeBSD (das@).
2008-03-11 18:04:59 +00:00
rmind f67f2ea584 Add pset(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
2008-03-10 19:00:21 +00:00
he 71ca0c37fa As mrg@ informs me, delay slots are indented 1 and not 2 spaces. 2008-03-10 18:31:08 +00:00
he bbed82985f Fix the problem that CURBRK can't be referenced directly via R_SPARC_GOT13
here anymore (apparently libc grew too big).  Use sethi and %hi/%lo instead.
2008-03-10 18:28:43 +00:00
rmind 2ac12931eb Add sched(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
2008-03-10 14:47:06 +00:00
wiz 388f16d85b Move previously added sentence to STANDARDS section, as suggested by yamt. 2008-03-10 12:25:55 +00:00
wiz 4111fbb94d Mention that extending files with truncate is a POSIX extension.
Requested by joerg.

Bump date.
2008-03-10 11:47:28 +00:00
lukem da757a063f Style tweaks:
* test defined(HAVE_foo) not just HAVE_foo
* replace u_foo with unsigned foo
* the whitespace change whose name we dare not mention
2008-03-10 01:18:44 +00:00
drochner 33e5dbb818 fix so that it doesn't interact strangely with ARCH_SRCS definitions
in the base Makefile, makes the lib built correctly again for eg amd64
(seen by wiz)
2008-03-08 14:21:41 +00:00
ad 61f666ba09 _pthread_rwlock_held_np: if write locked, only return true if held by
the current thread.
2008-03-08 13:46:59 +00:00
yamt b82fd04ee9 sysconf: cache the result of _SC_PAGESIZE. 2008-03-08 13:34:40 +00:00
ad eceac52f08 Complain if _lwp_ctl() fails. 2008-03-08 13:23:13 +00:00
ad 8b2c109b14 Add a cast to make lint happy. 2008-03-08 13:22:22 +00:00
ad 91224074af Redo the CPU-based arena selection slightly differently. With the latest
libpthread and kernel, this mysteriously works without a problem.
2008-03-08 13:17:13 +00:00
ad 55faac1242 pthread_key_create: instead of using a simple 1/0 value to record a key
as allocated, use an array of pointers and save __builtin_return_address(0)
so keys can be identified when doing post-mortem debugging.
2008-03-07 22:27:07 +00:00
ad 8548e33886 pthread__mutex_lock_slow:
- don't stop spinning if there are already waiters on the mutex, there is
  no point.
- cosmetic change.
2008-03-07 22:23:57 +00:00
joerg c3302ae742 Regen to get HAVE_FSTAT. 2008-03-07 20:10:55 +00:00
ad 1046045268 Keep one builtin slot so that pthread initialization doesn't need to use
malloc().
2008-03-07 17:56:39 +00:00
cube c6726d686a Bump libprop's minor after addition of prop_dictionary_make_immutable. 2008-03-05 07:55:36 +00:00
tnozaki 47d7f820fd bin/38047 fix bad prototype for function mbrlen
reported by cheusov AT tut DOT by, thanks!
2008-02-28 19:36:51 +00:00
christos 908cf676a4 mention RANDOM_MAX 2008-02-28 16:16:35 +00:00
ad 0565241b89 +#define _KERNEL
+#include <sys/types.h>
+#undef _KERNEL
2008-02-27 15:46:23 +00:00
joerg d59870515d Build with WARNS=4. 2008-02-26 15:42:29 +00:00
joerg 76f009d25d Update build infrastructure for libarchive-2.4.13. 2008-02-26 14:54:18 +00:00
xtraeme c3e906d7a0 There's no need to do the mutex_trylock dance anymore in __cxa_finalize(),
just using mutex_lock() is enough.
2008-02-25 14:35:54 +00:00
xtraeme 1b5143aa5d Add a comment for __libc_atexit_init() missed in previous that was
available in the original patch.
2008-02-25 14:15:10 +00:00
xtraeme 95157b046e Make the atexit mutex recursive and initialize it in __libc_init()
as suggested by ad@, based on the patch provided by Sverre Froyen
in lib/37654.

Reviewed by ad@ and jmcneill@.
2008-02-25 14:06:13 +00:00
christos 972b0b15b4 doecument that we now can return eagain. 2008-02-24 21:55:45 +00:00
oster 8b2eb1e024 Add the missing 'n' to 'correspoding'. 2008-02-23 18:35:04 +00:00
sborrill b701bbf89d Fix tiny typo 2008-02-23 17:53:23 +00:00
christos 6711b9aec7 use the proper variable. 2008-02-23 15:53:22 +00:00