Red Hat Bugzilla – Bug 106303
reiserfs-utils bad source code
Last modified: 2007-04-18 12:58:09 EDT
Description of problem:
I just tried to compile package reiserfs-utils-3.6.4-5,
from Redhat 9.0, with compiler flag -Wall.
The compiler said
mkreiserfs.c:522: warning: operation on `program_name' may be undefined
tune.c:217: warning: operation on `program_name' may be undefined
These two look like two really basic programming errors to me.
Well worth fixing from
program_name = program_name ? ++ program_name : argv[ 0 ];
program_name = program_name ? (program_name + 1) : argv[ 0 ];
Version-Release number of selected component (if applicable):
Steps to Reproduce: