Ignore:
Timestamp:
Jun 27, 2019, 12:57:25 PM (5 years ago)
Author:
knut
Message:

Fix problem with the parsing of system environment variables (Windows version). Need to verify that problem does not pertain to non-Windows versions also.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service.c

    r917 r943  
    18091809// zooLogMsg(NULL, getLastErrorMessage());
    18101810// zooLogMsg("log.txt", getLastErrorMessage());
     1811
     1812#ifdef WIN32
     1813#ifndef USE_MS
     1814char *strcasestr (char const *a, char const *b)
     1815  {
     1816    char *x = zStrdup (a);
     1817    char *y = zStrdup (b);
     1818 
     1819      x = _strlwr (x);
     1820      y = _strlwr (y);
     1821    char *pos = strstr (x, y);
     1822    char *ret = pos == NULL ? NULL : (char *) (a + (pos - x));
     1823      free (x);
     1824      free (y);
     1825      return ret;
     1826  };
     1827#else
     1828   ;
     1829#endif
     1830#endif
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png