Commit Graph

36 Commits

Author SHA1 Message Date
af4c7b33d2 Reorganize folder structure to make cmake happy. 2021-03-31 02:33:45 +01:00
944ee1d0af Use statvfs(2) if available instead of statfs(2). 2021-03-31 02:03:16 +01:00
12c50187ee Implement attributes in BSD. 2021-03-31 01:32:03 +01:00
f9ce3b60eb Implement extended attributes for FreeBSD, NetBSD, OpenBSD and DragonFly BSD. 2021-03-31 00:10:49 +01:00
fc43f02250 Fix includes in UNIX. 2021-03-30 04:45:07 +01:00
e38a96b4fb Use a for loop to set timestamps on UNIX. 2021-03-30 04:44:33 +01:00
f667090a88 Fix Linux includes. 2021-03-30 04:15:51 +01:00
1d53783253 Try to use fcntl to create sparse files in Darwin. 2021-03-30 04:10:37 +01:00
f6f02d70ff Get volume attributes in Darwin. 2021-03-30 03:56:46 +01:00
3827aae827 Create sparse files on UNIX and when Linux does not have fallocate available. 2021-03-30 02:41:55 +01:00
9c4703b11f On Darwin try to create directory hard link. 2021-03-30 02:12:06 +01:00
3784fab2f2 Call Darwin code to set file attributes. 2021-03-30 02:09:27 +01:00
095d8f827c Implement setting extended attributes in Darwin. 2021-03-30 02:08:11 +01:00
095ba13a3c Write resource forks in Mac OS X, the Carbon way. 2021-03-16 05:39:41 +00:00
962ffbcfbf Add support for printing Darwin's statfs(2) flags. 2021-03-15 04:13:21 +00:00
5eba1d374b Use f_namemax if available in statfs(2). 2021-03-15 02:52:56 +00:00
1e0b0109f0 Change checking which header contains statfs structure. 2021-03-15 02:14:41 +00:00
8bbcebc843 Add support for f_fstypename from statfs(2). 2021-03-15 02:12:53 +00:00
b5b2bf1d52 Add OS detection for Darwin. 2021-03-15 01:59:43 +00:00
b74a939dbb Check where statfs is defined and the members it defines before using them. 2021-03-15 01:09:21 +00:00
e024e786a5 Remove unneeded conditional. 2021-03-15 01:08:59 +00:00
44af658458 Add Darwin target. 2021-03-15 01:08:48 +00:00
d65be35f01 Add options to write to a log and be quiet. 2021-03-14 22:55:55 +00:00
f4ebb40f33 Fix inclusion guards. 2021-03-14 19:18:18 +00:00
7cc2dcd989 Fix file headers. 2021-03-14 19:14:41 +00:00
1fa25644d1 Remove some unused code. 2021-03-14 18:50:14 +00:00
b1f7226cfa Fix dereferencing strings. 2021-03-14 18:12:56 +00:00
4b75cd3e71 Remove preprocessor guards by OS. Project should now only include the needed files. 2021-03-14 14:38:51 +00:00
9ce05e8aaf Add cmake file for cross compiling using DJGPP. 2021-03-09 19:35:16 +00:00
32043cf7a2 Update cmake files. 2021-03-09 17:21:01 +00:00
73d4ee607a Set UNIX perms using a for loop instead of repeating code. 2021-03-09 05:28:51 +00:00
801383796d Split UNIX code. 2021-03-09 05:08:28 +00:00
6d9945d20b Fix file headers. 2021-03-09 04:42:30 +00:00
ccdb28a5f6 Move include files to folder. 2021-03-09 04:39:19 +00:00
92a052002c Fix file header. 2021-03-09 04:25:51 +00:00
451bbd357b Move unix and linux code to folders. 2021-03-09 04:24:32 +00:00