diff options
| author | bwarsaw | 1998-06-05 14:50:10 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-06-05 14:50:10 +0000 |
| commit | a273e34eba1ecfb7ee4803ce56988d109816eb33 (patch) | |
| tree | 6662e0524bded718bb56295a798ff5cbdecdf8ee | |
| parent | 87c9cf752f5d5f62c6329483cc15dea6160fbadb (diff) | |
| download | mailman-a273e34eba1ecfb7ee4803ce56988d109816eb33.tar.gz mailman-a273e34eba1ecfb7ee4803ce56988d109816eb33.tar.zst mailman-a273e34eba1ecfb7ee4803ce56988d109816eb33.zip | |
Fixed a bug in getting gid when numeric group id is given with long
option.
Added check for existance of strerror.
| -rw-r--r-- | configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 7a504d778..659663378 100644 --- a/configure.in +++ b/configure.in @@ -15,7 +15,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl Process this file with autoconf to produce a configure script. -AC_REVISION($Revision: 707 $) +AC_REVISION($Revision: 711 $) AC_PREREQ(2.0) AC_INIT(src/alias-wrapper.c) @@ -122,7 +122,7 @@ gid = '' for group in string.split("$2"): try: try: - gid = grp.getgrgid(int(group)) + gid = grp.getgrgid(int(group))[2] break except ValueError: gid = grp.getgrnam(group)[2] @@ -290,6 +290,7 @@ AC_MSG_RESULT($URL) rm -f conftest.out conftest.py # Checks for libraries. +AC_CHECK_FUNCS(strerror) # Checks for header files. AC_HEADER_STDC |
