-- cups-filters-1.0.53/filter/foomatic-rip/foomaticrip.c
++ cups-filters-1.0.53-uclibc/filter/foomatic-rip/foomaticrip.c
debug = 1;
if (debug) {
#ifdef __UCLIBC__
sprintf(tmp, "%s-log-XXXXXX", LOG_FILE);
int fd = mkstemp (tmp);
#else
sprintf(tmp, "%s-XXXXXX.log", LOG_FILE);
int fd = mkstemps (tmp, 4);
#endif
if (fd != -1)
logh = fdopen(fd, "w");
else