Commit Graph

48206 Commits

Author SHA1 Message Date
hubertf 752e969da2 Add __attribute__() to a variable. From PR 6557, after discussion with
Joseph S. Myers <jsm28@cam.ac.uk>
1999-02-10 12:38:54 +00:00
bouyer 6dd47fe65f Abort transfer if b_blkno is negative. Closes PR kern/5553 by Johan Danielsson. 1999-02-10 12:29:50 +00:00
hubertf 92932dfcc8 The patch below makes the game backgammon(6) use `const' where
appropriate.  It also removes some obsolete, unused code to check the
number of users on the system (obsoleted by dm); removes a prototype
for an unused function that was removed earlier; and removes a control
character from one message that was I think intended to clear the
screen on some particular terminal (though I can't find the comment to
that effect in any of the BSD source trees I have handy) but no longer
serves any useful purpose.

From PR 6580 by Joseph Myers <jsm28@cam.ac.uk>.

Also contains two more patches, one in teachgammon/tutor.h (by Joseph)
and one in common_source/fancy.c (by me).
1999-02-10 12:29:47 +00:00
itohy da0a919754 Regen. 1999-02-10 10:38:15 +00:00
itohy 5af2655c9d const mania 1999-02-10 10:36:26 +00:00
christos fe9e04762b PR/6962: Paul Shupak: FreeBSD ELF emulation bits. 1999-02-10 07:10:59 +00:00
ross e33841fd79 Actually, the PS initializer defines some font aliases itself, so copy
them over here.
1999-02-10 06:06:53 +00:00
ross 27a2a00924 Changes to unknown fonts are ignored, causing subsequent font pops to DTWT.
For example, try `man 8 tcpdump' and look for `arp reply csam'.
Fixed:
Define nroff font aliases for the occasionally referenced C and CW.  These
used to work but were lost in the 1996 upgrade to 1.10.  While we are here,
alias all the grops(1) PS fonts too.
1999-02-10 06:00:16 +00:00
thorpej bf316e0bb0 Make sure SIGTERM is blocked in the SIGHUP handler and vice versa. 1999-02-10 03:00:06 +00:00
hubertf ce3b092b6d Only invoke pager given in $PAGER if output goes to a tty, feed pager
via stdin, per PR 6699 by Joseph Myers <jsm28@cam.ac.uk>
1999-02-10 01:44:34 +00:00
hubertf bd8be7848a Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk> 1999-02-10 01:36:50 +00:00
hubertf 24f809b060 The game sail(6) has a function Write() which is used both with
integer arguments and with string arguments (cast to long, and in one
place to int).  The patch here cleans this up, making it into two
separate functions; this allows for the game to be made const-correct
in future and improves portability.

The patch also contains two other fragments: a change to use the
symbolic constant SEEK_END with fseek(), and a change to use snprintf
in one place to avoid a buffer overrun.

Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
1999-02-10 00:45:45 +00:00
hubertf c7bcded63e The patch below does some minor cleanup of adventure(6): an additional
use of const I missed in bin/6041; avoiding a signed/unsigned warning;
marking an unused parameter as such; revoking setgid privileges
(including the saved gid) rather than setuid ones; includes and
function prototypes in setup.c; the string passed to err() should not
end with a `.'.  Together with the patch sent concerning adventure's
EOF handling, this synchronises adventure(6) in NetBSD with the Linux
port of the NetBSD games.

Via PR 6557 by Joseph Myers <jsm28@cam.ac.uk>
1999-02-10 00:29:21 +00:00
hubertf 08ab0f321a The game adventure(6) handles EOF on standard input rather
ungracefully.  The patch, derived from OpenBSD, improves this
handling.

Sent in in PR 6556 by Joseph Myers <jsm28@cam.ac.uk>.
1999-02-10 00:11:28 +00:00
lukem efa00c6291 nsdispatch isn't currently thread safe; highlight this as a bug 1999-02-09 23:38:25 +00:00
is b0f697496e Provide a minimal instruction/data cache synchronization C binding.
(The function has always been in the kernels as special trap #12).
In response to PR 4951 by Hauke Fath.
1999-02-09 22:32:33 +00:00
christos 03ff6653d6 Regen 1999-02-09 20:48:20 +00:00
christos 8087b4fda3 const poisoning and CHECK_ALT_CREAT fixes. 1999-02-09 20:46:41 +00:00
christos ec4586b831 Regen 1999-02-09 20:46:40 +00:00
christos dcee031682 const poisoning and CHECK_ALT_CREAT fixes. 1999-02-09 20:46:40 +00:00
christos c3ae7cb2a9 Regen 1999-02-09 20:38:38 +00:00
christos c8216580df const poisoning. 1999-02-09 20:37:19 +00:00
christos 8024779058 const poisoning 1999-02-09 20:37:00 +00:00
christos bcca34b4fa Regen. 1999-02-09 20:36:17 +00:00
christos fe1f028894 PR/6962: Paul Shupak: FreeBSD elf support. 1999-02-09 20:35:04 +00:00
christos 090a9bebbc const poisoning. 1999-02-09 20:34:16 +00:00
christos 908adf3eef Regen 1999-02-09 20:31:43 +00:00
christos a30a9f3d94 const poisoning and CHECK_ALT_CREAT fixes. 1999-02-09 20:30:38 +00:00
christos 49692434d8 Const poisoning and CHECK_ALT_CREAT fixes 1999-02-09 20:29:24 +00:00
christos e8ae49d4af Build depending on OBJECT_FMT not a list of MACHINE_ARCH's 1999-02-09 20:27:04 +00:00
christos f3be801e5c Regen 1999-02-09 20:26:55 +00:00
christos 415ae8f732 const poisoning 1999-02-09 20:21:18 +00:00
christos 743761347e PR/6962: Paul Shupak: FreeBSD-3.0 additions
- const poisoning
1999-02-09 20:19:13 +00:00
christos 90fd1df29a PR/6962: Paul Shupak: ELF Freebsd support 1999-02-09 20:17:50 +00:00
christos fd74051670 char * and char ** -> const char * and const char ** 1999-02-09 20:16:08 +00:00
cjs c95ddabf17 Change a BUILD to an UPDATE that I missed in the last commit. 1999-02-09 19:55:58 +00:00
christos b82b273dec Build the domestic libraries first, before building programs. Unfortunately
some programs like /usr/libexec/ftpd, need the kerberos etc libraries.
XXX: In reality programs like these should be moved to the domestic tree!
I would have assumed that if I make install in the exportable tree, I will
not install any domestic binaries!!!
1999-02-09 19:52:50 +00:00
kml 745b14cf4a Correct mistaken #ifndef to #ifdef... 1999-02-09 19:50:28 +00:00
tv 9965c5dfdc ld.so is only for 1.3 binary compatibility, and will become part of the
soon to be created compat13 pkg.
1999-02-09 19:44:41 +00:00
tv 5163316f8d Remap mipse[bl] to mips for set lists. 1999-02-09 19:34:18 +00:00
tv 5592ec7573 Remap mipse[bl] to mips when finding arch directory. 1999-02-09 19:30:03 +00:00
tv b81603da91 Clean up and use stuff from src/gnu/lib/libbfd. 1999-02-09 19:21:53 +00:00
perry 9a8b75daeb add BeOS entry, from URA Hiroshi, PR 6974 1999-02-09 19:11:46 +00:00
tv 8176f7ce13 Build gprof everywhere. 1999-02-09 18:41:13 +00:00
tv 46261f591a Clean up and use directory name "libbfd". 1999-02-09 18:35:39 +00:00
tv 3ceb06ee85 Always define BSD44_FORMAT. 1999-02-09 18:32:05 +00:00
tv 79ef60507e Goodbye, Berkeley gprof; we shall miss you!
(PSD doc remains here, as it has not lost relevance.)
1999-02-09 18:28:10 +00:00
tv 4221dd40d6 Committed wrong version (findcall and addarc were not yet renamed). 1999-02-09 18:19:32 +00:00
tv 7296135ae8 Add mips support to bfd-based gprof. 1999-02-09 18:16:33 +00:00
ross 87e810db61 Fix the bug that was inserting blank lines between `pages' in tty
mdoc(7) man(1) output. (There aren't supposed to be any `pages'.)
1999-02-09 18:11:36 +00:00