cvs commit: hugs98/src server.c

ross 2003/08/12 12:46:44 PDT Modified files: src server.c Log: Re-instate re-parsing of server option arguments. This is required for runhugs scripts of the form #! /usr/bin/runhugs -98 -h20000 POSIX says the script supplies only one argument "-98 -h20000", so we need to break it up into its constituent options. Unfortunately this will also be done for runhugs run any other way, and for ffihugs, but it's difficult to separate the cases. Revision Changes Path 1.39 +10 -3 hugs98/src/server.c

ross@glass.cse.ogi.edu wrote:
[...] POSIX says the script supplies only one argument "-98 -h20000", so we need to break it up into its constituent options. Unfortunately this will also be done for runhugs run any other way, and for ffihugs, but it's difficult to separate the cases.
A simple "solution" for this would be a new option for use in scripts: #! /usr/bin/runhugs -split-me-please -98 -h20000 vs. runhugs -98 -h20000 Not nice and 100% fool-proof, but probably better than ignoring the problem... Cheers, S.
participants (2)
-
ross@glass.cse.ogi.edu
-
Sven Panne