]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix typo in attribs.c
authorKern Sibbald <kern@sibbald.com>
Mon, 14 Apr 2003 15:58:14 +0000 (15:58 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 14 Apr 2003 15:58:14 +0000 (15:58 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@441 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kernstodo
bacula/src/findlib/attribs.c
bacula/src/lib/signal.c

index 319233e8bcc897578894c9b7f09a20aead7fc8d6..346cfa342edc751cbdfecbffc64e4098bec1eddd 100644 (file)
@@ -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.
index 13674ca23c33c86bbf4f1e7d3cbb4e7bfefe93f2..db3e63a306ec095616032b3c4a40b2d43033ccf3 100755 (executable)
@@ -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,
index e4b944f8e55eddc4ee384d84e5a257d1b6393102..3a513d7542e12d9b35504dc4dbd2a064db1e8e67 100644 (file)
@@ -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);