summaryrefslogtreecommitdiff
path: root/file_io/win32
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@apache.org>2000-04-28 18:27:49 +0000
committerDoug MacEachern <dougm@apache.org>2000-04-28 18:27:49 +0000
commit7b10913ec391673232ad71bdef8cdb7e34054150 (patch)
treed5017fa34a4cd51b2b8fc153955b889c245670d6 /file_io/win32
parent7c80595141f278a455df18e96ce41f906f7124c3 (diff)
downloadapr-7b10913ec391673232ad71bdef8cdb7e34054150.tar.gz
back out APR_ prefix for TRUE,FALSE
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/win32')
-rw-r--r--file_io/win32/fileio.h2
-rw-r--r--file_io/win32/filestat.c4
-rw-r--r--file_io/win32/readwrite.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/file_io/win32/fileio.h b/file_io/win32/fileio.h
index 0d0a67dc5..974889dd0 100644
--- a/file_io/win32/fileio.h
+++ b/file_io/win32/fileio.h
@@ -92,7 +92,7 @@
* ugly way windows deals with case in the filesystem.
* append -- Windows doesn't support the append concept when opening files.
* APR needs to keep track of this, and always make sure we append
- * correctly when writing to a file with this flag set APR_TRUE.
+ * correctly when writing to a file with this flag set TRUE.
*/
struct ap_file_t {
diff --git a/file_io/win32/filestat.c b/file_io/win32/filestat.c
index 678a1e9f0..861f12b32 100644
--- a/file_io/win32/filestat.c
+++ b/file_io/win32/filestat.c
@@ -96,9 +96,9 @@ BOOLEAN is_exe(const char* fname, ap_pool_t *cont) {
if (ext && (!strcasecmp(ext,".exe") || !strcasecmp(ext,".com") ||
!strcasecmp(ext,".bat") || !strcasecmp(ext,".cmd"))) {
- return APR_TRUE;
+ return TRUE;
}
- return APR_FALSE;
+ return FALSE;
}
ap_status_t ap_getfileinfo(ap_finfo_t *finfo, ap_file_t *thefile)
diff --git a/file_io/win32/readwrite.c b/file_io/win32/readwrite.c
index 46e957f51..fb16769d8 100644
--- a/file_io/win32/readwrite.c
+++ b/file_io/win32/readwrite.c
@@ -174,7 +174,7 @@ ap_status_t ap_getc(char *ch, ap_file_t *thefile)
return GetLastError();
}
if (bread == 0) {
- thefile->eof_hit = APR_TRUE;
+ thefile->eof_hit = TRUE;
return APR_EOF;
}
return APR_SUCCESS;
@@ -200,7 +200,7 @@ ap_status_t ap_fgets(char *str, int len, ap_file_t *thefile)
}
}
if (bread == 0) {
- thefile->eof_hit = APR_TRUE;
+ thefile->eof_hit = TRUE;
return APR_EOF;
}
for (i=0; i<len; i++) {