[Bug 2087] New: endgrent() is not available on Android

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 5 06:03:47 EST 2013


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

            Bug ID: 2087
           Summary: endgrent() is not available 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 2233
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2233&action=edit
wraps call to endgrent with HAVE_ENDGRENT and checks for function in
configure.ac

Android does not provide the endgrent() function, leading to the
following compilation error:

  session.c:1502:20: warning: implicit declaration of function
'endgrent'

The attached patch adds endgrent to the list of functions that
configure.ac checks for and wraps the call to endgrent() in session.c
with a #ifdef / #endif.

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


More information about the openssh-bugs mailing list