FAB_REPOSITORY
if ((chmod(FAB_REPOSITORY, S_IRUSR|S_IRGRP|S_IROTH) == -1) &&
if ((fd = open(FAB_REPOSITORY, O_RDWR | O_CREAT)) == -1) {
if ((copy_rep = (char *)calloc(1, strlen(FAB_REPOSITORY) +
(void) sprintf(copy_rep, "%s%s%ld", FAB_REPOSITORY, COPY_EXT,
if ((tmp_rep = (char *)calloc(1, strlen(FAB_REPOSITORY) +
(void) sprintf(tmp_rep, "%s%s%ld", FAB_REPOSITORY,
rename(tmp_rep, FAB_REPOSITORY);
if ((tmp_rep = (char *)calloc(1, strlen(FAB_REPOSITORY) +
(void) sprintf(tmp_rep, "%s%s%ld", FAB_REPOSITORY,
rename(tmp_rep, FAB_REPOSITORY);