return fopen(path, mode);
}
-int safe_fclose(FILE **f)
-{
- int r = 0;
-
- if (*f)
- r = fclose (*f);
- *f = NULL;
- return r;
-}
-
/* If rfc1524_expand_command() is used on a recv'd message, then
* the filename doesn't exist yet, but if its used while sending a message,
* then we need to rename the existing file.