Re: [PATCH 09/11] Add MSVC porting header files.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 18, 2009, 10:42 UTC
- Message-ID
- <7v4os5jtd9.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <alpine.DEB.1.00.0908181140460.4680@intel-tinevez-2-302>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 15 quoted lines
> Hi, > > On Tue, 18 Aug 2009, Frank Li wrote: > >> >> Add unix head file, dirent.h, unistd.h and time.h >> > >> > These are copied from somewhere. From where? What is the license? >> >> It comes from msys, which used to build msysgit. > > I know. After reading the patch. But it would be better if everybody > knew after reading the commit message... _Especially_ in this > increasingly lawsuit-defined business, it is very nice to see early that > the files you are including here are in the public domain, and come from > MSys.
And there was this line in the snarfed file:
* No warranty is given; refer to the file DISCLAIMER within the package.
but there no DISCLAIMER file (perhaps a separate patch added it, but I somehow doubt it).
Show 7 quoted lines
> As I said earlier, there are common flags, but as I also said, it is > probably better to keep the #define's in a header file for better > visibility and editability, albeit in logically clustered blocks (i.e. all > the NO_* and other #define's that affect what source code is > compiled, all default paths in another cluster, #define's to bow before > Microsoft's C runtime's decision to deprecate the C99 standard function > names, etc)
... and that can live in a separate header file to reduce clutter and shield people who do not need to look at MSC related code, no?