CVS: cvs.openbsd.org: src

2016-02-26 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/02/26 14:27:07 Modified files: games/hangman : main.c Log message: - Remove -h and -? from getopt(3), they weren't documented on manpage anyway - Replace hardcoded string "hangman" by getprogname(3) O

CVS: cvs.openbsd.org: src

2016-02-26 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/02/26 05:10:49 Modified files: games/caesar : caesar.c Log message: - Convert atoi(3) to strtonum(3) - Remove lint-style comment - Remove usage() since errors are now more informative (the usage is st

CVS: cvs.openbsd.org: src

2016-02-09 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/02/09 06:41:59 Modified files: games/snake: snake.c Log message: - Remove parameter fd from snscore() since it's never used - And while here, fwrite(3) returns size_t whereas nscores is an int, so c

CVS: cvs.openbsd.org: src

2016-02-05 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/02/05 03:18:01 Modified files: usr.bin/talk : talk.c Log message: pledge(2) for talk(1): At the beginning the largest pledge is the following: rpath: read ~/.terminfo (the reason was changed pointed

CVS: cvs.openbsd.org: src

2016-02-05 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/02/05 03:13:51 Modified files: libexec/talkd : talkd.c Log message: pledge(2) for talkd(8): rpath: fopen(3) _PATH_UTMP in read mode wpath/cpath: fopen(3) full_tty in write mode (w), which implies O_CR

CVS: cvs.openbsd.org: src

2016-02-02 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/02/02 12:18:57 Modified files: games/snake: snake.c Log message: - Swap atoi(3) for strtonum(3) - Swap fputs(3) for fprintf(3) - Use getprogname(3) instead of hardcoded string OK and help from tb@

CVS: cvs.openbsd.org: src

2016-01-31 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/02/01 00:29:25 Modified files: usr.bin/talk : ctl.c ctl_transact.c display.c get_addrs.c get_names.c init_disp.c invite.c io.c look_up.c msgs.c talk.c

CVS: cvs.openbsd.org: src

2016-01-31 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/02/01 00:25:51 Modified files: libexec/talkd : announce.c print.c process.c table.c talkd.c Log message: Remove unused headers and sort the remaining OK tb@

CVS: cvs.openbsd.org: src

2016-01-25 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/25 14:17:45 Modified files: games/arithmetic: arithmetic.c Log message: Remove unused header

CVS: cvs.openbsd.org: src

2016-01-10 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/10 08:12:20 Modified files: games/hack : hack.c Log message: #ifdef QUEST then a few functions won't work, because of that include if we are on a QUEST OK tb@

CVS: cvs.openbsd.org: src

2016-01-10 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/10 07:10:39 Modified files: games/boggle/boggle: help.c mach.c games/bs : bs.c games/hunt/hunt: hunt.c Log message: Remove needless casts to (char *) NULL. Some were kept, nam

CVS: cvs.openbsd.org: src

2016-01-10 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/10 06:35:10 Modified files: games/arithmetic: arithmetic.c games/boggle/boggle: mach.c timer.c games/canfield/canfield: canfield.c games/cribbage : instr.c io.c game

CVS: cvs.openbsd.org: src

2016-01-10 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/10 06:18:07 Modified files: games/boggle/boggle: bog.c help.c mach.c timer.c word.c Log message: Remove unnecessary headers OK tb@

CVS: cvs.openbsd.org: src

2016-01-09 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/09 14:54:11 Modified files: games/hack : hack.apply.c hack.eat.c hack.end.c hack.engrave.c hack.invent.c hack.ioctl.c hack.main.c hack.o_init.c h

CVS: cvs.openbsd.org: src

2016-01-09 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/09 12:27:56 Modified files: games/atc : grammar.y Log message: ANSIfy grammar.y on atc(6), all other files already are OK tb@

CVS: cvs.openbsd.org: src

2016-01-09 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/09 11:33:15 Modified files: games/hack : alloc.c def.flag.h def.gold.h def.monst.h def.objects.h def.trap.h hack.Decl.c hack.apply.c hack.bones.c

CVS: cvs.openbsd.org: src

2016-01-08 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/08 14:38:33 Modified files: games/gomoku : bdinit.c bdisp.c main.c makemove.c pickmove.c stoc.c Log message: ANSIfy gomoku(6) and change a char* to u_char* OK tb@

CVS: cvs.openbsd.org: src

2016-01-08 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/08 13:26:33 Modified files: games/sail : assorted.c dr_1.c dr_2.c dr_3.c dr_4.c dr_5.c dr_main.c game.c lo_main.c main.c misc.c parties.c pl_1.c

CVS: cvs.openbsd.org: src

2016-01-08 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/08 13:23:54 Modified files: games/canfield/canfield: canfield.c games/canfield/cfscores: cfscores.c Log message: Headers clean up

CVS: cvs.openbsd.org: src

2016-01-08 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/08 13:19:06 Modified files: games/bs : bs.c Log message: Remove unnecessary headers an sort

CVS: cvs.openbsd.org: src

2016-01-08 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/08 13:15:15 Modified files: games/bcd : bcd.c Log message: Straightforward headers cleanup

CVS: cvs.openbsd.org: src

2016-01-08 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/08 11:20:33 Modified files: games/monop: cards.c execute.c getinp.c houses.c initdeck.c jail.c misc.c monop.c morg.c print.c prop.c rent.c roll.c

CVS: cvs.openbsd.org: src

2016-01-08 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/08 11:19:47 Modified files: games/monop: cards.c deck.h execute.c getinp.c houses.c initdeck.c jail.c misc.c monop.c monop.def monop.ext monop.h

CVS: cvs.openbsd.org: src

2016-01-08 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/08 11:09:59 Modified files: games/mille: comp.c end.c init.c mille.c misc.c move.c print.c roll.c save.c types.c varpush.c Log message: ANSIfy mille(6) OK tb@

CVS: cvs.openbsd.org: src

2016-01-08 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/08 11:05:58 Modified files: games/mille: comp.c end.c extern.c init.c mille.c mille.h misc.c move.c print.c roll.c save.c types.c varpush.c Log

CVS: cvs.openbsd.org: src

2016-01-07 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/07 14:37:53 Modified files: games/hunt/hunt: connect.c display.c hunt.c list.c otto.c playit.c games/hunt/huntd: answer.c conf.c draw.c driver.c execute.c

CVS: cvs.openbsd.org: src

2016-01-07 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/07 14:29:31 Modified files: games/hunt/hunt: connect.c display.c hunt.c list.c otto.c playit.c games/hunt/huntd: answer.c conf.c draw.c driver.c execute.c

CVS: cvs.openbsd.org: src

2016-01-07 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/07 07:37:51 Modified files: games/trek : abandon.c attack.c autover.c capture.c check_out.c checkcond.c compkl.c computer.c damage.c damaged.c dc

CVS: cvs.openbsd.org: src

2016-01-07 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/07 07:30:32 Modified files: games/trek : abandon.c attack.c autover.c capture.c check_out.c compkl.c computer.c damage.c dcrept.c destruct.c dock

CVS: cvs.openbsd.org: src

2016-01-06 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/06 07:32:15 Removed files: games/phantasia: include.h Log message: Forgot to remove this file on my previous commit

CVS: cvs.openbsd.org: src

2016-01-06 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/06 07:28:09 Modified files: games/phantasia: fight.c gamesupport.c include.h interplayer.c io.c main.c misc.c phantglobs.c phantglobs.h phantstruct.h

CVS: cvs.openbsd.org: src

2016-01-04 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/04 10:33:24 Modified files: games/gomoku : bdinit.c bdisp.c gomoku.h pickmove.c stoc.c games/grdc : grdc.c games/hangman : endgame.c getguess.c games/morse: morse.

CVS: cvs.openbsd.org: src

2016-01-04 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/04 04:58:36 Modified files: games/factor : factor.c games/fish : fish.c games/fortune/fortune: fortune.c games/fortune/strfile: strfile.c games/fortune/unstr:

CVS: cvs.openbsd.org: src

2016-01-04 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/04 02:15:24 Modified files: libexec/spamd-setup: spamd-setup.c Log message: pledge(2) spamd-setup(8) It needs these annotations, to at least run the operations next to them: stdio: malloc(3) rpath:

CVS: cvs.openbsd.org: src

2016-01-03 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2016/01/03 07:38:17 Modified files: games/adventure: init.c wizard.c games/arithmetic: arithmetic.c games/atc : extern.c games/backgammon/backgammon: main.c games/boggl

CVS: cvs.openbsd.org: src

2015-12-31 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/31 11:10:20 Modified files: games/cribbage : cards.c crib.c cribbage.h deck.h extern.c instr.c io.c score.c support.c Log message: Include only needed header files per each

CVS: cvs.openbsd.org: src

2015-12-31 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/31 10:51:19 Modified files: games/battlestar: battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c cypher.c extern.h fly.c getcom.c init.c

CVS: cvs.openbsd.org: src

2015-12-31 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/31 09:54:42 Removed files: games/atc : include.h Log message: Remove unused file Alerted by tb@

CVS: cvs.openbsd.org: src

2015-12-31 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/31 09:50:29 Modified files: games/atc : extern.c extern.h grammar.y graphics.c include.h input.c list.c log.c main.c struct.h update.c Log mes

CVS: cvs.openbsd.org: src

2015-12-31 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/31 09:44:22 Modified files: games/sail : dr_1.c dr_2.c dr_3.c dr_main.c driver.h extern.h lo_main.c misc.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_

CVS: cvs.openbsd.org: src

2015-12-31 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/31 08:20:36 Modified files: games/hangman : endgame.c extern.c getguess.c getword.c hangman.h ksyms.c main.c playgame.c prdata.c prman.c prword.c se

CVS: cvs.openbsd.org: src

2015-12-30 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/30 12:02:12 Modified files: usr.bin/fstat : fstat.c Log message: Declare usage() as __dead, and while here align a few variables to the rest of the list and also ANSI one function. No functional cha

CVS: cvs.openbsd.org: src

2015-12-30 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/30 05:27:18 Modified files: usr.sbin/tokenadm: tokenadm.c Log message: pledge(2) tokenadm(8): it needs "rpath wpath cpath fattr flock" for operations on the DB files and before that it also needs "ge

CVS: cvs.openbsd.org: src

2015-12-26 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/26 06:48:38 Modified files: bin/csh: alloc.c csh.c csh.h dir.c dol.c error.c exec.c exp.c extern.h file.c func.c glob.c hist.c lex.c misc.c p

CVS: cvs.openbsd.org: src

2015-12-25 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/25 17:26:40 Modified files: games/adventure: extern.h games/atc : extern.h games/backgammon/common_source: back.h games/battlestar: extern.h games/bs : bs

CVS: cvs.openbsd.org: src

2015-12-25 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/25 13:59:09 Modified files: games/arithmetic: arithmetic.c games/boggle/boggle: extern.h games/factor : factor.c games/fish : fish.c games/fortune/fortune: for

CVS: cvs.openbsd.org: src

2015-12-24 Thread Ricardo Mestre
CVSROOT:/cvs Module name:src Changes by: mes...@cvs.openbsd.org 2015/12/24 20:20:57 Modified files: games/bs : bs.c Log message: Apply some more KNF to the declaration of functions, but keep style to the rest of code for now. OK tb@

<    1   2   3