diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2002-08-27 21:10:30 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2002-08-27 21:10:30 +0000 |
| commit | 9634760d5eae4e8618e4b9ed9752d7305b3695a9 (patch) | |
| tree | fc717bec9a623d6e80f2c4544cec14b8b8eb07da /Src/Modules/zprof.c | |
| parent | 17577: pass classpath as an option to _java_class (diff) | |
| download | zsh-9634760d5eae4e8618e4b9ed9752d7305b3695a9.tar zsh-9634760d5eae4e8618e4b9ed9752d7305b3695a9.tar.gz zsh-9634760d5eae4e8618e4b9ed9752d7305b3695a9.tar.bz2 zsh-9634760d5eae4e8618e4b9ed9752d7305b3695a9.tar.lz zsh-9634760d5eae4e8618e4b9ed9752d7305b3695a9.tar.xz zsh-9634760d5eae4e8618e4b9ed9752d7305b3695a9.tar.zst zsh-9634760d5eae4e8618e4b9ed9752d7305b3695a9.zip | |
17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
Diffstat (limited to 'Src/Modules/zprof.c')
| -rw-r--r-- | Src/Modules/zprof.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Modules/zprof.c b/Src/Modules/zprof.c index 9c7acb334..3121efacf 100644 --- a/Src/Modules/zprof.c +++ b/Src/Modules/zprof.c @@ -136,9 +136,9 @@ cmpparcs(Parc *a, Parc *b) } static int -bin_zprof(char *nam, char **args, char *ops, int func) +bin_zprof(char *nam, char **args, Options ops, int func) { - if (ops['c']) { + if (OPT_ISSET(ops,'c')) { freepfuncs(calls); calls = NULL; ncalls = 0; |
