summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh/bits/kernel_stat.h
Commit message (Collapse)AuthorAgeFilesLines
* enable nanosecond stat support for everyoneMike Frysinger2009-07-261-14/+6
| | | | | | | | | | | | | Fill out the stat structure so that the nanosecond resolution support is always available. There is a small code size increase for a few ports (three additional assignments in xstatconv), but otherwise everything should remain the same. While we're here, punt __old_kernel_stat from the few headers that still define it as it is unused in uClibc and causes compile errors after these nanosecond changes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-2/+2
|
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-061-0/+4
| | | | minor include file issues
* Fixup byte order handling. Not all architectures define __BIG_ENDIAN__ so i.e.Eric Andersen2005-12-141-4/+4
| | | | | | on big endian mips the code is compiled as little-endian and the wrong half of the 64-bit point value is examined to check for NaN, etc. This bug also broke fpclassify(), isfinite(), isnormal(), isinf(), finite(), and signbit().
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-241-60/+3
| | | | | | | | | | | | | | | type of 'struct stat' and 'struct stat64' so they use consistant types. This change is the result of a bug I found while trying to use GNU tar. The problem was caused by our using kernel types within struct stat and trying to directly compare these values with standard types. Trying an 'if (a < b)' when 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results then when comparing entities of the same type (i.e. time_t values).... Grumble. Nasty stuff, but I'm glad I got this out of the way now. As a result of this fix, uClibc 0.9.17 will not be binary compatible with earlier releases. I have always warned people this can and will happen. -Erik
* Finish off the bits/kernel_stat.h cleanup for properEric Andersen2002-08-251-0/+55
| | | | | __USE_FILE_OFFSET64 handling. -Erik
* Split out the definition of struct stat into the new archEric Andersen2002-08-231-0/+87
specific bits/kernel_stat.h file. -Erik