More stuff.
diff --git a/archival/tar.c b/archival/tar.c
index 498d4a3..1a9f842 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -73,18 +73,18 @@
/*
* Static data.
*/
-static BOOL listFlag;
-static BOOL extractFlag;
-static BOOL createFlag;
-static BOOL verboseFlag;
-static BOOL tostdoutFlag;
+static int listFlag;
+static int extractFlag;
+static int createFlag;
+static int verboseFlag;
+static int tostdoutFlag;
-static BOOL inHeader;
-static BOOL badHeader;
-static BOOL errorFlag;
-static BOOL skipFileFlag;
-static BOOL warnedRoot;
-static BOOL eofFlag;
+static int inHeader;
+static int badHeader;
+static int errorFlag;
+static int skipFileFlag;
+static int warnedRoot;
+static int eofFlag;
static long dataCc;
static int outFd;
static char outName[TAR_NAME_SIZE];
@@ -114,7 +114,7 @@
/*
* Local procedures to save files into a tar file.
*/
-static void saveFile(const char * fileName, BOOL seeLinks);
+static void saveFile(const char * fileName, int seeLinks);
static void saveRegularFile(const char * fileName,
const struct stat * statbuf);
@@ -122,7 +122,7 @@
static void saveDirectory(const char * fileName,
const struct stat * statbuf);
-static BOOL wantFileName(const char * fileName,
+static int wantFileName(const char * fileName,
int fileCount, char ** fileTable);
static void writeHeader(const char * fileName,
@@ -130,7 +130,7 @@
static void writeTarFile(int fileCount, char ** fileTable);
static void writeTarBlock(const char * buf, int len);
-static BOOL putOctal(char * cp, int len, long value);
+static int putOctal(char * cp, int len, long value);
extern int
@@ -383,8 +383,8 @@
time_t mtime;
const char * name;
int cc;
- BOOL hardLink;
- BOOL softLink;
+ int hardLink;
+ int softLink;
/*
* If the block is completely empty, then this is the end of the
@@ -710,7 +710,7 @@
* they really are, instead of blindly following them.
*/
static void
-saveFile(const char * fileName, BOOL seeLinks)
+saveFile(const char * fileName, int seeLinks)
{
int status;
int mode;
@@ -788,7 +788,7 @@
static void
saveRegularFile(const char * fileName, const struct stat * statbuf)
{
- BOOL sawEof;
+ int sawEof;
int fileFd;
int cc;
int dataCount;
@@ -897,7 +897,7 @@
{
DIR * dir;
struct dirent * entry;
- BOOL needSlash;
+ int needSlash;
char fullName[PATH_LEN];
/*
@@ -1160,7 +1160,7 @@
* The number is zero and space padded and possibly null padded.
* Returns TRUE if successful.
*/
-static BOOL
+static int
putOctal(char * cp, int len, long value)
{
int tempLength;
@@ -1212,7 +1212,7 @@
* of path prefixes. An empty list implies that all files are wanted.
* Returns TRUE if the file is selected.
*/
-static BOOL
+static int
wantFileName(const char * fileName, int fileCount, char ** fileTable)
{
const char * pathName;