tchanges - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 6cc8155b4944fc1db2a5a8d9263cc4953c764b47
 (DIR) parent b707cb51ed57c8d189a2e9f96ee31fa41a63e18c
 (HTM) Author: rsc <devnull@localhost>
       Date:   Mon, 14 Jun 2004 21:43:01 +0000
       
       changes
       
       Diffstat:
         M src/libventi/dtype.c                |      12 ++++++------
       
       1 file changed, 6 insertions(+), 6 deletions(-)
       ---
 (DIR) diff --git a/src/libventi/dtype.c b/src/libventi/dtype.c
       t@@ -44,7 +44,7 @@ uint todisk[] = {
        };
        
        uint fromdisk[] = {
       -        ~0,
       +        VtCorruptType,
                VtRootType,
                VtDirType,
                VtDirType+1,
       t@@ -54,9 +54,9 @@ uint fromdisk[] = {
                VtDirType+5,
                VtDirType+6,
                VtDirType+7,
       -        ~0,
       -        ~0,
       -        ~0,
       +        VtCorruptType,
       +        VtCorruptType,
       +        VtCorruptType,
                VtDataType,
        };
        
       t@@ -64,7 +64,7 @@ uint
        vttodisktype(uint n)
        {
                if(n >= nelem(todisk))
       -                return ~0;
       +                return VtCorruptType;
                return todisk[n];
        }
        
       t@@ -72,7 +72,7 @@ uint
        vtfromdisktype(uint n)
        {
                if(n >= nelem(fromdisk))
       -                return ~0;
       +                return VtCorruptType;
                return fromdisk[n];
        }