Commit Graph

168 Commits

Author SHA1 Message Date
d0ef9457f3 Fix how 32-bit vs 16-bit OS/2 is detected in attributes setter. 2021-04-11 00:41:08 +01:00
49b5cd1701 Fix OS/2 includes to not repeat including os2.h. 2021-04-11 00:40:29 +01:00
d57cc3a3ce Move GetDiskFreeEx implementation in DJGPP to another file as some compilers try to index it's include files. 2021-04-11 00:36:41 +01:00
341fc84ab1 Add support for Zortech and Symantec compilers for DOS. 2021-04-11 00:36:02 +01:00
dccadff4aa Add definitions to support Microsoft compilers for DOS. 2021-04-11 00:35:13 +01:00
a4f2751ce6 Fix pragma for packing in old Watcom C++ compilers. 2021-04-11 00:32:49 +01:00
559fc1c774 Add missing include for Watcom C++ in DOS. 2021-04-11 00:31:52 +01:00
7b344d773d Change how old Borland DOS compilers are detected. 2021-04-11 00:31:35 +01:00
b8e277b363 Cast filename to make some DOS compiler happy. 2021-04-11 00:30:34 +01:00
948526c568 Fix printed error in DOS volume processing. 2021-04-11 00:30:13 +01:00
23c810fd19 Fix macro checked for Watcom C++ compilers. 2021-04-11 00:29:14 +01:00
0c482696c9 Check if DOS attributes are defined already and define them again if not. 2021-04-11 00:24:47 +01:00
5620dc52a2 Add missing definitions for old 32-bit Windows compilers. 2021-04-07 01:52:23 +01:00
5f5f854dc3 Rename time.h to timew32.h to prevent conflicts with older compilers. 2021-04-07 01:41:18 +01:00
98c812904c DOS code clean-up. 2021-04-06 04:16:24 +01:00
8dd1a2a02d Change how errors from FAT32 GetDiskFreeEx() functions are detected when getting volume information in DOS. 2021-04-06 04:16:11 +01:00
e743059ad2 Add missing definitions for Borland C++ 2.0. 2021-04-06 04:15:42 +01:00
cee72b5a84 Remove unneeded include guard. 2021-04-06 04:14:53 +01:00
d7894f526a Change how 16-bit CPU registers are accessed in DOS. 2021-04-06 04:14:29 +01:00
81b0db33ca Add _dos_write, _dos_creat and _dos_creatnew functions for Borland C++ <= 2.0. 2021-04-06 04:13:45 +01:00
beb135b03c Do not use a DOS attribute macro when 0 suffices. 2021-04-06 04:12:55 +01:00
1ff94143a2 Define DOS attribute macros for Borlanc C++ / Turbo C. 2021-04-06 04:11:10 +01:00
8424af120c Rename time.h to dostime.h to prevent conflicts with older compilers. 2021-04-06 04:10:28 +01:00
15f0b7b534 Rename dos.h to dosdefs.h to prevent conflicts with older compilers. 2021-04-06 04:05:53 +01:00
82ceff1316 Fix volume information in OS/2. 2021-04-05 23:04:02 +01:00
2e85ff165e Fix retrieval of 32-bit OS/2 version. 2021-04-05 23:03:41 +01:00
86089ec182 Change definition of log_close to follow older standards. 2021-04-05 21:52:53 +01:00
ab3e22d8cc Fix typo. 2021-04-05 21:52:34 +01:00
ce924f06d4 Fix spurious parameters in OS/2 calls. 2021-04-05 21:52:22 +01:00
7626ea03f8 In OS/2 change current drive before changing current directory. 2021-04-05 21:51:56 +01:00
7c8582bde4 Rename os2.h to os2defs.h to prevent collision in old compilers. 2021-04-05 21:47:32 +01:00
3a17625aad Fix spurious endif at end of file. 2021-04-05 19:33:45 +01:00
e5756d198f Implement extended attributes version in BeOS and Haiku. 2021-03-31 16:53:58 +01:00
f95b6fccb9 Implement getting volume information from BeOS and Haiku. 2021-03-31 15:09:22 +01:00
0d768672de Implement getting OS version from BeOS and Haiku. 2021-03-31 14:36:55 +01:00
f3a5ab8745 Copy supported POSIX APIs to BeOS. 2021-03-31 13:30:04 +01:00
d67d8e2dde Decode DragonFly BSD flags from statfs(2). 2021-03-31 05:17:25 +01:00
78ae1f44a4 Fix warning in UNIX. 2021-03-31 04:49:14 +01:00
d7d842b1ba Fix compilation in OpenBSD. 2021-03-31 04:46:38 +01:00
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