char line[BUFSIZ];
FILE *fp;
struct stat statbuf;
- int saw_bb, must_inline;
+ int saw_bb, must_inline, rc;
int lx, ly, ux, uy;
usershape_t *us;
fstat(fileno(fp), &statbuf);
contents = us->data = N_GNEW(statbuf.st_size + 1, char);
fseek(fp, 0, SEEK_SET);
- fread(contents, statbuf.st_size, 1, fp);
+ rc = fread(contents, statbuf.st_size, 1, fp);
contents[statbuf.st_size] = '\0';
fclose(fp);
dtinsert(EPSF_contents, us);
void core_fputs(GVJ_t * job, char *s)
{
- int len;
+ int len, rc;
len = strlen(s);
switch (job->compression) {
#endif
break;
case COMPRESSION_NONE:
- fwrite(s, sizeof(char), (unsigned) len, job->output_file);
+ rc = fwrite(s, sizeof(char), (unsigned) len, job->output_file);
break;
}
}
if WITH_PANGOCAIRO
if WITH_GTK
+noinst_HEADERS = support.h interface.h callbacks.h
noinst_LTLIBRARIES = libgvplugin_gtk_C.la
pkglib_LTLIBRARIES = libgvplugin_gtk.la
endif
libgvplugin_gtk_la_SOURCES = $(libgvplugin_gtk_C_la_SOURCES)
libgvplugin_gtk_la_LIBADD = $(GTK_LIBS) $(GNOMEUI_LIBS)
-EXTRA_DIST = gtk.glade gtk.gladep
+EXTRA_DIST = gtk.glade gtk.gladep