code duplication: parsing arguments vs. environment variables
Bug #1327279 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb |
In Progress
|
Medium
|
Unassigned | ||
Mandriva |
In Progress
|
Medium
|
Bug Description
Right now, lsbcc parses several options twice: once when specified via
environment variable, and then again when specified via the command line. This
results in behavior where some options act differently when passed one way or
the other.
For example:
$ LSB_MODULES=
$ ./lsbcc --lsb-modules=
unknown module: Toolkit_Qt3
Usage ./lsbcc:
[...]
The bugfix (for bug 2004, as far as I can tell) got applied in one place, but
not the other.
I propose that the command-line options should modify the environment, and then
the environment should be parsed exactly once.
Changed in mandriva: | |
importance: | Unknown → Medium |
status: | Unknown → In Progress |
tags: | added: lsbcc zpunt |
To post a comment you must log in.