Commit Graph

12671 Commits

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