Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 1997 23:13:01 -0800 (PST)
From:      Masafumi NAKANE <max>
To:        CVS-committers, cvs-all, cvs-games
Subject:   cvs commit:  src/games/backgammon/backgammon main.c src/games/backgammon/teachgammon teach.c src/games/backgammon/common_source back.h init.c subs.c
Message-ID:  <199701300713.XAA25130@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
max         97/01/29 23:13:00

  Modified:    games/backgammon/backgammon  main.c
               games/backgammon/common_source  back.h init.c subs.c
               games/backgammon/teachgammon  teach.c
  Log:
  Better handling of command-line argument:
    1. Pass argc and argv to getarg and process them with getopt().
    2. Instead of using an array to save arg characters, use array of
      pointers and call backgammon/teachgammon with execv, instead of execl.
  
  This should fix problems with calling teachgammon.
  2.2 candidate.
  
  Revision  Changes    Path
  1.2       +9 -8      src/games/backgammon/backgammon/main.c
  1.2       +2 -2      src/games/backgammon/common_source/back.h
  1.2       +1 -1      src/games/backgammon/common_source/init.c
  1.4       +26 -27    src/games/backgammon/common_source/subs.c
  1.3       +10 -7     src/games/backgammon/teachgammon/teach.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701300713.XAA25130>