Commit Graph

8677 Commits

Author SHA1 Message Date
jdc d4f82864b6 Add redrawwin() and wredrawln().
Fixes PR lib/20038.
2003-10-05 10:13:02 +00:00
scw b469b163b9 libc bits for siginfo on sh5. 2003-10-05 10:01:49 +00:00
jdc 7c12a98041 Fix __CTRACE arguments. 2003-10-05 08:26:02 +00:00
junyoung e3ac3a4d0c Style fixes to reduce diff size against the FreeBSD version, notably:
- Use NULL where appropriate.
 - No need to pull in stdint.h.
 - Get rid of "register" keywords in the hope that the compiler will
   do a better job for us. :-)
 - Every message ends with a period.
 - MMAP() macro is supposed to return MAP_FAILED rather than -1 if it
   fails.
 - De-__P.
2003-10-05 04:49:46 +00:00
kleink 09c5c31fc8 Convert to use register prefixes. 2003-10-03 22:37:35 +00:00
itojun f462c5301e paren around macro arg 2003-10-03 22:04:44 +00:00
itojun d26799ebc9 off-by-one. from millert@openbsd 2003-10-03 22:04:03 +00:00
itojun ffe9fe35e1 realloc error check failure; Greg Troxel, sync w/ kame 2003-10-03 21:53:08 +00:00
christos 44eab0895d PR/20768: Martin Blapp: Remove special handling for non-blocking connections
that breaks amd clients.
2003-10-03 21:29:16 +00:00
wiz 51dc91caa9 Add zlib(3) provided by jmc@openbsd -- thank you! 2003-10-03 18:46:22 +00:00
itojun 27ed6671c7 correct unsafe use of realloc(). 2003-10-02 19:38:59 +00:00
christos 3e10887300 Pass -D_LIBC 2003-09-30 22:30:16 +00:00
matt c1704e15b4 Enable the SIGINFO trampoline. 2003-09-30 19:05:41 +00:00
blymn 6adf4a4e77 new_item fixes:
* return NULL to indicate an error if a NULL name is passed
	* fix a crash if description is NULL
Thanks to Julian Coleman for finding and fixing these.
2003-09-29 12:32:24 +00:00
wiz 37ac1db454 available, not avaliable. From miod@openbsd. 2003-09-29 09:50:21 +00:00
provos cda395fc27 deal correctly with POLLNHUP 2003-09-28 20:02:44 +00:00
matt 4abc70c356 Deal with changed filename. 2003-09-28 16:30:18 +00:00
dsl 2f28cd113e Simon has persuaded me to remove the 'sizeof (struct kinfo_drivers)' field. 2003-09-28 13:18:41 +00:00
matt 117653c214 Since this a signal trampoline #2, make that's in the file name. 2003-09-27 21:43:29 +00:00
dsl fde7103b90 Add KERN_ROOT_PARTITION and KERN_DRIVERS 2003-09-27 19:09:10 +00:00
matt 4ba9658201 Remove __LIBC12_SOURCE 2003-09-27 03:33:00 +00:00
matt 7fff5acf50 Constify the _-sigaction_sigtramp tramp argument. 2003-09-27 03:14:59 +00:00
matt 20745b5469 Invoke the proper signal trampoline depending on SA_SIGINFO. 2003-09-27 01:03:40 +00:00
nathanw 9839173881 Don't include <machine/lock.h> anymore; instead, we now get
__cpu_simple_lock_t and __SIMPLELOCK_{UN,}LOCKED from <sys/types.h>.
Should prevent the massive namespace pollution by way of dragging in
many MD headers that has been observed to break stuff.
2003-09-26 22:48:23 +00:00
wiz cff5e477ad Process has only one c. From miod@openbsd. 2003-09-26 22:23:58 +00:00
wiz 6a6ecd3246 New sentence, new line; bump date for previous. 2003-09-26 21:09:13 +00:00
christos 552716dcff Implement enough of readline's 4.0 async mode to make gdb happy. This is
not complete yet, but it seems to work...
This required to introduce an unbuffered mode to el_gets(), but that was
a minor change.
2003-09-26 17:44:51 +00:00
matt 4e7e0da41e Add siginfo signal trampoline. 2003-09-25 22:46:22 +00:00
wiz a66ae71844 Slight syncing with OpenBSD version. 2003-09-23 10:26:54 +00:00
itojun 1db8823e19 out-of-bounds access. from openbsd 2003-09-23 03:19:28 +00:00
cl bfa716044e SA_SIGINFO support for m68k (libpthread) 2003-09-22 14:45:48 +00:00
cl ae9566397a SA_SIGINFO support for m68k (libc) 2003-09-22 14:42:02 +00:00
uwe 616df9fb1f Do not profile. Indent delay slots. 2003-09-22 02:42:02 +00:00
uwe 237ead7bc8 Indent delay slot. 2003-09-22 02:38:13 +00:00
uwe 849c5af36b Do not profile. Indent delay slot. 2003-09-22 02:35:46 +00:00
uwe 89a06df4c7 Indent delay slots. Add a comment that the magic number 8 is SIGFPE. 2003-09-22 02:27:59 +00:00
uwe e023f7cb8d Do not profile. Indent delay slot. 2003-09-22 02:18:40 +00:00
uwe 391ab004a4 Do not profile. Indent delay slot. 2003-09-22 02:08:07 +00:00
uwe f722916cc6 Indent delay slots. Whitespace change only, same object code produced. 2003-09-22 01:57:16 +00:00
martin 4df9d6555a Bring back previous sparc64 hack, but only #ifdef old gcc.
This is used when building libnbcompat for host tools - why it is included
when building on NetBSD is beyound me.
2003-09-21 17:15:36 +00:00
yamt d7adaffe99 use {u_,}int32_t instead of {u,}int32(={u_,}long) 2003-09-21 15:35:46 +00:00
martin 55acdca8c5 No more sparc64 compiler workarounds 2003-09-19 16:30:31 +00:00
itojun 57e4de6099 add warning on realloc() size de-synchronization. from openbsd 2003-09-19 05:36:59 +00:00
jdolecek bb21f0beb4 remove pw_dup() 2003-09-18 09:24:35 +00:00
jdolecek 430f0af1db remove pw_dup(3), for now at least
follows discussion on mailing lists, discussed in private e-mail with Itojun
2003-09-18 09:13:14 +00:00
cl c6de69ee49 fix pt_trapuc handling errors:
- movl to address register doesn't set flags (add explicit test)
- clr only clears a word (use clrl)
2003-09-17 20:08:07 +00:00
wennmach be03f9bd59 Avoid the PIC dance. 2003-09-16 18:17:11 +00:00
cl 465ed898bd bump minor for sa_unblockyield syscall 2003-09-16 13:55:41 +00:00
cl 5c40d56471 fix SA/pthread pagefault failure:
- prevent BLOCKED upcalls on double page faults and during upcalls
- make libpthread handle blocked threads which hold locks
- prevent UNBLOCKED upcalls from overtaking their BLOCKED upcall
this adds a new syscall sa_unblockyield
see also http://mail-index.netbsd.org/tech-kern/2003/09/15/0020.html
2003-09-16 13:51:31 +00:00
simonb 49b0281b33 Shut lint up. 2003-09-16 07:56:51 +00:00