Index: trunk/doc/TODO =================================================================== --- trunk/doc/TODO (revision 30820) +++ trunk/doc/TODO (revision 30821) @@ -3,6 +3,7 @@ 1. For the upcoming release =============================================================================== + CLEANUP: CAM: in ~2020: remove the hackish gerber layer suffix and auto-excellon in favor of CAM [report: Ade] + CLEANUP/BUG: bug_files/gtk_transient.txt: add config options on how gtk transient-for and (a new) raise should work [report: Joe, Bdale] +- TEST: footprints are open as binary file now (fopen's "b") - check on win32 if this breaks anything with any of our footprint formats 2. For later releases =============================================================================== - CLEANUP: remove the donut rats special casing Index: trunk/src_plugins/fp_fs/fp_fs.c =================================================================== --- trunk/src_plugins/fp_fs/fp_fs.c (revision 30820) +++ trunk/src_plugins/fp_fs/fp_fs.c (revision 30821) @@ -415,11 +415,11 @@ #endif /*fprintf(stderr, " cmd=%s\n", cmd);*/ fctx->field[F_TMPNAME].p = pcb_tempfile_name_new("pcb-rnd-pfp"); - f = pcb_fopen(&PCB->hidlib, (char *)fctx->field[F_TMPNAME].p, "w+"); + f = pcb_fopen(&PCB->hidlib, (char *)fctx->field[F_TMPNAME].p, "wb+"); if (f != NULL) { char buff[4096]; int len; - fp = pcb_popen(&PCB->hidlib, cmd, "r"); + fp = pcb_popen(&PCB->hidlib, cmd, "rb"); while((len = fread(buff, 1, sizeof(buff), fp)) > 0) fwrite(buff, 1, len, f); pcb_pclose(fp); @@ -428,7 +428,7 @@ free(cmd); } else - f = pcb_fopen(&PCB->hidlib, fullname, "r"); + f = pcb_fopen(&PCB->hidlib, fullname, "rb"); free(fullname); } Index: trunk/src_plugins/fp_wget/wget_common.c =================================================================== --- trunk/src_plugins/fp_wget/wget_common.c (revision 30820) +++ trunk/src_plugins/fp_wget/wget_common.c (revision 30821) @@ -103,7 +103,7 @@ } if (f != NULL) { sprintf(cmd, "%s/%s", cache_path, cdir); - *f = pcb_fopen(NULL, cmd, "r"); + *f = pcb_fopen(NULL, cmd, "rb"); if (*f == NULL) goto error; *fctx = FCTX_FOPEN;