Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/compat/ibcs2 Approved by thorpej:



details:   https://anonhg.NetBSD.org/src/rev/ced0e86f0e9d
branches:  netbsd-1-5
changeset: 489385:ced0e86f0e9d
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Sep 05 01:08:26 2000 +0000

description:
Approved by thorpej:
> Fix directory reading.

diffstat:

 sys/compat/ibcs2/ibcs2_misc.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 5e14109b3436 -r ced0e86f0e9d sys/compat/ibcs2/ibcs2_misc.c
--- a/sys/compat/ibcs2/ibcs2_misc.c     Tue Sep 05 01:00:54 2000 +0000
+++ b/sys/compat/ibcs2/ibcs2_misc.c     Tue Sep 05 01:08:26 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ibcs2_misc.c,v 1.47.4.1 2000/08/30 03:59:19 sommerfeld Exp $   */
+/*     $NetBSD: ibcs2_misc.c,v 1.47.4.2 2000/09/05 01:08:26 matt Exp $ */
 
 /*
  * Copyright (c) 1994, 1995, 1998 Scott Bartram
@@ -496,9 +496,10 @@
                ibcs2_ino_t ino;
                char name[14];
        } idb;
+       int buflen, error, eofflag;
+       size_t size;
+       off_t *cookiebuf = NULL, *cookie;
        off_t off;                      /* true file offset */
-       int buflen, error, eofflag, size;
-       off_t *cookiebuf = NULL, *cookie;
        int ncookies;
 
        /* getvnode() will use the descriptor for us */
@@ -818,7 +819,8 @@
        struct ibcs2_sys_sysconf_args /* {
                syscallarg(int) name;
        } */ *uap = v;
-       int mib[2], value, len, error;
+       int mib[2], value, error;
+       size_t len;
        struct sys___sysctl_args sa;
        struct sys_getrlimit_args ga;
 



Home | Main Index | Thread Index | Old Index