* No -D file inside the spool area should be a symlink.
*/
if ((fd = Uopen(fname,
-#ifdef O_CLOEXEC
- O_CLOEXEC |
-#endif
-#ifdef O_NOFOLLOW
- O_NOFOLLOW |
-#endif
- O_RDWR | O_APPEND, 0)) >= 0)
+ EXIM_CLOEXEC | EXIM_NOFOLLOW | O_RDWR | O_APPEND, 0)) >= 0)
break;
save_errno = errno;
if (errno == ENOENT)
if (*var == '(') /* marker for quoted value */
{
uschar * s;
- int idx;
for (s = ++var; *s != ')'; ) s++;
#ifndef COMPILE_UTILITY
- if ((idx = search_findtype(var, s - var)) < 0)
{
- DEBUG(D_any) debug_printf("Unrecognised quoter %.*s\n", (int)(s - var), var+1);
- goto SPOOL_FORMAT_ERROR;
+ int idx;
+ if ((idx = search_findtype(var, s - var)) < 0)
+ {
+ DEBUG(D_any)
+ debug_printf("Unrecognised quoter %.*s\n", (int)(s - var), var+1);
+ goto SPOOL_FORMAT_ERROR;
+ }
+ proto_mem = store_get_quoted(1, GET_TAINTED, idx);
}
- proto_mem = store_get_quoted(1, GET_TAINTED, idx);
#endif /* COMPILE_UTILITY */
var = s + 1;
}