diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-04-03 07:50:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-04-03 07:50:20 +0000 |
commit | 08c9a553c723f301d044062e72871c8d9e6fa510 (patch) | |
tree | 5fca758b8e7e4444e2a572f9e8446b48193e5f00 /nis/nss_nis/nis-ethers.c | |
parent | 4eb6619c70e5db05babfa14abcf389236b73e0df (diff) | |
download | glibc-08c9a553c723f301d044062e72871c8d9e6fa510.tar glibc-08c9a553c723f301d044062e72871c8d9e6fa510.tar.gz glibc-08c9a553c723f301d044062e72871c8d9e6fa510.tar.bz2 glibc-08c9a553c723f301d044062e72871c8d9e6fa510.zip |
Update.
2004-04-02 Ulrich Drepper <drepper@redhat.com>
* 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 <kukuk@firun.suse.de>
* 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.
Diffstat (limited to 'nis/nss_nis/nis-ethers.c')
-rw-r--r-- | nis/nss_nis/nis-ethers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nis/nss_nis/nis-ethers.c b/nis/nss_nis/nis-ethers.c index 328d61f6c5..def4c22510 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; |