Homogenize line endings and encoding
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
unsigned long _crcTable[256];
|
unsigned long _crcTable[256];
|
||||||
int _crcTableInitialized = 0;
|
int _crcTableInitialized = 0;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#ifndef _CRC_
|
#ifndef _CRC_
|
||||||
#define _CRC_
|
#define _CRC_
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#ifndef _FILENODE_H_
|
#ifndef _FILENODE_H_
|
||||||
#define _FILENODE_H_
|
#define _FILENODE_H_
|
||||||
|
|
||||||
#define FileNode_Filename "nodesFile.fs"
|
#define FileNode_Filename "nodesFile.fs"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#ifndef _FILENODECMP_H_
|
#ifndef _FILENODECMP_H_
|
||||||
#define _FILENODECMP_H_
|
#define _FILENODECMP_H_
|
||||||
|
|
||||||
#include "filenode.h"
|
#include "filenode.h"
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
# include <direct.h>
|
# include <direct.h>
|
||||||
# define _WIN32_WINNT 0x0501
|
# define _WIN32_WINNT 0x0501
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
# include <stdio.h>
|
# include <stdio.h>
|
||||||
# include <signal.h>
|
# include <signal.h>
|
||||||
# include <fcntl.h>
|
# include <fcntl.h>
|
||||||
@@ -317,11 +317,11 @@ void File_Delete(char *path) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void File_DeleteDirectory(char *path) {
|
void File_DeleteDirectory(char *path) {
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
rmdir(path);
|
rmdir(path);
|
||||||
#else
|
#else
|
||||||
_rmdir(path);
|
_rmdir(path);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#ifndef _FILEUTIL_
|
#ifndef _FILEUTIL_
|
||||||
#define _FILEUTIL_
|
#define _FILEUTIL_
|
||||||
|
|
||||||
////////////////////////////////////////////////
|
////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#ifndef _UTIL_
|
#ifndef _UTIL_
|
||||||
#define _UTIL_
|
#define _UTIL_
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user