]> granicus.if.org Git - apache/commitdiff
Get SuEXEC building properly.
authorRyan Bloom <rbb@apache.org>
Wed, 27 Dec 2000 23:30:37 +0000 (23:30 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 27 Dec 2000 23:30:37 +0000 (23:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87538 13f79535-47bb-0310-9956-ffa450edef68

support/Makefile.in
support/suexec.c

index 219a1de411aa744c21a43316c9558cc699dceb5c..473fdd2100b10023bae962bae8f9a3c359c31e4b 100644 (file)
@@ -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)
+
index 9c95ffec945337eec2987b871c6c4d98223e5ea9..76b279ce6fa40b548b8a588c92b3a1e73e503f4b 100644 (file)
@@ -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