]>
diplodocus.org Git - nmh/blob - sbr/m_backup.c
3 * m_backup.c -- construct a backup file
7 * This code is Copyright (c) 2002, by the authors of nmh. See the
8 * COPYRIGHT file in the root directory of the nmh distribution for
9 * complete copyright information.
19 static char buffer
[BUFSIZ
];
21 if ((cp
= r1bindex(file
, '/')) == file
)
22 snprintf(buffer
, sizeof(buffer
), "%s%s",
25 snprintf(buffer
, sizeof(buffer
), "%.*s%s%s", (int)(cp
- file
), file
,