Removed use of fgets() to read files and gerb_file approved file operations.
commitab14800b9333cb2ad5841771b6a76503d9beccdd
authorStefan Petersen <spe@stacken.kth.se>
Fri, 14 Aug 2009 22:05:03 +0000 (15 00:05 +0200)
committerStefan Petersen <spe@stacken.kth.se>
Thu, 20 Aug 2009 07:04:46 +0000 (20 09:04 +0200)
tree1beeb212a67cbe2f476367a2402417cff99cb0fe
parent4d78d66b9d82ece00377ded7ef5ed61d08a818b8
Removed use of fgets() to read files and gerb_file approved file operations.

When reading from zip archive the fd->fd does not really exist, so we can't
use operations on fd->fd. But instead we can use that gerb_fopen already
has the complete file read in and stored.
Also sprinkled with some more dprintf()'s
src/drill.c
src/gerber.c
src/pick-and-place.c