Modules 3.0BETA1 fix
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
|
From: Carsten H. <he...@na...> - 1998-03-13 10:37:58
|
Hi Folks,
since Modules seems to be live again and
I stumbled across the following bug when updating
our linux Modules from (2.2B, a.out, built on linux 1.1.5x) to
(3.0B1, elf) and did not find it in the distrib dir:
If printing to more than one column the terse listing is wrong and
prints duplicate entries and misses others.
*** ModuleCmd_Avail.c 1998/03/13 07:38:43 1.1
--- ModuleCmd_Avail.c 1998/03/13 08:29:24
***************
*** 1707,1713 ****
for( row_ndx = 0; row_ndx <= rows; row_ndx++) {
for( col_ndx = 0; col_ndx < columns; col_ndx++) {
! if( module = _pick_file_list( row_ndx + col_ndx * columns))
print_spaced_file( module, len, 1, numbered);
}
fprintf( stderr, "\n");
--- 1707,1713 ----
for( row_ndx = 0; row_ndx <= rows; row_ndx++) {
for( col_ndx = 0; col_ndx < columns; col_ndx++) {
! if( module = _pick_file_list( row_ndx + col_ndx * rows))
print_spaced_file( module, len, 1, numbered);
}
fprintf( stderr, "\n");
Ciao,
Carsten Heyl
------------------------------------------------------------------
Carsten Heyl He...@NA...
NADS GmbH NADS - Advertising on Nets
Otto-Hahn-Str. 18 http://www.nads.de/
D-44227 Dortmund Tel.: +49 231 975 123-0
|