[1481] in Source-Commits
athena/bin/olc/clients/oreplay oreplay.c
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Apr 30 13:57:01 1997
From: Greg Hudson <ghudson@MIT.EDU>
To: source-commits@MIT.EDU
Date: Wed, 30 Apr 1997 13:56:55 EDT
Update of /afs/dev.mit.edu/source/repository/athena/bin/olc/clients/oreplay
In directory the-light-fantastic:/afs/dev.mit.edu/user/ghudson/progress/olc/clients/oreplay
Modified Files:
oreplay.c
Log Message:
From bert:
Replaced <strings.h> with <string.h>
Changes to support config files (to make olc*, olt* and owl* one
binary):
* Downcased the default instance name, so it could be used as
a configuration file name.
* Added code to support "incarnating" a particular client from
a configuration file, found in path given by OLXX_PATH or
cmd line. [currently using "olc" (or "olta" or "owl")
config files.]
* Added new command line option ("-C") to deal with specifying
the search path for the config files.
Decreased ugliness:
* Added comments to clarify meanings of command-line options.
* Documented all existing options in the usage message.
* Changed a hardcoded "SLOC" to the appropriate symbol from
olc/olc.h
Added a flag ("-p") to make oreplay think it's oshow (analogous to
"-l" for olist).
Added code to fall back and use a default if Hesiod is down.
Moved assignments out of "if" statement tests.