summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/bits/stat.h
Commit message (Collapse)AuthorAgeFilesLines
* enable nanosecond stat support for everyoneMike Frysinger2009-07-261-2/+2
| | | | | | | | | | | | | 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>
* add missing UTIME_* defines for *at funcsMike Frysinger2009-07-261-1/+6
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Make sure struct stat is identical to struct stat64 ifPeter Kjellerstedt2007-02-021-2/+4
| | | | | | __USE_FILE_OFFSET64 is defined. This was the case for all architectures except those that use packed structures by default (i.e., CRIS).
* sync with upstream via psmMike Frysinger2006-08-241-11/+32
|
* add support for nanosecondsMike Frysinger2005-07-171-7/+9
|
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-241-4/+68
| | | | | | | | | | | | | | | 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
* Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III2002-08-241-7/+0
| | | | i386. This is for Erik to look at wrt the other archs.
* Split out the definition of struct stat into the new archEric Andersen2002-08-231-612/+1
| | | | | specific bits/kernel_stat.h file. -Erik
* Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen2002-08-221-2/+613
| | | | -Erik
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-191-66/+15
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-011-0/+134
and to better support each arch. This is a really big patch... -Erik