Commit Graph

28325 Commits

Author SHA1 Message Date
lukem
c3d0010341 remove use of register. 1997-05-21 02:20:15 +00:00
lukem
9f26a55f84 * free up returned data if yp_master() or yp_match() failed
* simplify two case 'switch'es into 'if' statements
1997-05-21 02:19:06 +00:00
lukem
43b1f9b62a * free up data after a failed yp_match()
* simplify a two case switch into an if statement...
* remove use of register
1997-05-21 02:09:51 +00:00
lukem
8041f4f4ab fix potential memory leaks: before calling yp_next(), reset key to NULL. if
an error occurred, and key != NULL, free(key).
1997-05-21 01:51:39 +00:00
lukem
220410601a yp_match() should return errors of the form YPERR_xxx not RPC_xxx.
return YPERR_RESRC instead of RPC_SYSTEMERROR
1997-05-21 01:48:46 +00:00
jeremy
f65ba6ca92 Added leds.4. 1997-05-21 01:42:33 +00:00
jeremy
41b84f150c Man page for der Mouse and Gordon Ross's /dev/leds diagnostic LED interface. 1997-05-21 01:40:03 +00:00
mycroft
c19bda7d4c Check the .PHONY attribute... 1997-05-20 22:53:30 +00:00
lukem
1e601ecc2b * fix [lib/3580], by ensuring that the outdata arg to the yp_xxx()
calls is initialised to the null pointer so that the error condition
  doesn't fail by trying to free() memory that wasn't malloc()ed
* cleanup a bit; remove use of register, KNFify
1997-05-20 15:59:59 +00:00
lukem
27d1a6365b * ensure that "outdata" values to various yp_xxx() functions are set
to the null pointer before invocation, so that the test in the
  error case of "if (outdata != NULL) free(outdata)" won't potentially
  try and free memory that wasn't malloc()ed.
* factor some duplicated code out of both parts of an "if {} else {}"
  construct.
* remove use of `register' & KNFify.
1997-05-20 15:46:03 +00:00
lukem
301e6e6c32 Some cleanups for [lib/3655]
* Ensure that all 'char **outXXX' pointers aren't the null pointer before use.
* Set *outXXX=NULL before checking any other arguments.
* Document that *outXXX will always be NULL or a malloc(3)ed string
  unless outXXX was NULL (in which case YPERR_BADARGS will be returned
  and the caller shouldn't attempt to free(*outXXX) if *outXXX != NULL;

These changes should prevent most occurances of coredumps when a bad
argument was given to a yp client function and the caller attempts to
free an outvalue that isn't the null pointer. To be really safe, the
caller probably should set the *outvalue=NULL anyway (ref: PR [lib/3580])
1997-05-20 15:25:38 +00:00
gwr
6065389b17 Sync with src/lib/libz 1997-05-20 14:41:54 +00:00
kleink
91830a9500 When a background process attempts to TIOCDRAIN (a.k.a. tcdrain()), send
its process group a SIGTTOU signal.
1997-05-20 13:11:33 +00:00
augustss
1fd29f4172 Make the audio default parameters into a globally accessible constant. 1997-05-20 12:51:43 +00:00
jonathan
b088f1b7fd Change default le entry from "le*" to "le0" so GENERIC kernels
configure the pmin/pmax (2100/3100) baseboard ethernet as le0, not le1.
1997-05-20 08:36:42 +00:00
jeremy
0304ff6aed Implement code to dynamically size the number of page tables based on available
RAM at boot.

Also did some cleanup of unused functions, updated several comments, and
removed unecessary 'XXX's.
1997-05-20 06:01:19 +00:00
mikel
7c77aacfb1 separate option argument from description; from Enami Tsugutomo in PR 3637.
also RCSid police.
1997-05-20 04:53:12 +00:00
mikel
d066405291 fix typo, from Enami Tsugutomo in PR bin/3636 1997-05-20 04:42:56 +00:00
scottr
a777c246ad Adjust for previous m68k/pcb.h change 1997-05-20 03:25:07 +00:00
jtc
5f28317441 Use xorl/movb instead of movzbl when loading registers before computing
the return value.
1997-05-19 23:55:00 +00:00
jonathan
1175a38b7f Use cpu_splXXX() functions to enforce the required ordering of spl()s. 1997-05-19 23:34:40 +00:00
jtc
69f811b13c copyright assigned to TNF 1997-05-19 23:26:32 +00:00
jonathan
ba2aa6f75a Add cpu_spl[012345]() definitions to locore. These clear the given
interrupt-enable bit in the status register, and all lower bits.

Can be used for spl{bio,net,tty,clock,statclock} on machines where
devices are wried to mips hard-interrupt levels in ascending bit order
so as to match the BSD spl.9 ordering.
1997-05-19 23:25:09 +00:00
phil
ae7e730366 Force the link. 1997-05-19 23:24:21 +00:00
augustss
0db08d11e6 Redo the SB mixer code. The driver can now distinguish between the
four different mixer options: none, CT1335, CT1345, and CT1745.
It should now be possible to access most of the SB16 functionality.
1997-05-19 23:14:29 +00:00
augustss
604e6c4091 Add missing initialization. 1997-05-19 23:05:14 +00:00
jtc
9784de474e copyright assigned to TNF 1997-05-19 22:11:12 +00:00
pk
0dae2eb53d Avoid negative values for b_dirtyend' and b_validend'. 1997-05-19 22:08:56 +00:00
veego
f1b84d21b8 Make the install rule nicer. 1997-05-19 21:49:20 +00:00
is
c53cd4cf48 Add forgotten CLEANFILES. Pointed out by Bernd Ernesti. 1997-05-19 21:34:58 +00:00
is
3247d49e14 Installboot is know in /usr/mdec. 1997-05-19 21:26:23 +00:00
jonathan
0a995f71a2 Fix typo. 1997-05-19 21:24:10 +00:00
is
84c038a464 Installboot is now in /usr/mdec, and its manpage in /usr/share/man/cat8/amiga. 1997-05-19 21:23:52 +00:00
is
3274c536b3 Yet another try to sanitize the bootblock build. Each major target has now
its own subdirectory.
Smaller changes involved:
- installboot installs to /usr/mdec
- installboot.8 installs to /usr/share/man/cat8/amiga/
1997-05-19 21:18:58 +00:00
leo
c05eddf7f5 Fix the 'shifting screens' bug on the Falcon. This solution is not perfect
since it gives a bit of flicker while switching frame buffers. From
Thomas Gerner.
1997-05-19 21:07:05 +00:00
pk
ae61406a77 Replace bus_tmp() by mapdev() equivalent. 1997-05-19 19:59:36 +00:00
pk
f88bf0a6e9 Replace bus_tmp() with mapdev() equivalent. 1997-05-19 19:56:26 +00:00
scottr
d93126b350 Use common m68k/pcb.h; noted by Erik Bertelsen <erik@sockdev.uni-c.dk>,
closes PR 3650.
1997-05-19 17:36:45 +00:00
augustss
677762bbed Fix bugs when recording source is a set. 1997-05-19 17:32:07 +00:00
augustss
0decef1b80 Fix recording source selection bug. 1997-05-19 17:29:12 +00:00
scottr
a0d035c410 Fix some printf format inconsistencies; from SUNAGAWA Keiki
<kei_sun@ba2.so-net.or.jp>, fixes PR 3619.
1997-05-19 17:23:09 +00:00
augustss
3f516911f6 Fix some buglets and clean up a little. 1997-05-19 16:32:54 +00:00
pk
cceeb9e424 More error checking. 1997-05-19 16:28:03 +00:00
pk
7a45e8a551 Fill in b_dirtyoff/b_dirtyend and b_validoff/b_validend appropriately
in each auxiliary buffer; the strategy routines (esp. NFS's) like that.
1997-05-19 14:41:54 +00:00
pk
153ccc307b Use PHOLD() and PRELE(), rather than manipulating p_holdcnt directly. 1997-05-19 10:43:28 +00:00
veego
a078a4be55 Fix lossage from the latest vm_pmap changes. 1997-05-19 10:14:47 +00:00
kleink
85793595bf Fix lossage revealed by the recent `lseek() vs. negative offsets' changes;
from John F. Woods <jfw@jfwhome.funhouse.com> in PR/3634.
1997-05-19 10:01:52 +00:00
mrg
ac74fdbb9c KNF. 1997-05-19 04:01:16 +00:00
mycroft
79bc5bb41f Use inet_aton(3) rather than inet_addr(3). 1997-05-19 03:44:43 +00:00
kleink
3edccf530b * Remove incorrect comment: as per POSIX.1, calling abort() _does_ flush
and close open streams.
* Document that calling abort() removes temporary files.
Fixes PR/2967 from Peter Seebach <seebs@taniemarie.solon.com>.
1997-05-19 02:22:42 +00:00