Bug 106303 - reiserfs-utils bad source code
Summary: reiserfs-utils bad source code
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: reiserfs-utils
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: wdovlrrw
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-10-05 09:10 UTC by d.binderman
Modified: 2007-04-18 16:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-06-09 17:16:49 UTC
Embargoed:


Attachments (Terms of Use)

Description d.binderman 2003-10-05 09:10:46 UTC
Description of problem:

Hello there,

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 ];

to

    program_name = program_name ? (program_name + 1) : argv[ 0 ];



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
    
Actual results:


Expected results:


Additional info:


Note You need to log in before you can comment on or make changes to this bug.