Changeset 255 for trunk/zoo-kernel


Ignore:
Timestamp:
Jul 14, 2011, 2:46:27 PM (13 years ago)
Author:
djay
Message:

Bug fix in shared memory gesture. Add test.sh shell script to run tests for the utils/status services (both longProcess and GetStatus?).

File:
1 edited

Legend:

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

    r254 r255  
    173173}
    174174#else
     175
    175176void unhandleStatus(maps *conf){
    176177  int shmid,i;
     
    209210    if ((shmid = shmget(key, SHMSZ, IPC_CREAT | 0666)) < 0) {
    210211#ifdef DEBUG
    211       fprintf(stderr,"shmget failed to update value\n");
     212      fprintf(stderr,"shmget failed to create new Shared memory segment\n");
    212213#endif
    213214    }else{
     
    220221        tmpMap=getMapFromMaps(conf,"lenv","status");
    221222        s1=shm;
    222         for(s=tmpMap->value;s!=NULL;s++)
     223        for(s=tmpMap->value;*s!=NULL && *s!=0;s++){
    223224          *s1++=*s;
     225        }
     226        *s1=NULL;
    224227        shmdt((void *)shm);
    225228      }
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