Commit Graph

9540 Commits

Author SHA1 Message Date
rearnsha
cd8021f51e Use RET macro for returning. 2004-08-21 11:31:44 +00:00
rearnsha
ed6e0e9e42 Use RET and RETc for returning. 2004-08-21 11:30:17 +00:00
rearnsha
145b31af81 Use RETc for returning. When v4T or later use BX for calling the target. 2004-08-21 11:29:51 +00:00
rearnsha
017d1fb251 Use RET and RETc for returning. 2004-08-21 11:25:17 +00:00
rearnsha
84104f4511 Use RET to return.
If ARMv5 or later then use CLZ rather than long-winded tale-lookup.
2004-08-21 11:24:28 +00:00
rearnsha
d4072e3a7c Always use bx for returning (this code is always ARMv5TE. 2004-08-21 11:22:33 +00:00
rearnsha
d6621260dc Use RET and RETc macros for returning. 2004-08-21 11:20:10 +00:00
rearnsha
85647ccc31 Use RET macro for returning from PSEUDO & PSEUDO_NOERROR 2004-08-21 11:18:40 +00:00
christos
848a98512e PR/26725: Sergey S. Kostyliov: Typo in libedit, possible buffer overflow in src/lib/libedit/history.c:history_save() 2004-08-20 12:54:05 +00:00
dogcow
96178d4078 insert a missing quotation mark. 2004-08-20 04:44:11 +00:00
christos
ea369b9669 Deal with RESCUEDIR 2004-08-19 22:25:49 +00:00
chs
c6736a59b3 redo the fix for PR 26392 differently: instead of changing the stack bounds
for the initial stack, just change the initial thread's pt_uc to point to
the opposite end of the stack (away from the argv, environment, etc).
2004-08-17 14:16:00 +00:00
ginsbach
f56858739a namespace protection for gethostent() 2004-08-17 14:10:06 +00:00
wiz
11a3ae1c04 Add commas in enumerations; drop trailing whitespace; bump date for previous. 2004-08-17 13:45:14 +00:00
ginsbach
ab52fcd2c6 endhostent() and sethostent() should actaully do something now that
gethostent() has been restored to libc.  Reviewed by <christos>.
2004-08-17 02:40:05 +00:00
ginsbach
30ef75e3f4 Restore gethostent() as a supported interface. Yes, it maybe obsolete
but it is specified by IEEE Std 1003.1, 2004 Edition (POSIX) and
the X/Open standards (Issue 6 and XNS 5.2).

* revert change removing gethostent() from gethostbyname(3) man page
* delete kruft from gethnamaddr.c leaving only gethostent() as a
  wrapper around _gethtent().
* revert recent changes to <netdb.h>
  + restore gethostent() prototype
  + restore freehostent() prototype; handle similar to non-shipped
    getipnodby*() prototypes
  + use correct XOPEN_SOURCE version (520 not 500) for freeaddrinfo()
    prototype; interface specified by XNS5.2 not XNS5

Reviewd by <christos> and <drochner>.
2004-08-17 02:29:56 +00:00
wiz
8a066267fb Bump date for const change. 2004-08-16 10:18:27 +00:00
ginsbach
ebcc92c100 * add const qualifier making getrpcbyname() and getrpcbyname_r()
prototypes match those used in latest Sun RPC code (TI-RPC 2.3)
* modify function getrpcbyname() definition as appropriate
2004-08-16 02:47:54 +00:00
wiz
5bf3687024 Add an article. 2004-08-14 11:04:29 +00:00
jdolecek
64fbdbbf78 document timeradd() and timersub() too, as e.g. select(2) points
to getitimer(2) for timersub() description

use .Fn rather than .Fa for the macro names

bump date
2004-08-14 10:03:30 +00:00
mycroft
6360c4b0f8 Delete-previous-char and delete-next-char without an argument are not supposed
to modify the yank buffer in Emacs.  Make it so.
2004-08-13 12:10:38 +00:00
yamt
6b2b9c625f - fix pthread_detach with an already exit'ed thread.
namely, put the thread to deadqueue rather than just leaking it.
- fix a race between pthread_detach/join and pthread_exit,
  which also causes dead thread leaks.
2004-08-12 10:54:13 +00:00
wiz
55fbd8d415 Remove some unnecessary double quotes, and fix some macro usage. 2004-08-08 14:48:47 +00:00
chs
ddc1ca7bcb map the data segment with PROT_EXEC since the PLT lives there. 2004-08-07 21:33:04 +00:00
provos
e128f30ca9 support for bufferevents; fix signal race; faster timeout insertion;
update man page and regression tests - this is a sync to libevent 0.9
2004-08-07 21:09:47 +00:00
ginsbach
ca4f974ad7 Use ANSI function decls. 2004-08-05 03:06:37 +00:00
lukem
0632d7cdd0 Need to prefix relative directories with `${.CURDIR}/' so that
objdir builds in the src tree (i.e, without MAKEOBJDIR{,PREFIX}) work.
Fixes problem noted by Hisashi T Fujinaka.
2004-08-05 01:24:02 +00:00
yamt
91ee88d04d actually add _Exit. 2004-08-05 00:17:02 +00:00
wiz
245c7e5202 New sentence, new line. 2004-08-04 15:07:37 +00:00
lukem
cd54219242 Convert from the src/lib -specific DEPLIBS to using LIBDPLIBS from <bsd.lib.mk> 2004-08-04 08:04:25 +00:00
thorpej
7c161da819 - Rename pw_copy() to pw_copyx(), make it return a success/failure code,
and add "errbuf" and "errbufsz" parameters so that errors can be handled
  gracefully, rather than simply exiting the process.
- Add a pw_copy() wrapper around pw_copyx() to preserve old behavior for
  apps that use it.
- Bump shlib version to 7.4.
2004-08-03 23:29:04 +00:00
yamt
129567b88f pthread_rwlock_timedrdlock/pthread_rwlock_timedwrlock:
fix lock/unlock inversions in ERRORCHECK.
2004-08-03 11:50:45 +00:00
yamt
5fc4e57d71 pthread_rwlock_timedwrlock: return ETIMEDOUT appropriately. 2004-08-03 11:40:24 +00:00
mycroft
42a0ee466b Modify prototype for pci_findvendor() and add pci_findproduct(). 2004-08-03 03:32:43 +00:00
ginsbach
9af61ddeaf Fix getrpcbyname() alias lookups. Closes PR lib/23294; reviewed by <christos>. 2004-08-02 18:59:09 +00:00
dsl
75c6c76be7 Fix (I hope) the bounding checks against the source window. 2004-08-02 18:47:52 +00:00
tshiozak
f7d656a488 revert the last all changes related to iconv(3). 2004-08-02 13:38:21 +00:00
yamt
dc8be105a2 follow the recent iconv(3) prototype change. 2004-08-02 03:15:33 +00:00
thorpej
a2bbd45143 Prevent a deadlock that could occur if we try to update the configuration
data structures during a recursive call to nsdispatch() by keeping a record
of which threads are inside nsdispatch() at any given time.
2004-08-02 00:19:34 +00:00
dsl
9214d0d9c1 overwrite() wasn't copying enough lines or columns.
copywin() couldn't seem to decide whether it should work in window or
screen coordinates - and managed to do neither.
Change copywin() to use window relative coords (as ncurses and solaris do),
and change overwrite() and overlay() to use the modified interface.
It is now possible to use overwrite() to save part of curscr while a
temporary window is drawn.
Fixes PR/26506
2004-08-01 21:48:24 +00:00
wiz
50779db1e3 Bump date for previous. 2004-08-01 19:24:47 +00:00
tshiozak
2edebf3ee0 sync with the current iconv() prototype. 2004-08-01 17:07:15 +00:00
tshiozak
ab8d4be7c6 make sure that the iconv(3) follows the POSIX specification;
change the 2nd argument from "const char ** restrict" to "char ** restrict".
2004-08-01 16:40:58 +00:00
lukem
934fa4ac14 support MAKEVERBOSE in tags: 2004-07-31 14:13:05 +00:00
lukem
124613b27e Implement DEPLIBS (in Makefile.inc for now), which adds all the listed
libraries to LDADD & DPADD for the current library, using -L OBJDIR-of-DEPLIB
so that the current library can link with the DEPLIB library built but
not installed.

Set DEPLIBS appropriately, rather than explictly adding LDADD/DPADD
for various libraries.

Reorder library build order so that libraries that depend upon any
other library are built at the end.


Whilst this change could be done in a more generic manner (and I
intend to work on that), it does remove the need to implement
top-level build targets such as "do-lib-des" (etc).
2004-07-30 07:02:53 +00:00
lukem
e1d3cfe331 LDADD libcrypto libasn1 libcom_err libroken 2004-07-30 06:13:00 +00:00
lukem
ebad1d2bfc LDADD libcurses 2004-07-30 04:44:54 +00:00
lukem
005a51cac0 LDADD libcrypto 2004-07-30 04:22:33 +00:00
nathanw
8bf7374bcf In cond_wait() and cond_timedwait(), do the ERRORCHECK testing of the
waiters list in all cases, not just on cancellation; there are other
sources of spurious wakeups, such as single-stepping in the debugger.

regress/lib/libpthread/conddestroy1 now passes.
2004-07-27 21:44:48 +00:00
wiz
e9abe80526 Use \*[Lt]\*[Gt] or Aq instead of <>; sort SEE ALSO. 2004-07-27 14:35:56 +00:00