Re: foomatic-rip and foo2zjs

2014-04-26 Thread Boris Samorodov
26.04.2014 02:16, Robert Backhaus пишет: > On 26 April 2014 02:41, Wolfgang Jenkner > wrote: > > On Fri, Apr 25 2014, Boris Samorodov wrote: > > >> Am 25.04.2014 um 15:20 schrieb Robert Backhaus >: > >> > >>> int fd = mkste

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Robert Backhaus
Yes, sorry. I got this wrong. The fix upstream has been to stop using mkstemp, and switch to using sprintf directly. http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7196 On 26 April 2014 02:41, Wolfgang Jenkner wrote: > On Fri, Apr 25 2014, Boris Samorodov wrote:

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Wolfgang Jenkner
On Fri, Apr 25 2014, Boris Samorodov wrote: >> Am 25.04.2014 um 15:20 schrieb Robert Backhaus : >> >>> int fd = mkstemp (LOG_FILE "-XX.log"); - checked, edited, built - Yup, >>> that's it. Here's the patch: I think the problem is simply that mkstemp(3) requires an argument with /trailing/ X

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Boris Samorodov
25.04.2014 19:35, Stefan Bethke пишет: > Am 25.04.2014 um 15:20 schrieb Robert Backhaus : > >> Anyway, here's a backtrace: - but the pointed line, 1200, just looks wrong - >> >> int fd = mkstemp (LOG_FILE "-XX.log"); - checked, edited, built - Yup, >> that's it. Here's the patch: >> >> --- f

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Stefan Bethke
Am 25.04.2014 um 15:20 schrieb Robert Backhaus : > Anyway, here's a backtrace: - but the pointed line, 1200, just looks wrong - > > int fd = mkstemp (LOG_FILE "-XX.log"); - checked, edited, built - Yup, > that's it. Here's the patch: > > --- foomaticrip.c.orig 2014-04-25 23:16:06.

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Boris Samorodov
25.04.2014 17:20, Robert Backhaus пишет: > I had the foomatic-rip problem today, but didn't think of this- even though > I read it yesterday. I found it myself by running it in gdb, seeing it had > something to do with logging, and turning off debug. > > Anyway, here's a backtrace: - but the poin

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Robert Backhaus
I had the foomatic-rip problem today, but didn't think of this- even though I read it yesterday. I found it myself by running it in gdb, seeing it had something to do with logging, and turning off debug. Anyway, here's a backtrace: - but the pointed line, 1200, just looks wrong - int fd = mkstemp

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Boris Samorodov
23.04.2014 00:23, Stefan Bethke пишет: > Two quick observations I’m too lazy to file PRs for: > > foomatic-rip (from foomatic-filters-4.0.17) coredumps if you set debug: 1 in > /usr/local/etc/foomatic/filter.conf. I haven’t checked what is going wrong > specifically. It is possible to run foomat

foomatic-rip and foo2zjs

2014-04-22 Thread Stefan Bethke
Two quick observations I’m too lazy to file PRs for: foomatic-rip (from foomatic-filters-4.0.17) coredumps if you set debug: 1 in /usr/local/etc/foomatic/filter.conf. I haven’t checked what is going wrong specifically. It is possible to run foomatic-rip form the command line with -v and with de