randy       97/06/16 08:16:29

  Modified:    src/modules/proxy  proxy_util.c
  Log:
  Portability for threading missed in first cut.
  
  Revision  Changes    Path
  1.19      +3 -3      apache/src/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/modules/proxy/proxy_util.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -C3 -r1.18 -r1.19
  *** proxy_util.c      1997/06/15 19:22:49     1.18
  --- proxy_util.c      1997/06/16 15:16:28     1.19
  ***************
  *** 766,774 ****
    {
        int i;
        struct hostent *hp;
  !     static __declspec( thread ) struct hostent hpbuf;
  !     static __declspec( thread ) u_long ipaddr;
  !     static __declspec( thread ) char* charpbuf[2];
    
        for (i=0; host[i] != '\0'; i++)
        if (!isdigit(host[i]) && host[i] != '.')
  --- 766,774 ----
    {
        int i;
        struct hostent *hp;
  !     static APACHE_TLS struct hostent hpbuf;
  !     static APACHE_TLS u_long ipaddr;
  !     static APACHE_TLS char* charpbuf[2];
    
        for (i=0; host[i] != '\0'; i++)
        if (!isdigit(host[i]) && host[i] != '.')
  
  
  

Reply via email to