Changeset 7508d4


Ignore:
Timestamp:
2010-03-15 09:59:28 (4 years ago)
Author:
Poul-Henning Kamp <phk@…>
Branches:
2.1, tags/varnish-2.1.0, tags/varnish-2.1.1, tags/varnish-2.1.2, tags/varnish-2.1.3, tags/varnish-2.1.4
Children:
d399b9
Parents:
fe5604
git-author:
Poul-Henning Kamp <phk@…> (2010-03-15 09:59:28)
git-committer:
Poul-Henning Kamp <phk@…> (2010-03-15 09:59:28)
Message:

Use _exit(0) in our daemon(3) compat function, we do not want to
trigger atexit(3) processing.

Fixes #632

git-svn-id:  http://www.varnish-cache.org/svn/trunk@4607 d4fa192b-c00b-0410-8231-f00ffab90ce4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libvarnishcompat/daemon.c

    r0bbb73 r7508d4  
    6666                break; 
    6767        default: 
    68                 exit(0); 
     68                /* 
     69                 * A fine point:  _exit(0), not exit(0), to avoid triggering 
     70                 * atexit(3) processing 
     71                 */ 
     72                _exit(0); 
    6973        } 
    7074 
Note: See TracChangeset for help on using the changeset viewer.