From 33948aa024925f4906570fced80d8fbb51213272 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 21 Oct 2008 03:16:48 -0500 Subject: [PATCH] linux32 and linx64 filesystem info objects instead of only one type --- basis/unix/statfs/linux/32/32.factor | 4 ++-- basis/unix/statfs/linux/64/64.factor | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/basis/unix/statfs/linux/32/32.factor b/basis/unix/statfs/linux/32/32.factor index ea8f39137f..b21e3904f4 100644 --- a/basis/unix/statfs/linux/32/32.factor +++ b/basis/unix/statfs/linux/32/32.factor @@ -18,12 +18,12 @@ C-STRUCT: statfs FUNCTION: int statfs ( char* path, statfs64* buf ) ; -TUPLE: linux-file-system-info < file-system-info +TUPLE: linux32-file-system-info < file-system-info type bsize blocks bfree bavail files ffree fsid namelen frsize spare ; M: linux >file-system-info ( struct -- statfs ) - [ \ linux-file-system-info new ] dip + [ \ linux32-file-system-info new ] dip { [ [ statfs64-f_bsize ] diff --git a/basis/unix/statfs/linux/64/64.factor b/basis/unix/statfs/linux/64/64.factor index 49ed79cd6e..a84bec0486 100644 --- a/basis/unix/statfs/linux/64/64.factor +++ b/basis/unix/statfs/linux/64/64.factor @@ -20,12 +20,12 @@ C-STRUCT: statfs64 FUNCTION: int statfs64 ( char* path, statfs64* buf ) ; -TUPLE: linux-file-system-info < file-system-info +TUPLE: linux64-file-system-info < file-system-info type bsize blocks bfree bavail files ffree fsid namelen frsize spare ; M: linux >file-system-info ( struct -- statfs ) - [ \ linux-file-system-info new ] dip + [ \ linux64-file-system-info new ] dip { [ [ statfs64-f_bsize ]