From 3375267106fb0af332a516c6403700acbd1133ab Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 9 Jan 2002 21:30:37 +0000 Subject: Added tests for st_blocks in struct stat, and added a (hateful) constant the specifies the units that st_blocks is in. The reason for this is that HPUX uses 8k, AIX uses a #defined constant and everyone else (tm) uses 512 byte units. Needed for the CIFS UNIX extensions - coming to a Samba server near you soon.... :-). Jeremy. (This used to be commit 38cfffea5f0d7f5ff676f83204a2923247dce9d5) --- source3/acconfig.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/acconfig.h') diff --git a/source3/acconfig.h b/source3/acconfig.h index 7cf8c1439a..cb932d53f4 100644 --- a/source3/acconfig.h +++ b/source3/acconfig.h @@ -185,3 +185,5 @@ #undef HAVE_GSSAPI #undef BROKEN_REDHAT_7_SYSTEM_HEADERS #undef HAVE_LDAP +#undef HAVE_STAT_ST_BLOCKS +#undef STAT_ST_BLOCKSIZE -- cgit