aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in commentsJosh Triplett2007-03-091-2/+2
| | | | Signed-off-by: Josh Triplett <josh@freedesktop.org>
* Remove stat-based file identity tests.Linus Torvalds2005-04-071-3/+0
| | | | | | | | | | | Replace it with a simple pathname comparison instead. The pathname check is not only portable (no need for any compatibility helper functions), but we can do it much earlier, and thus make the check much cheaper by avoiding three extra system calls when it triggers (open/fstat/close). And the pathname test seems to match all the cases anyway.
* Add system-specific compatibility functions to makeLinus Torvalds2005-04-071-0/+31
up for various system deficiencies. This makes sparse easier to port to silly things like MinGW or Solaris. In particular: - strtold() is a C99 thing, not everybody has it - MinGW has problems with mmap(MAP_ANONYMOUS) and doesn't zero it. - st_ino/st_dev is POSIX identity testing, not supported by MinGW