Originally reported on Google Code with ID 52
In issue #20 I added support for getopt short options for Windows. In order to get the
tests running under Windows I need support for the longopt options too.
I've found an implementation of getopt_long which seems suit our needs in PostgreSQL:
http://www.google.com/codesearch#NNmaNPDfY7U/src/port/getopt_long.c
I believe it has a compatible license:
http://wiki.postgresql.org/wiki/FAQ#What_is_the_license_of_PostgreSQL.3F
I've attached a patch which makes use of this implementation. Provided that there are
no problems with the PostgreSQL license, would it be ok to move the Windows implementation
over to this version?
Cheers,
Paul
Reported by paul.holden on 2011-07-16 14:31:13
- Attachment: postgresql_getopt_long.patch
该提问来源于开源项目:include-what-you-use/include-what-you-use