Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also fix staging violation. Reported by: fallout
- Loading branch information
1 parent
95f93a2
commit 0ef9bba
Showing
5 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- backends/pam/libpam_main.c.orig 2023-06-26 15:12:29 UTC | ||
+++ backends/pam/libpam_main.c | ||
@@ -47,6 +47,7 @@ | ||
#include <pwd.h> | ||
#include <grp.h> | ||
#include <errno.h> | ||
+#include <stdlib.h> | ||
#include <sys/types.h> | ||
|
||
#include <libwzd-core/wzd_backend.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- libwzd-core/wzd_data.c.orig 2023-06-26 15:01:55 UTC | ||
+++ libwzd-core/wzd_data.c | ||
@@ -529,7 +529,7 @@ int data_start_thread_retr(wzd_context_t * context) | ||
int ret; | ||
|
||
thread = malloc(sizeof(wzd_thread_t)); | ||
- ret = wzd_thread_create(thread, NULL, do_local_retr, context); | ||
+ ret = wzd_thread_create(thread, NULL, (void *(*)(void *))do_local_retr, context); | ||
|
||
context->transfer_thread = thread; | ||
|
||
@@ -544,7 +544,7 @@ int data_start_thread_stor(wzd_context_t * context) | ||
int ret; | ||
|
||
thread = malloc(sizeof(wzd_thread_t)); | ||
- ret = wzd_thread_create(thread, NULL, do_local_stor, context); | ||
+ ret = wzd_thread_create(thread, NULL, (void *(*)(void *))do_local_stor, context); | ||
|
||
context->transfer_thread = thread; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- wzdftpd/Makefile.am.orig 2023-06-26 15:25:11 UTC | ||
+++ wzdftpd/Makefile.am | ||
@@ -22,10 +22,8 @@ dist_sysconf_DATA = wzd.cfg.sample wzd.pem \ | ||
users.sample | ||
|
||
install-data-hook: | ||
- ${INSTALL_PROGRAM} -m 775 -d $(localstatedir)/log/wzdftpd || true | ||
|
||
uninstall-hook: | ||
- rmdir --ignore-fail-on-non-empty $(localstatedir)/log/wzdftpd || true | ||
|
||
EXTRA_DIST = KNOWN_BUGS TODO wzd.cfg.sample.in | ||
|