module v2.2BETA
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: George C. <gc...@db...> - 1996-12-16 23:20:00
|
Hi, have anybody there tried v2.2BETA? I just downloaded it and installed it on my machine > uname -a SunOS pandora 5.5 Generic sun4m sparc SUNW,SPARCstation-10 and I got a core dump when I was doing module rm gnu after I did module load gnu. I am using ksh and my gnu module file is as follows #%Module1.0 ## ## GNU Software ## proc ModulesHelp { } { puts stderr "Documentation available in the online man pages." puts stderr "Books on several of the Gnu tools are available from local bookstores." } proc ModulesDisplay { } { global ModulesCurrentModulefile if { [file exists $ModulesCurrentModulefile.info] } { puts stderr [ exec cat $ModulesCurrentModulefile.info ] } } prepend-path PATH /usr/local/gnu/bin prepend-path MANPATH /usr/local/gnu/man prepend-path LD_LIBRARY_PATH /usr/local/gnu/lib After I debugged it via gdb, I found the core dump happend at the place /* We must be in SW_STATE3 or not in SW_STATE at all. Removing the marker should be just like removing any other path. */ strcpy(oldpath + ((regexpPtr->startp[0] + start_offset) - oldpath), oldpath + ((regexpPtr->endp[0]) - oldpath)); in cmdPath.c (where endp[0] = '\0'). can any expert over there figure out how to fix it? Or maybe I was missing something? thanks, /George |