Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
proftpd
> proftpd-gcc43.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File proftpd-gcc43.patch of Package proftpd (Revision 26)
Currently displaying revision
26
,
show latest
--- contrib/mod_rewrite.c.orig 2008-06-29 18:49:20.000000000 +0200 +++ contrib/mod_rewrite.c 2008-06-29 18:51:22.000000000 +0200 @@ -865,7 +865,7 @@ FALSE); if (fifo_lockname != NULL) { /* Make sure the file exists. */ - fifo_lockfd = open(fifo_lockname, O_CREAT); + fifo_lockfd = open(fifo_lockname, O_CREAT, 0600); if (fifo_lockfd < 0) { rewrite_log("rewrite_subst_maps_fifo(): error creating '%s': %s", fifo_lockname, strerror(errno)); --- modules/mod_cap.c.orig 2008-06-29 19:17:01.000000000 +0200 +++ modules/mod_cap.c 2008-06-29 20:32:50.000000000 +0200 @@ -42,10 +42,7 @@ # define _LINUX_BYTEORDER_GENERIC_H # endif -# ifdef HAVE_LINUX_CAPABILITY_H -# include <linux/capability.h> -# endif /* HAVE_LINUX_CAPABILITY_H */ -# include "../lib/libcap/include/sys/capability.h" +#include <linux/capability.h> /* What are these for? */ # undef WNOHANG