Ignore:
Timestamp:
May 27, 2014, 4:05:49 PM (10 years ago)
Author:
djay
Message:

Fix issue on win32 platform for Python support. Remove dirent.obj dependency from utils/status service. readVSIFile defined when MapServer? is not activated.

File:
1 edited

Legend:

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

    r476 r478  
    2626#ifdef USE_MS
    2727#include "service_internal_ms.h"
     28#else
     29#include "cpl_vsi.h"
    2830#endif
    2931
     
    165167    i++;
    166168  }
     169#ifdef DEBUG
    167170  fprintf(stderr,"READING STRING S %s\n",lpszBuf);
     171#endif
    168172  return (char*)lpszBuf;
    169173}
     
    29402944  tmpMap->value=(char*)malloc((fsize+1)*sizeof(char));
    29412945  if(tmpMap->value==NULL)
    2942     fprintf(stderr,"Unable to allocate memory!\n");
     2946    return errorException(*m, _("Unable to allocate memory."), "InternalError",NULL);
    29432947  //snprintf(tmpMap->value,(fsize+1)*sizeof(char),fcontent);
    29442948  memcpy(tmpMap->value,fcontent,(fsize+1)*sizeof(char));
     
    29712975}
    29722976
    2973 #ifdef USE_MS
    29742977char *readVSIFile(maps* conf,const char* dataSource){
    29752978    VSILFILE * fichier=VSIFOpenL(dataSource,"rb");
     
    29892992    return res1;
    29902993}
    2991 #endif
    29922994
    29932995void parseIdentifier(maps* conf,char* conf_dir,char *identifier,char* buffer){
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