1 /* m_backup.c - construct a backup file */
11 static char buffer[BUFSIZ];
13 if ((cp = r1bindex (file, '/')) == file)
14 (void) sprintf (buffer, "%s%s", SBACKUP, cp);
16 (void) sprintf (buffer, "%.*s%s%s", cp - file, file, SBACKUP, cp);
17 (void) (unlink (buffer));