~ubuntu-branches/debian/sid/tdb/sid

« back to all changes in this revision

Viewing changes to common/mutex.c

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2014-12-01 21:44:24 UTC
  • mfrom: (1.4.11)
  • Revision ID: package-import@ubuntu.com-20141201214424-9w871mf4fvvh8tdl
Tags: 1.3.2-1
* New upstream release.
 + Fixes __attribute__((visibility)) check to not use nested functions.
   Closes: #749986
* Drop missing-stdbool-include.patch; now included upstream.
* Update 40_test_transaction_expand_non_fatal.diff: Ignore tdb1-run-
  mutex-openflags2 test output, since newly added test fails on
  Debian.
* Bump standards version to 3.9.6 (no changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
814
814
                ret = pthread_mutex_lock(m);
815
815
                nwritten = write(pipe_up[1], &ret, sizeof(ret));
816
816
                if (nwritten != sizeof(ret)) {
817
 
                        exit(1);
 
817
                        _exit(1);
818
818
                }
819
819
                if (ret != 0) {
820
 
                        exit(1);
 
820
                        _exit(1);
821
821
                }
822
822
                nread = read(pipe_down[0], &c, 1);
823
823
                if (nread != 1) {
824
 
                        exit(1);
 
824
                        _exit(1);
825
825
                }
826
826
                /* leave locked */
827
 
                exit(0);
 
827
                _exit(0);
828
828
        }
829
829
        if (tdb_robust_mutex_pid == -1) {
830
830
                goto cleanup_sig_child;