Classes and scripts patches

Alexandre Oliva oliva at dcc.unicamp.br
Wed Jul 29 12:17:40 PDT 1998


PARMELAN Edouard <parmee at postecss.ncrfran.france.ncr.com> writes:

> * protect arguments for shell scripts,
>   essentially, $@ is change to "$@".

In fact, I've posted a patch that fixes this problem a few weeks ago,
but it seems to have been ignored :-(

In particular, the patch I posted uses the syntax ${1+"$@"} instead of
just "$@", because some (broken) shells will expand "$@" to an empty
argument if $# is zero.

-- 
Alexandre Oliva
mailto:oliva at dcc.unicamp.br mailto:aoliva at acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



More information about the kaffe mailing list