OSDN Git Service

define pw_gecos to pw_passwd for LP32 systems
authorMike Frysinger <vapier@google.com>
Wed, 3 Feb 2016 19:40:37 +0000 (14:40 -0500)
committerMike Frysinger <vapier@google.com>
Sat, 6 Feb 2016 14:28:44 +0000 (09:28 -0500)
commitca6af7f4a81c4f8d1acf1ecbdcdae8c44bb0a092
tree03b85951dc0893c5ebdf5a37afa34fa2666cefa1
parentd2be3802582e69bfaf1a8ab02849bc44c4fa2ce6
define pw_gecos to pw_passwd for LP32 systems

Since we set both fields to NULL all the time, we can alias the two
fields together on LP32 to provide build-time compatibility.

BUG=24918750
TEST=python now builds for Brillo boards

Change-Id: I3394aea80c9a5288669389f71d0e4132f2157e3c
libc/bionic/stubs.cpp
libc/include/pwd.h