[x265] [PATCH] getopt: grab an unambiguously LGPL version of getopt

Steve Borho steve at borho.org
Thu Oct 17 02:31:39 CEST 2013


On Tue, Oct 15, 2013 at 8:35 AM, Rafaël Carré <funman at videolan.org> wrote:

> Hi Steve,
>
> Le 14/10/2013 20:55, Steve Borho a écrit :
> > # HG changeset patch
> > # User Steve Borho <steve at borho.org>
> > # Date 1381776922 18000
> > #      Mon Oct 14 13:55:22 2013 -0500
> > # Node ID b6cca1b1a9b700a8ffc316f3186dbf10bc1149cc
> > # Parent  abae6903e0af0d9940bb734ba34dff6928d72e61
> > getopt: grab an unambiguously LGPL version of getopt
> >
> > Found at: https://github.com/Tietew/mediawiki-xml2sql/tree/master/getopt
> >
> > The only change made was to move getopt_long() into getopt.c from
> getopt1.c
>
> Why not take it directly from upstream?
>
> https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/getopt.c;hb=HEAD
> https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/getopt.h;hb=HEAD
>
> Does this version has MSVC specific changes?
>

Yeah, as it turned out these upstream files won't build on MSVC without
substantial work; which defeats the purpose for why we're borrowing them.

-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131016/2c894ae7/attachment.html>


More information about the x265-devel mailing list