git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compiler masochism compliance.
[exim.git]
/
src
/
src
/
directory.c
diff --git
a/src/src/directory.c
b/src/src/directory.c
index 7aa137c8afef8db00b3f4c97406f9549ecfebc6f..d6cac2cb8096d6dce6042890f6203054bee17bba 100644
(file)
--- a/
src/src/directory.c
+++ b/
src/src/directory.c
@@
-36,10
+36,12
@@
Returns: panic on failure if panic is set; otherwise return FALSE;
*/
BOOL
*/
BOOL
-directory_make(uschar *parent, uschar *name, int mode, BOOL panic)
+directory_make(const uschar *parent, const uschar *name,
+ int mode, BOOL panic)
{
BOOL use_chown = parent == spool_directory && geteuid() == root_uid;
{
BOOL use_chown = parent == spool_directory && geteuid() == root_uid;
-uschar *p, *slash;
+uschar *p;
+const uschar *slash;
int c = 1;
struct stat statbuf;
uschar buffer[256];
int c = 1;
struct stat statbuf;
uschar buffer[256];
@@
-47,7
+49,7
@@
uschar buffer[256];
if (parent == NULL)
{
p = buffer + 1;
if (parent == NULL)
{
p = buffer + 1;
- slash = parent = US"";
+ slash = parent =
C
US"";
}
else
{
}
else
{