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

Rafaël Carré funman at videolan.org
Tue Oct 15 15:35:25 CEST 2013


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?


More information about the x265-devel mailing list