Changeset 2003


Ignore:
Timestamp:
Dec 9, 2010, 9:32:55 PM (14 years ago)
Author:
gah
Message:

Fixed race condition reading pdb file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/packages/vizservers/pymolproxy/pymolproxy.c

    r2001 r2003  
    9696
    9797static FILE *flog;
    98 static int debug = TRUE;
     98static int debug = FALSE;
    9999static FILE *scriptFile;
    100100static int savescript = FALSE;
     
    375375
    376376    sprintf(cmd, "/bin/rm -rf /tmp/pymol%d", getpid());
    377     system(cmd);
     377    if (system(cmd) < 0) {
     378        trace("can't delete tmp directory: %s\n", strerror(errno));
     379    }
    378380}
    379381
Note: See TracChangeset for help on using the changeset viewer.