"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xoverutil.c" between
leafnode-1.11.11.tar.gz and leafnode-1.11.12.tar.bz2

About: Leafnode is a store & forward NNTP proxy for small (dialup) sites.

xoverutil.c  (leafnode-1.11.11):xoverutil.c  (leafnode-1.11.12.tar.bz2)
skipping to change at line 389 skipping to change at line 389
} }
static void killcwd(void) { static void killcwd(void) {
char *t = NULL; char *t = NULL;
size_t s_t; size_t s_t;
if (agetcwd(&t, &s_t)) { if (agetcwd(&t, &s_t)) {
if (chdir(spooldir)) { if (chdir(spooldir)) {
ln_log(LNLOG_SERR, LNLOG_CTOP, "error: cannot chdir(%s): %m", spooldi r); ln_log(LNLOG_SERR, LNLOG_CTOP, "error: cannot chdir(%s): %m", spooldi r);
} }
if (rmdir(t) && errno != ENOTEMPTY) { if (rmdir(t) && errno != ENOTEMPTY && errno != EEXIST) {
ln_log(LNLOG_SERR, LNLOG_CTOP, "error: cannot rmdir(%s): %m", t); ln_log(LNLOG_SERR, LNLOG_CTOP, "error: cannot rmdir(%s): %m", t);
} }
free(t); free(t);
} }
} }
void freexover(void) { void freexover(void) {
unsigned long art; unsigned long art;
if (xoverinfo) { if (xoverinfo) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)