diff --git a/setter/.idea/deployment.xml b/setter/.idea/deployment.xml
new file mode 100644
index 0000000..176070f
--- /dev/null
+++ b/setter/.idea/deployment.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/setter/.idea/other.xml b/setter/.idea/other.xml
index 771b591..56ff436 100644
--- a/setter/.idea/other.xml
+++ b/setter/.idea/other.xml
@@ -3,12 +3,7 @@
diff --git a/setter/src/os2/attr.h b/setter/src/os2/attr.h
index 2da5f85..3959dcf 100644
--- a/setter/src/os2/attr.h
+++ b/setter/src/os2/attr.h
@@ -112,4 +112,3 @@ static const os2_attr_tests_t os2_attrs[KNOWN_OS2_ATTRS] = {
};
#endif // AARU_FSTESTER_SETTER_SRC_OS2_ATTR_H_
-
diff --git a/setter/src/os2/deleted.c b/setter/src/os2/deleted.c
index 947b363..fcac348 100644
--- a/setter/src/os2/deleted.c
+++ b/setter/src/os2/deleted.c
@@ -44,7 +44,7 @@ void DeleteFiles(const char* path)
ACTION_RET actionTaken = 0;
HFILE handle;
-// 16 bit
+ // 16 bit
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86))
USHORT driveNo = path[0] - '@';
#else // 32 bit
diff --git a/setter/src/os2/dirdepth.c b/setter/src/os2/dirdepth.c
index c6a1adf..f52138c 100644
--- a/setter/src/os2/dirdepth.c
+++ b/setter/src/os2/dirdepth.c
@@ -42,7 +42,7 @@ void DirectoryDepth(const char* path)
char filename[9];
int pos = 2;
-// 16 bit
+ // 16 bit
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86))
USHORT driveNo = path[0] - '@';
#else // 32 bit
diff --git a/setter/src/os2/filename.c b/setter/src/os2/filename.c
index cb89dc1..34226c2 100644
--- a/setter/src/os2/filename.c
+++ b/setter/src/os2/filename.c
@@ -44,7 +44,7 @@ void Filenames(const char* path)
char message[300];
int pos = 0;
-// 16 bit
+ // 16 bit
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86))
USHORT driveNo = path[0] - '@';
#else // 32 bit
diff --git a/setter/src/os2/files.c b/setter/src/os2/files.c
index 0d2149c..f45e1b6 100644
--- a/setter/src/os2/files.c
+++ b/setter/src/os2/files.c
@@ -44,7 +44,7 @@ void MillionFiles(const char* path)
ACTION_RET actionTaken = 0;
HFILE handle;
-// 16 bit
+ // 16 bit
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86))
USHORT driveNo = path[0] - '@';
#else // 32 bit
diff --git a/setter/src/os2/frag.c b/setter/src/os2/frag.c
index cee86b2..8602643 100644
--- a/setter/src/os2/frag.c
+++ b/setter/src/os2/frag.c
@@ -49,7 +49,7 @@ void Fragmentation(const char* path, size_t clusterSize)
HFILE handle;
long i;
-// 16 bit
+ // 16 bit
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86))
USHORT driveNo = path[0] - '@';
#else // 32 bit
diff --git a/setter/src/os2/perms.c b/setter/src/os2/perms.c
index b1adf1e..ad89e74 100644
--- a/setter/src/os2/perms.c
+++ b/setter/src/os2/perms.c
@@ -24,5 +24,6 @@ Copyright (C) 2011-2021 Natalia Portillo
#include "../include/defs.h"
-void FilePermissions(const char* path) { /* Do nothing, not supported by target operating system */ }
-
+void FilePermissions(const char* path)
+{ /* Do nothing, not supported by target operating system */
+}
diff --git a/setter/src/os2/rsrcfork.c b/setter/src/os2/rsrcfork.c
index 0c00ba2..9d7870d 100644
--- a/setter/src/os2/rsrcfork.c
+++ b/setter/src/os2/rsrcfork.c
@@ -24,4 +24,6 @@ Copyright (C) 2011-2021 Natalia Portillo
#include "../include/defs.h"
-void ResourceFork(const char* path) { /* Do nothing, not supported by target operating system */ }
+void ResourceFork(const char* path)
+{ /* Do nothing, not supported by target operating system */
+}
diff --git a/setter/src/os2/sparse.c b/setter/src/os2/sparse.c
index 994d46f..841c9bf 100644
--- a/setter/src/os2/sparse.c
+++ b/setter/src/os2/sparse.c
@@ -30,9 +30,9 @@ Copyright (C) 2011-2021 Natalia Portillo
#include
#include
-#include "../os2defs.h"
#include "../include/consts.h"
#include "../include/defs.h"
+#include "os2defs.h"
void Sparse(const char* path)
{ /* Do nothing, not supported by target operating system */
diff --git a/setter/src/os2/time.c b/setter/src/os2/time.c
index 8c3cef8..bf14d37 100644
--- a/setter/src/os2/time.c
+++ b/setter/src/os2/time.c
@@ -45,7 +45,7 @@ void Timestamps(const char* path)
HFILE handle;
char message[300];
-// 16 bit
+ // 16 bit
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86))
USHORT status_size = sizeof(FILESTATUS);
FILESTATUS status;
diff --git a/setter/src/os2/volume.c b/setter/src/os2/volume.c
index 439be43..651ef1d 100644
--- a/setter/src/os2/volume.c
+++ b/setter/src/os2/volume.c
@@ -45,7 +45,7 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
USHORT usVolSerialHigh;
USHORT usVolSerialLow;
-// 16 bit
+ // 16 bit
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86))
USHORT cbData = sizeof(bData);
USHORT driveNo = path[0] - '@';
@@ -58,7 +58,7 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
*clusterSize = 0;
-// 16 bit
+ // 16 bit
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86))
rc = DosQFSAttach((PSZ)path, 0, FSAIL_QUERYNAME, (PVOID)&bData, &cbData, 0);
#else // 32 bit
@@ -72,7 +72,7 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
if(rc) log_write("Error %d requesting volume information.\n", rc);
else
{
-// 16 bit
+ // 16 bit
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86))
fsdName = &bData[4 + (USHORT)bData[2] + 1 + 2];
#else // 32 bit
@@ -83,7 +83,7 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
pfsAllocateBuffer = (PFSALLOCATE)malloc(sizeof(FSALLOCATE));
-// 16 bit
+ // 16 bit
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86))
rc = DosQFSInfo(driveNo, 1, (PBYTE)pfsAllocateBuffer, sizeof(FSALLOCATE));
#else // 32 bit
@@ -111,7 +111,7 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
pfsInfo = (PFSINFO)malloc(sizeof(FSINFO));
-// 16 bit
+ // 16 bit
#if(defined(__I86__) || defined(__i86__) || defined(_M_I86))
rc = DosQFSInfo(driveNo, 2, (PBYTE)pfsInfo, sizeof(FSINFO));
#else // 32 bit
@@ -122,11 +122,9 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
else
{
usVolSerialHigh = *((PUSHORT)&pfsInfo->ftimeCreation);
- usVolSerialLow = *((PUSHORT)&pfsInfo->fdateCreation);
+ usVolSerialLow = *((PUSHORT)&pfsInfo->fdateCreation);
log_write("\tVolume label: %s\n", pfsInfo->vol.szVolLabel);
- log_write("\tVolume created on %04X:%04X\n",
- usVolSerialHigh,
- usVolSerialLow);
+ log_write("\tVolume created on %04X:%04X\n", usVolSerialHigh, usVolSerialLow);
}
free(pfsInfo);