This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Release of the <sys/ipc.h> and <sys/shm.h> files


"Christopher Faylor" <cgf@redhat.com> wrote:
> If the files shouldn't be included in the distribution, they either
> shouldn't be in the repository or they should be protected against
> accidental use.

My preference would be to exclude them from the distribution.  People
already have to edit <sys/types.h> and "cygwin.din" then re-build;
asking them to fetch the header files from CVS isn't too great an
extra effort for the moment.  The problem with that is that there is
code in the DLL now that requires those headers, so they're needed to
build the DLL.  So, removing the headers would imply removing all the
cygserver shm code too.

Perhaps someone can come up with a better (i.e. easier) solution than
such wholesale removal.  Maybe, as you suggest, some sort of
protection: a USE_EXPERIMENTAL_CYGWIN_FEATURES flag (or something
better named, of course :-)) that is needed to use the headers; that
could then be defined for the DLL and cygserver builds, but not
otherwise.

// Conrad




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]