"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "contrib/uiuc/plugins/molfile_plugin/src/corplugin.c" between
pymol-open-source-2.2.0.tar.gz and pymol-open-source-2.3.0.tar.gz

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

corplugin.c  (pymol-open-source-2.2.0):corplugin.c  (pymol-open-source-2.3.0)
skipping to change at line 129 skipping to change at line 129
} }
/* Read and discard the header */ /* Read and discard the header */
do { do {
if (fgets(inbuf, COR_RECORD_LENGTH+1, f) == NULL) { if (fgets(inbuf, COR_RECORD_LENGTH+1, f) == NULL) {
fclose(f); fclose(f);
printf("corplugin) Error opening file: cannot read line.\n"); printf("corplugin) Error opening file: cannot read line.\n");
return NULL; return NULL;
} }
if (sscanf(inbuf, "%10c", header) != 1) { if (sscanf(inbuf, "%10s", header) != 1) {
fclose(f); fclose(f);
printf("corplugin) Error opening file: improperly formatted line.\n"); printf("corplugin) Error opening file: improperly formatted line.\n");
return NULL; return NULL;
} }
} while (header[0]=='*'); } while (header[0]=='*');
/* check for EXT keyword */ /* check for EXT keyword */
*iofoext = 0 ; *iofoext = 0 ;
if (strstr(inbuf,"EXT") != NULL) if (strstr(inbuf,"EXT") != NULL)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)