aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/compat-solaris.c
AgeCommit message (Collapse)AuthorFilesLines
2020-06-28remove unneeded BSD & Solaris compatibility layerLuc Van Oostenryck1-33/+1
None of the BSDs need "compat-bsd.c" anymore. Same for Solaris and "compat-solaris.c", even for Solaris 10. The only problem was lacking C99's strtold() but it seems that this was solved many years ago and they're all doing quite fine with "compat-linux.c". So, simply replace the content of these file by an include of "compat-linux.c". Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
2005-04-07Remove stat-based file identity tests.Linus Torvalds1-2/+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.
2005-04-07Split out the blob allocator from lib.c into allocate.c.Linus Torvalds1-0/+1
It's disgusting how intimate lib.c is with all the types, and this is slowly trying to split things up a bit. Now the intimate part is in allocate.c, but maybe we can get to the point where each allocation user just declares its own allocation strategy, and just uses the generic routines in allocate.c
2005-04-07Add compatibility file for solaris.welinder@troll.com1-0/+34