diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-12-11 17:51:00 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-12-11 17:51:00 -0200 |
commit | cfd6cb3efa3879241fdcd3bcadbb1c0fd59e9deb (patch) | |
tree | 4bccf4274e6a6f4ed940ac5234709b61b926c24e /pcr/initng-git/fixes.patch | |
parent | f26e5052d31cc346f630e58693d36cf4304798c5 (diff) | |
parent | 75cafae246aed347176d14796b346f03310e4220 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/initng-git/fixes.patch')
-rw-r--r-- | pcr/initng-git/fixes.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/initng-git/fixes.patch b/pcr/initng-git/fixes.patch new file mode 100644 index 000000000..397965e38 --- /dev/null +++ b/pcr/initng-git/fixes.patch @@ -0,0 +1,31 @@ +diff -ru initng.orig/include/initng/io.h initng/include/initng/io.h +--- initng.orig/include/initng/io.h 2012-12-11 03:45:20.000000000 -0500 ++++ initng/include/initng/io.h 2012-12-11 03:44:30.000000000 -0500 +@@ -21,6 +21,7 @@ + #define INITNG_IO_H + + #include <unistd.h> ++#include <stdbool.h> + #include <fcntl.h> + + #include <initng/active_db.h> +@@ -43,6 +44,6 @@ + pipe_h * pipe); + void initng_io_module_poll(int timeout); + +-int initng_io_set_cloexec(int fd); ++/* int initng_io_set_cloexec(int fd); */ + + #endif /* !defined(INITNG_IO_H) */ +diff -ru initng.orig/src/main/io/open.c initng/src/main/io/open.c +--- initng.orig/src/main/io/open.c 2012-12-11 03:45:20.000000000 -0500 ++++ initng/src/main/io/open.c 2012-12-11 03:44:30.000000000 -0500 +@@ -26,8 +26,5 @@ + int fd; + + fd = open(path, flags); +- if (fd != -1) { +- initng_io_fdtrack(fd); +- } + return fd; + } |