Bug 235642 - useradd compile warning
useradd compile warning
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: shadow-utils (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Vrabec
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-08 19:55 EDT by Wolfgang Denk
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-10 06:26:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Wolfgang Denk 2007-04-08 19:55:50 EDT
Description of problem:

compiler warning when building useradd tool.

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

shadow-utils-4.0.18.1-12.fc7.src.rpm

How reproducible:


Steps to Reproduce:
1. Build shadow-utils
2. Read compiler warnings
3.
  
Actual results:

warnings generated.

Expected results:

no warnings.

Additional info:

Patch "shadow-4.0.16-lOption.patch" includes this hunk:

        --- shadow-4.0.17/src/useradd.c.lOption 2006-11-02 18:23:50.000000000 +0100
        +++ shadow-4.0.17/src/useradd.c 2006-11-02 18:26:46.000000000 +0100
        @@ -124,6 +124,7 @@
             Gflg = 0,                  /* secondary group set for new account */
             kflg = 0,                  /* specify a directory to fill new user
directory */
             mflg = 0,                  /* create user's home directory if it
doesn't exist */
        +    lflg = 0;                  /* do not add user to lastlog database
file */
             Mflg = 0,                   /* do NOT create user's home directory
no matter what */
             nflg = 0,                   /* do NOT create a group having the
same name as the user */
             oflg = 0,                  /* permit non-unique user ID to be
specified with -u */

  The semicolon after the 'lflg' entry is wrong; it must be  replaced
  by comma, like in all the other lines.
Comment 1 Peter Vrabec 2007-04-10 06:26:40 EDT
fixed.

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