mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Fix include paths for OS/2.
This commit is contained in:
@@ -36,8 +36,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "../os2.h"
|
#include "../os2.h"
|
||||||
#include "include/consts.h"
|
#include "../../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../../include/defs.h"
|
||||||
|
|
||||||
void GetOsInfo()
|
void GetOsInfo()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -38,8 +38,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include "xattr.h"
|
#include "xattr.h"
|
||||||
|
|
||||||
#include "../os2.h"
|
#include "../os2.h"
|
||||||
#include "include/consts.h"
|
#include "../../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../../include/defs.h"
|
||||||
|
|
||||||
void ExtendedAttributes(const char* path)
|
void ExtendedAttributes(const char* path)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "../os2.h"
|
#include "../os2.h"
|
||||||
#include "include/consts.h"
|
#include "../../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../../include/defs.h"
|
||||||
|
|
||||||
void GetOsInfo()
|
void GetOsInfo()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
|
|
||||||
#include "attr.h"
|
#include "attr.h"
|
||||||
|
|
||||||
#include "include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "os2.h"
|
#include "os2.h"
|
||||||
|
|
||||||
void FileAttributes(const char* path)
|
void FileAttributes(const char* path)
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "os2.h"
|
#include "os2.h"
|
||||||
|
|
||||||
void DeleteFiles(const char* path)
|
void DeleteFiles(const char* path)
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "os2.h"
|
#include "os2.h"
|
||||||
|
|
||||||
void DirectoryDepth(const char* path)
|
void DirectoryDepth(const char* path)
|
||||||
@@ -44,7 +44,7 @@ void DirectoryDepth(const char* path)
|
|||||||
char drivePath[4];
|
char drivePath[4];
|
||||||
APIRET rc = 0;
|
APIRET rc = 0;
|
||||||
char filename[9];
|
char filename[9];
|
||||||
long pos = 2;
|
int pos = 2;
|
||||||
|
|
||||||
drivePath[0] = path[0];
|
drivePath[0] = path[0];
|
||||||
drivePath[1] = ':';
|
drivePath[1] = ':';
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "os2.h"
|
#include "os2.h"
|
||||||
|
|
||||||
void Filenames(const char* path)
|
void Filenames(const char* path)
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "os2.h"
|
#include "os2.h"
|
||||||
|
|
||||||
void MillionFiles(const char* path)
|
void MillionFiles(const char* path)
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "os2.h"
|
#include "os2.h"
|
||||||
|
|
||||||
void Fragmentation(const char* path, size_t clusterSize)
|
void Fragmentation(const char* path, size_t clusterSize)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Contains 32-bit OS/2 code
|
|||||||
Copyright (C) 2011-2021 Natalia Portillo
|
Copyright (C) 2011-2021 Natalia Portillo
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "include/defs.h"
|
#include "../include/defs.h"
|
||||||
|
|
||||||
void Links(const char* path)
|
void Links(const char* path)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Contains 16-bit OS/2 code
|
|||||||
Copyright (C) 2011-2021 Natalia Portillo
|
Copyright (C) 2011-2021 Natalia Portillo
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "include/defs.h"
|
#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 */ }
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,6 @@ Contains 16-bit OS/2 code
|
|||||||
Copyright (C) 2011-2021 Natalia Portillo
|
Copyright (C) 2011-2021 Natalia Portillo
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "include/defs.h"
|
#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 */ }
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "../os2.h"
|
#include "../os2.h"
|
||||||
#include "include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../include/defs.h"
|
||||||
|
|
||||||
void Sparse(const char* path)
|
void Sparse(const char* path)
|
||||||
{ /* Do nothing, not supported by target operating system */
|
{ /* Do nothing, not supported by target operating system */
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "os2.h"
|
#include "os2.h"
|
||||||
|
|
||||||
#define DATETIME_FORMAT "This file is dated %04d/%02d/%02d %02d:%02d:%02d for %s\n"
|
#define DATETIME_FORMAT "This file is dated %04d/%02d/%02d %02d:%02d:%02d for %s\n"
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "include/consts.h"
|
#include "../include/consts.h"
|
||||||
#include "include/defs.h"
|
#include "../include/defs.h"
|
||||||
#include "os2.h"
|
#include "os2.h"
|
||||||
|
|
||||||
void GetVolumeInfo(const char* path, size_t* clusterSize)
|
void GetVolumeInfo(const char* path, size_t* clusterSize)
|
||||||
|
|||||||
Reference in New Issue
Block a user