Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bug993476: master_pid is set from create_pid (i.e. from the correct p…

…rocess)
  • Loading branch information...
commit f24b0abff231f9c40267a49d0736b0129c68dcf8 1 parent 963482e
Pavel Cherenkov authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/tarantool.m
View
4 src/tarantool.m
@@ -404,7 +404,8 @@
panic_syserror("ftruncate(`%s')", cfg.pid_file);
}
- fprintf(f, "%i\n", getpid());
+ master_pid = getpid();
+ fprintf(f, "%i\n", master_pid);
fclose(f);
}
@@ -498,7 +499,6 @@
__libc_stack_end = (void*) &argv;
#endif
- master_pid = getpid();
crc32_init();
stat_init();
palloc_init();
Please sign in to comment.
Something went wrong with that request. Please try again.