[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Small bug in swfcombine.c (incl. patch)
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] Small bug in swfcombine.c (incl. patch) |
Date: |
Thu, 5 Aug 2010 09:48:19 -0700 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Wed, Aug 04, 2010 at 02:33:11PM +0100, Oliver Smith <address@hidden> wrote:
> First off, thanks to the developers of swftools for such a useful set of
> utilities!
>
> I've found a small bug in swfcombine.c -- it's not correctly checking the
> return value from open(), so
> occasionally it will complain that it's unable to open a file, even if it's
> successfully opened it.
>
> Patch for the fix below. This was a real head-scratcher to track down. Hope
> it's useful!
Thanks! I'll apply this.
Btw. what kind of operating system do you have that occasionally assigns to the
zero file descriptor?
Matthias