Commit Graph

189 Commits

Author SHA1 Message Date
4f48e254cd Decode FreeBSD flags from statfs(2). 2021-03-31 03:22:40 +01:00
30a016430c Decode NetBSD flags from statvfs(2). 2021-03-31 03:02:39 +01:00
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
9569fee882 Dynamically load setxattr(2) in Linux. 2021-03-30 04:19:51 +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
6dd972c781 Fix text when creating resource forks in MacOS. 2021-03-16 05:38:17 +00:00
c0c52aa887 Implement setting file attributes in Darwin. 2021-03-15 04:17:16 +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
851c331cd3 Fix sending target to functions. 2021-03-15 02:01:54 +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
525dabdc07 Fix header guard. 2021-03-15 01:05:40 +00:00
d4d44ae113 Check target path is set. 2021-03-14 22:56:55 +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
6c75daa1ae Fix include paths for OS/2. 2021-03-14 18:51:47 +00:00
7c5f015623 Fixed type sizes. 2021-03-14 18:51:29 +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
9aa53cad57 Reformat code. 2021-03-14 07:16:30 +00:00
10efebaef6 Remove unused MacOS code. 2021-03-14 07:13:13 +00:00
8b1843731f Set MacOS timestamps using a for loop instead of repeating code. 2021-03-14 06:59:15 +00:00
c47a41cecc Replace calls to HSetFInfo() with PBHSetFInfoSync(). 2021-03-14 06:44:56 +00:00
6e71a9c25d Set MacOS attributes using a for loop instead of repeating code. 2021-03-14 06:31:44 +00:00
80cfc123a1 Remove sync/async definitions. Use sync functions for MacOS. 2021-03-14 05:07:03 +00:00
5c109c184b Change directory creation API call for MacOS. 2021-03-14 04:55:42 +00:00
88161c7a0d Show cmake detected system and processor. 2021-03-14 00:50:43 +00:00
964e01b4fb Split includes for MacOS. 2021-03-12 15:28:17 +00:00
e5031597fd Add missing definitions for Retro68. 2021-03-12 15:21:59 +00:00
8dfdff7b60 Guard inclusion of FileTypesAndCreators.h depending on presence. 2021-03-12 13:40:11 +00:00
06f45f0e35 Guard inclusion of SIOUX depending on compiled by CodeWarrior. 2021-03-12 13:38:11 +00:00