if (access (name, W_OK) == -1)
set_readonly (mp);
- prefix_len = strlen(BACKUP_PREFIX);
+ prefix_len = strlen(backup_prefix);
/*
* Allocate a temporary place to record the
default:
/* skip any files beginning with backup prefix */
- if (!strncmp (dp->d_name, BACKUP_PREFIX, prefix_len))
+ if (!strncmp (dp->d_name, backup_prefix, prefix_len))
continue;
- /* skip the LINK file */
- if (!strcmp (dp->d_name, LINK))
+ /* skip the altmsg link file */
+ if (!strcmp (dp->d_name, altmsglink))
continue;
/* indicate that there are other files in folder */