httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garey Smiley" <ga...@main.slink.com>
Subject OS/2 Fixes
Date Sun, 08 Dec 1996 23:50:16 GMT
Could someone please commit these OS/2 fixes for 1.2b1.


*** conf.h.orig	Mon Dec  2 08:07:22 1996
--- conf.h	Thu Dec  5 00:43:00 1996
***************
*** 365,370 ****
--- 365,373 ----
  #define NO_SETSID
  /* Add some drive name support */
  #define chdir _chdir2
+ #include <sys/time.h>     
+ #define MAXSOCKETS 200
+     
  
  /* Unknown system - Edit these to match */
  #else
*** Configure.orig	Tue Nov 19 22:04:28 1996
--- Configure.	Wed Dec  4 20:06:08 1996
***************
*** 158,166 ****
  	OS='DG/UX 5.4'
  	CFLAGS="$CFLAGS -DDGUX"
  	;;
!     OS/2)
  	OS='EMX OS/2'
! 	CFLAGS="$CFLAGS -Zbsd-signals -Zbin-files -DNO_KILLPG
-DNEED_STRCASECMP -DNO_SETSID -g"
  	LIBS="$LIBS -lsocket -llibufc -lgdbm -lbsd"
  	;;
      *-hp-hpux10.*)
--- 158,167 ----
          OS='DG/UX 5.4'
          CFLAGS="$CFLAGS -DDGUX"
          ;;
!     *OS/2*)
!         DEF_WANTHSREGEX=yes
          OS='EMX OS/2'
!         CFLAGS="$CFLAGS -Zbsd-signals -Zbin-files -DTCPIPV4 -g"
          LIBS="$LIBS -lsocket -llibufc -lgdbm -lbsd"
          ;;
      *-hp-hpux10.*)
*** mod_userdir.c.orig	Sun Dec  1 12:29:24 1996
--- mod_userdir.c	Sun Dec  8 19:40:00 1996
***************
*** 142,148 ****
--- 142,153 ----
        if (strchr(userdir, '*'))
      x = getword(r->pool, &userdir, '*');
  
+ #ifdef __EMX__
+       /* Add support for OS/2 drive letters */
+       if ((userdir[0] == '/') || (userdir[1] == ':')) {
+ #else
        if (userdir[0] == '/') {
+ #endif      
      if (x) {
        if (strchr(x, ':')) {
          redirect = pstrcat(r->pool, x, w, userdir, dname, NULL);
*** util_script.c.orig	Sun Dec  1 12:29:32 1996
--- util_script.c	Wed Dec  4 19:43:52 1996
***************
*** 367,373 ****
  }
  
  #ifdef __EMX__
! char **create_argv_cmd(pool *p, char *av0, char *args, char *path) {
      register int x,n;
      char **av;
      char *w;
--- 367,373 ----
  }
  
  #ifdef __EMX__
! char **create_argv_cmd(pool *p, char *av0, const char *args, char
*path) {
      register int x,n;
      char **av;
      char *w;
*** util_script.h.orig	Sun Dec  1 12:29:36 1996
--- util_script.h	Wed Dec  4 19:49:16 1996
***************
*** 52,58 ****
  
  char **create_argv(pool *p, char *av0, const char *args);
  #ifdef __EMX__
! char **create_argv_cmd(pool *p, char *av0, char *args, char *path);
  #endif
  char **create_environment(pool *p, table *t);
  void add_cgi_vars(request_rec *r);
--- 52,58 ----
  
  char **create_argv(pool *p, char *av0, const char *args);
  #ifdef __EMX__
! char **create_argv_cmd(pool *p, char *av0, const char *args, char
*path);
  #endif
  char **create_environment(pool *p, table *t);
  void add_cgi_vars(request_rec *r);


Garey Smiley
SoftLink Services
garey@slink.com
http://www.slink.com/
(330)848-1312 FAX/Data(330)699-4474


Mime
View raw message