mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: Allow building of mkdir_p.c for Windows.
* common/mkdir_p.c: Change license and comment debug statements. (amkdir_p, mkdir_p): Fail on malloc error and use default_errsource to build an error code. Change return value to gpg_error_t. (amkdir_p): Use gnupg_mkdir. * common/membuf.c: Include util.h first to avoid redefined macro warnings. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
d7b8e76f99
commit
4c29852590
3 changed files with 94 additions and 64 deletions
|
@ -33,9 +33,8 @@
|
|||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "membuf.h"
|
||||
|
||||
#include "util.h"
|
||||
#include "membuf.h"
|
||||
|
||||
|
||||
/* A simple implementation of a dynamic buffer. Use init_membuf() to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue