[Bug 2086] New: passwd struct does not have pw_gecos member on Android

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 5 05:49:28 EST 2013


https://bugzilla.mindrot.org/show_bug.cgi?id=2086

            Bug ID: 2086
           Summary: passwd struct does not have pw_gecos member on Android
    Classification: Unclassified
           Product: Portable OpenSSH
           Version: 6.2p1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: nathan.osman at gmail.com

Created attachment 2232
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2232&action=edit
adds definition for HAVE_PW_GECOS_IN_PASSWD where appropriate

The passwd struct in Android does not have a pw_gecos member, causing
the following error message when cross-compiling:

  auth.c:724:30: error: 'struct passwd' has no member named 'pw_gecos'

The attached patch adds a check for this member in the configure.ac
file and wraps all assignments to this member with #ifdef / #endif.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list