Ignore:
Timestamp:
Dec 9, 2010 9:33:08 PM (13 years ago)
Author:
gah
Message:

Fixed race condition reading pdb file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/pymolproxy/pymolproxy.c

    r2002 r2004  
    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.