Hello folks!
Well, I don't know how many of you are in the same boat as I am, but I
decided that since no response was forthcoming from the maintainers,
I'd release a patch to Modules 3.0 Beta1. This is *purely* a bugfix
release--no features were added. (Though some features which *didn't*
*work* now do. Here is the list of changes:
* Makefile.in: added config.cache, config.h, and config.log to
list of files removed by `make distclean'. (Probably appeared due
to newer version of autoconf.)
* modulefile.4.in: Fixed a formatting bug that caused some info to
get lost when the document was rendered.
* probetcl: Completely re-wrote probetcl to be a bit more robust.
* main.c (main): Fixed options string passed to `getopt_long'.
(Added a `+' on the front to surpress the GNU behavior which broke
any module command options.) Fixed a bug in options processing
that *never* would have had any effect. But it bugged me, so I
fixed it.
* cmdXResource.c: Added `#ifdef's around the prototype for
`storeResProp' so it compiles when --without-x is set.
* cmdModule.c (cmdModule): Fixed bug that caused all `module
init*' commands to fail do to initPtr getting clobbered. I used
goto's to do it, which is gross, but prettier.
* ModuleCmd_Load.c (ModuleCmd_Load), cmdSetenv.c (cmdSetenv): got
plain environment variable aliases working. Now $HOME is the same
as $env(HOME), at least most of the time. When `setenv' is used,
both get updated. Note that setting $HOME doesn't change
$env(HOME) or cause the environment to get updated.
* ModuleCmd_Avail.c (ModuleCmd_Avail, print_terse_files): added
braces to disambiguate an else clause. Also fixed colum bug.
Both fixes courtesy of Eric Berggren.
* Makefile.in, doc/Makefile.in, init/Makefile.in, configure.in:
Added support for the --program-transform name option to
configure. Unfortunately, it only gets used on the actual
*program*, not the init files.
The patch is rather large, so I've put it in two places:
http://www.cs.wustl.edu/~flan/patch1-flan
and
ftp://wuarchive.wustl.edu/pub/UNIX_UPLOADS/Modules3.0Beta1.patch1-flan
ftp://wuarchive.wustl.edu/pub/UNIX_UPLOADS/Modules3.0Beta1.patch1-flan.txt
Let me know if you have any problems with installing the patch or
compiling once the patch is installed.
I intend to distribute patches for any other bugs that I find as well.
I am also going to be releasing some enhancements before too long. If
you have a suggestion or something, please let me know.
I hope this helps.
Ian Flanigan
fl...@cs...
|