sync with freebsd.
sync with freebsd.
sync with freebsd.
update
fix some issues
fix item
update list
fix typo
modernize
modernize
reformat
modernize
reformat
reformat
reformat
reformat
reformat
reformat
add tests
add tests
fix some forture typos.
delete politcal stuff
sync with freebsd 9 stable
use stdbool
free buf when no longer used
cleanup
more python 3 hacks
add more quotes
fix fortune
remove cvs2svn prop
reset props for svn keywords
cleanup
assume fast path as we don't have sgtty
get larn to compile with new term interface
Port usercount code over to utmpx
Bring in netbsd current version from today.
sgtty -> termios
ansify
ansi
shut gcc up
helps if you don't forget the subdirectory
make sure directory is present during release
create games directory during make release target
distribution++
use indent to make this slightly less awful.
use static
use static
make functions and vars static. Use modern ansi style definitions
make functions and var static
Sync with other bsds
Sync with DragonFly, FreeBSD, NetBSD and OpenBSD.
Move some of the offensive fortunes out of the regular fortunes file and into o.real
fix some bugs found by NetBSD and FreeBSD projects. Remove 4 clause ucb
don't need mytinfo.. unbreak world
add robots and rogue from dragonfly
add rain from dragonfly
add piano from dragonfly
add larn datfiles
add larn
add dungeon master
add bs from dragonfly
*** empty log message ***
add hangman from dragonfly
Go fish!
add snake from dragonfly
add snake from Dragonfly
add pig game from Dragonfly
who doesn't love wargames
add worm, worms, wump from DragonFly
add trek from Dragonfly :)
$MidnightBSD$ At some point we should revisit this and move over to the newer tty handling code so COMPAT_43 isn't needed.
$MidnightBSD$
$MidnightBSD$ Switch to NO_MAN
add backgammon game from DragonFly
Add battlestar game from DragonFly
add arithmetic game from DragonFly.
remove freebsd-tips. The idea is sound, but we should really make our own down the road
Forced commit to add: The changes in the randomize_fd.c are pretty simple: Basically in the older algorithm you had to walk thru the whole list element-by-element in order to reach an specific line and print it. This process is rather slow in big lists (big files :)), since it had to go all the way from the head of the list until it reached the element it randomly selected. The new algorithm only changes the way we access the elements, basically after the whole file is loaded up into the linked-list, we create an array of pointers to rand_node pointers, basically we walk over the whole list once (after the whole file is loaded into the list) and map each address into an array position (in the same order they were inserted on the list), after that whenever a random number is selected, we dont need to walk the whole list until we reach it, we simply rand_node_table[selected] it and get it in one move. If the unique option is used, after a rand_node_table[selected] gets visited we set it to NULL and if we reach that same slot afterwards, we simply go back and randomly select another number. Pretty simple. victor loureiro lima
Add submitted patch that has been sitting in my inbox for over six months.
Fix a tagging goof
Undo some of the damage from our "helpful" script
Correct bug in script adding $MidnightBSD$
$MidnightBSD$
$MidnightBSD$
$MidnightBSD$
$MidnightBSD$
$MidnightBSD$
This commit was generated by cvs2svn to compensate for changes in r5, which included commits to RCS files with non-trunk default branches.
This commit was generated by cvs2svn to compensate for changes in r2, which included commits to RCS files with non-trunk default branches.