From 08c9a553c723f301d044062e72871c8d9e6fa510 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 3 Apr 2004 07:50:20 +0000 Subject: Update. 2004-04-02 Ulrich Drepper * sysdeps/unix/sysv/linux/internal_statvfs64.c: New file. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add internal_statvfs64. * sysdeps/unix/sysv/linux/internal_statvfs.c: Allow to be used to compile 64bit version. * sysdeps/unix/sysv/linux/statvfs64.c: Use __fstatfs64 and skip compatibility code if __ASSUME_STATFS64 is defined. * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. * sysdeps/unix/sysv/linux/statfs64.c: Don't add __no_statfs64 if __ASSUME_STATFS64 != 0. 2004-04-02 Thorsten Kukuk * nis/nss_nis/nis-ethers.c (saveit): Fix return codes in error case. * nis/nss_nis/nis-initgroups.c (saveit): Likewise. * nis/nss_nis/nis-proto.c (saveit): Likewise. * nis/nss_nis/nis-rpc.c (saveit): Likewise. * nis/nss_nis/nis-service.c (saveit): Likewise. --- nis/nss_nis/nis-ethers.c | 4 ++-- nis/nss_nis/nis-initgroups.c | 4 ++-- nis/nss_nis/nis-proto.c | 4 ++-- nis/nss_nis/nis-rpc.c | 4 ++-- nis/nss_nis/nis-service.c | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'nis') diff --git a/nis/nss_nis/nis-ethers.c b/nis/nss_nis/nis-ethers.c index 328d61f..def4c22 100644 --- a/nis/nss_nis/nis-ethers.c +++ b/nis/nss_nis/nis-ethers.c @@ -52,13 +52,13 @@ saveit (int instatus, char *inkey, int inkeylen, char *inval, int invallen, char *indata) { if (instatus != YP_TRUE) - return instatus; + return 1; if (inkey && inkeylen > 0 && inval && invallen > 0) { struct response *newp = malloc (sizeof (struct response) + invallen + 1); if (newp == NULL) - return YP_FALSE; /* We have no error code for out of memory */ + return 1; /* We have no error code for out of memory */ if (start == NULL) start = newp; diff --git a/nis/nss_nis/nis-initgroups.c b/nis/nss_nis/nis-initgroups.c index c1efe9d..33a9662 100644 --- a/nis/nss_nis/nis-initgroups.c +++ b/nis/nss_nis/nis-initgroups.c @@ -57,14 +57,14 @@ saveit (int instatus, char *inkey, int inkeylen, char *inval, intern_t *intern = (intern_t *) indata; if (instatus != YP_TRUE) - return instatus; + return 1; if (inkey && inkeylen > 0 && inval && invallen > 0) { struct response_t *newp = malloc (sizeof (struct response_t) + invallen + 1); if (newp == NULL) - return YP_FALSE; /* We have no error code for out of memory */ + return 1; /* We have no error code for out of memory */ if (intern->start == NULL) intern->start = newp; diff --git a/nis/nss_nis/nis-proto.c b/nis/nss_nis/nis-proto.c index 7c1ce32..f106928 100644 --- a/nis/nss_nis/nis-proto.c +++ b/nis/nss_nis/nis-proto.c @@ -49,13 +49,13 @@ saveit (int instatus, char *inkey, int inkeylen, char *inval, int invallen, char *indata) { if (instatus != YP_TRUE) - return instatus; + return 1; if (inkey && inkeylen > 0 && inval && invallen > 0) { struct response *newp = malloc (sizeof (struct response) + invallen + 1); if (newp == NULL) - return YP_FALSE; /* We have no error code for out of memory */ + return 1; /* We have no error code for out of memory */ if (start == NULL) start = newp; diff --git a/nis/nss_nis/nis-rpc.c b/nis/nss_nis/nis-rpc.c index e4a3954..d1ab943 100644 --- a/nis/nss_nis/nis-rpc.c +++ b/nis/nss_nis/nis-rpc.c @@ -57,14 +57,14 @@ saveit (int instatus, char *inkey, int inkeylen, char *inval, intern_t *intern = (intern_t *)indata; if (instatus != YP_TRUE) - return instatus; + return 1; if (inkey && inkeylen > 0 && inval && invallen > 0) { struct response_t *newp = malloc (sizeof (struct response_t) + invallen + 1); if (newp == NULL) - return YP_FALSE; /* We have no error code for out of memory */ + return 1; /* We have no error code for out of memory */ if (intern->start == NULL) intern->start = newp; diff --git a/nis/nss_nis/nis-service.c b/nis/nss_nis/nis-service.c index 32ac619..1e879d0 100644 --- a/nis/nss_nis/nis-service.c +++ b/nis/nss_nis/nis-service.c @@ -70,14 +70,14 @@ saveit (int instatus, char *inkey, int inkeylen, char *inval, intern_t *intern = (intern_t *) indata; if (instatus != YP_TRUE) - return instatus; + return 1; if (inkey && inkeylen > 0 && inval && invallen > 0) { struct response_t *newp = malloc (sizeof (struct response_t) + invallen + 1); if (newp == NULL) - return YP_FALSE; /* We have no error code for out of memory */ + return 1; /* We have no error code for out of memory */ if (intern->start == NULL) intern->start = newp; -- cgit v1.1