From: Kern Sibbald Date: Mon, 14 Apr 2003 15:58:14 +0000 (+0000) Subject: Fix typo in attribs.c X-Git-Tag: Release-1.30~26 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0f9b474a2ff01120b3c1d362bdd722acaede6853;p=bacula%2Fbacula Fix typo in attribs.c git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@441 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/kernstodo b/bacula/kernstodo index 319233e8bc..346cfa342e 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -12,6 +12,7 @@ Documentation to do: (a little bit at a time) - Document logrotate - Document default file backup +- Document . command Testing to do: (painful) - that ALL console command line options work and are always implemented @@ -19,6 +20,7 @@ Testing to do: (painful) - multiple simultaneous Volumes For 1.30 release: +- Do not ignore SIGCHLD - Fix Bare Metal restore problem. - Fix "access not allowed" for backup of files on WinXP. - Document new transparent Console commands and wait command. diff --git a/bacula/src/findlib/attribs.c b/bacula/src/findlib/attribs.c index 13674ca23c..db3e63a306 100755 --- a/bacula/src/findlib/attribs.c +++ b/bacula/src/findlib/attribs.c @@ -405,7 +405,7 @@ int set_win32_attributes(void *jcr, char *fname, char *ofile, char *lname, bopen(ofd, ofile, O_RDWR|O_BINARY, 0); /* attempt to open the file */ } - if (is_open(ofd)) { + if (is_bopen(ofd)) { Dmsg1(100, "SetFileTime %s\n", ofile); stat = SetFileTime(get_osfhandle(ofd->fid), &atts.ftCreationTime, diff --git a/bacula/src/lib/signal.c b/bacula/src/lib/signal.c index e4b944f8e5..3a513d7542 100644 --- a/bacula/src/lib/signal.c +++ b/bacula/src/lib/signal.c @@ -65,6 +65,9 @@ static void signal_handler(int sig) if (already_dead) { _exit(1); } + if (sig == SIGCHLD) { /* Ignore sigchld */ + return; + } already_dead = sig; if (sig == SIGTERM) { Emsg1(M_TERM, -1, "Shutting down Bacula service: %s ...\n", my_name);