Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 29020 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +6 lines)
Line  Link Here
0
-- /var/tmp/portage/inn-2.4.1/work/inn-2.4.1/backends/inndf.c  2004-01-07 23:47:19.000000000 +0100
0
++ ./backends/inndf.c  2004-03-03 19:36:07.000000000 +0100
Lines 1-4 Link Here
1
/*  $Id: inndf.c,v 1.25 2002/11/28 06:21:20 vinocur Exp $
1
/*  $Id: inndf.c,v 1.25.2.2 2004/03/03 18:36:07 hkehoe Exp $
2
**
2
**
3
**  Reports free kilobytes (not disk blocks) or free inodes.
3
**  Reports free kilobytes (not disk blocks) or free inodes.
4
**
4
**
Lines 141-146 Link Here
141
               value of a signed long. */
141
               value of a signed long. */
142
            if (amount > (1UL << 31) - 1)
142
            if (amount > (1UL << 31) - 1)
143
                amount = (1UL << 31) - 1;
143
                amount = (1UL << 31) - 1;
144
145
           /* 2.6 kernels show 0 available and used inodes, instead. */
146
           if (amount == 0 && df_files(info) == 0)
147
               amount = (1UL << 31) - 1;
144
        } else {
148
        } else {
145
            /* Do the multiplication in floating point to try to retain
149
            /* Do the multiplication in floating point to try to retain
146
               accuracy if the free space in bytes would overflow an
150
               accuracy if the free space in bytes would overflow an

Return to bug 29020