Ignore:
Timestamp:
Jan 9, 2019, 4:11:59 PM (5 years ago)
Author:
djay
Message:

Make this ZOO-Kernel working properly on windows platform again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/prototype-v0/zoo-project/zoo-kernel/request_parser.c

    r880 r890  
    154154      addToMap(cursor->content,"base64_value",tmp->value);
    155155      int size=0;
    156       char *s=strdup(tmp->value);
     156      char *s=zStrdup(tmp->value);
    157157      free(tmp->value);
    158158      tmp->value=base64d(s,strlen(s),&size);
     
    174174          addToMap(cursor->content,key,tmp->value);
    175175          int size=0;
    176           char *s=strdup(tmp->value);
     176          char *s=zStrdup(tmp->value);
    177177          free(tmp->value);
    178178          tmp->value=base64d(s,strlen(s),&size);
     
    795795#endif
    796796                                bInternet.waitingRequests[0] =
    797                                   strdup ((char *) val);
     797                                  zStrdup ((char *) val);
    798798                                res1 =
    799799                                  InternetOpenUrl (&bInternet,
     
    18061806#endif
    18071807                  targetFile =
    1808                     open (storageNameOnServer, O_RDWR | O_CREAT | O_TRUNC,
     1808                    zOpen (storageNameOnServer, O_RDWR | O_CREAT | O_TRUNC,
    18091809                          S_IRWXU | S_IRGRP | S_IROTH);
    18101810                  if (targetFile < 0)
     
    18261826                  addToMap (tmpReqI->content, "lref", storageNameOnServer);
    18271827                  cgiFormFileClose (file);
    1828                   close (targetFile);
     1828                  zClose (targetFile);
    18291829                  free(fileNameOnServer);
    18301830                  free(storageNameOnServer);
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