mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Add a hook to be called right after main.
* common/init.c (early_system_init): New stub function. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
b1d5ed6ac8
commit
0c2bfd9d5a
18 changed files with 28 additions and 0 deletions
|
@ -665,6 +665,8 @@ main (int argc, char **argv )
|
|||
gpg_error_t err;
|
||||
struct assuan_malloc_hooks malloc_hooks;
|
||||
|
||||
early_system_init ();
|
||||
|
||||
/* Before we do anything else we save the list of currently open
|
||||
file descriptors and the signal mask. This info is required to
|
||||
do the exec call properly. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue