summaryrefslogtreecommitdiff
path: root/file_io/netware/filestat.c
diff options
context:
space:
mode:
Diffstat (limited to 'file_io/netware/filestat.c')
-rw-r--r--file_io/netware/filestat.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/file_io/netware/filestat.c b/file_io/netware/filestat.c
index 662795128..85d73c30d 100644
--- a/file_io/netware/filestat.c
+++ b/file_io/netware/filestat.c
@@ -160,16 +160,16 @@ APR_DECLARE(apr_status_t) apr_file_attrs_set(const char *fname,
{
if (attributes & APR_FILE_ATTR_READONLY)
{
- finfo.protection &= ~APR_UWRITE;
- finfo.protection &= ~APR_GWRITE;
- finfo.protection &= ~APR_WWRITE;
+ finfo.protection &= ~APR_FPROT_UWRITE;
+ finfo.protection &= ~APR_FPROT_GWRITE;
+ finfo.protection &= ~APR_FPROT_WWRITE;
}
else
{
/* ### umask this! */
- finfo.protection |= APR_UWRITE;
- finfo.protection |= APR_GWRITE;
- finfo.protection |= APR_WWRITE;
+ finfo.protection |= APR_FPROT_UWRITE;
+ finfo.protection |= APR_FPROT_GWRITE;
+ finfo.protection |= APR_FPROT_WWRITE;
}
}
@@ -178,15 +178,15 @@ APR_DECLARE(apr_status_t) apr_file_attrs_set(const char *fname,
if (attributes & APR_FILE_ATTR_EXECUTABLE)
{
/* ### umask this! */
- finfo.protection |= APR_UEXECUTE;
- finfo.protection |= APR_GEXECUTE;
- finfo.protection |= APR_WEXECUTE;
+ finfo.protection |= APR_FPROT_UEXECUTE;
+ finfo.protection |= APR_FPROT_GEXECUTE;
+ finfo.protection |= APR_FPROT_WEXECUTE;
}
else
{
- finfo.protection &= ~APR_UEXECUTE;
- finfo.protection &= ~APR_GEXECUTE;
- finfo.protection &= ~APR_WEXECUTE;
+ finfo.protection &= ~APR_FPROT_UEXECUTE;
+ finfo.protection &= ~APR_FPROT_GEXECUTE;
+ finfo.protection &= ~APR_FPROT_WEXECUTE;
}
}