mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:27:03 +00:00
Fix for QNX. stat doesn't have st_blksize.
This commit is contained in:
parent
3321d8d75a
commit
5eee2f1052
@ -412,7 +412,11 @@ init_hash(HTAB *hashp, const char *file, HASHINFO *info)
|
||||
return (NULL);
|
||||
|
||||
#if !defined(_WIN32) && !defined(_WINDOWS) && !defined(macintosh)
|
||||
#ifdef QNX
|
||||
hashp->BSIZE = statbuf.st_size;
|
||||
#else
|
||||
hashp->BSIZE = statbuf.st_blksize;
|
||||
#endif
|
||||
|
||||
/* new code added by Lou to reduce block
|
||||
* size down below MAX_BSIZE
|
||||
|
Loading…
x
Reference in New Issue
Block a user