[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <dirent> functions under MinGW

From: Bob Friesenhahn
Subject: Re: <dirent> functions under MinGW
Date: Wed, 16 Mar 2005 19:52:23 -0600 (CST)

On Thu, 17 Mar 2005, Tor Lillqvist wrote:

Bob Friesenhahn writes:
> It turns out that the <dirent> related functionality provided with
> MinGW is hoisted from Cygwin.  As such, it has GPL restrictions.

Errr, certainly not. Maybe you are thinking of the dirent
implementation in MSYS? MSYS *is* a fork of Cygwin. MSYS is an
environment for a configure shell script and the tools it
invokes. When you develop software with mingw and MSYS, the produced
binaries in no way use MSYS.

Yes, I am talking about building using MSYS. When I build using MSYS this <sys/dirent.h> is used:

/* Posix dirent.h for WIN32.

   Copyright 2001 Red Hat, Inc.

   This software is a copyrighted work licensed under the terms of the
   Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
   details. */

/* Including this file should not require any Windows headers.  */

Which means that unsuspecting programs built under MSYS (e.g. libltdl) may end up being GPLed by accident when it was assumed that only GPL-free MINGW headers/libraries were used.

Bob Friesenhahn
GraphicsMagick Maintainer,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]