Commit d4d98b66 authored by Ryan Bloom's avatar Ryan Bloom
Browse files

Get SuEXEC building properly.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87538 13f79535-47bb-0310-9956-ffa450edef68
parent 2424edbc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -28,3 +28,7 @@ ab_OBJECTS = ab.lo
ab: $(ab_OBJECTS)
	$(LINK) $(ab_OBJECTS) $(PROGRAM_LDADD)

suexec_OBJECTS = suexec.lo
suexec: $(suexec_OBJECTS)
	$(LINK) $(suexec_OBJECTS) $(PROGRAM_LDADD)
+1 −2
Original line number Diff line number Diff line
@@ -68,7 +68,6 @@
 *
 */

#include "ap_config_auto.h"
#include "ap_config.h"
#include <sys/param.h>
#include <sys/stat.h>
@@ -80,6 +79,7 @@
#include <stdarg.h>

#include "suexec.h"
#include "ap_config_auto.h"

#if HAVE_PWD_H
#include <pwd.h>
@@ -263,7 +263,6 @@ int main(int argc, char *argv[])
    struct group *gr;		/* group entry holder        */
    struct stat dir_info;	/* directory info holder     */
    struct stat prg_info;	/* program info holder       */
    char buf[120];

    /*
     * If there are a proper number of arguments, set