[dvblast-devel] tiny bug on platform where char is unsigned

Marian Ďurkovič md at bts.sk
Mon Oct 19 13:46:24 CEST 2009


On Mon, Oct 19, 2009 at 12:16:25PM +0100, Andy Gatward wrote:
> On 19/10/2009 12:07, "Marian Ďurkovič" <md at bts.sk> wrote:
> 
> > I believe we should change it to int. From "man 3 getopt":
> 
> Revised patch (against SVN trunk) attached.  Lunch time now!

Just a small change - I replaced (int)EOF with -1 according to manpage
(EOF is defined in different header and hence not supposed here)

Patch attached.

   With kind regards,

      M.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvblast-r24-getopt-int.patch
Type: text/x-diff
Size: 555 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/dvblast-devel/attachments/20091019/27bc372d/attachment.patch>


More information about the dvblast-devel mailing list