← Back to team overview

coapp-developers team mailing list archive

Re: I think we'll want to fork gnulib

 

> Sounds interesting from a porting point of view, but are we setting
> ourselves up for a situation a-la Cygwin where we've got a modified
> "layer" sitting underneath our apps?

I think that depends on how far we're willing to go to avoid
modifications to the original source.

The grep I have built uses normal windows filenames, and the
--recursive option did not originally work, returning an "Access
denied" error. This is because directories, when opened like files,
fail with EACCES on windows, and grep expects EISDIR in this case.

If we tried to provide grep with the failure code it expects, I think
that would bring us into compatibility layer territory. Instead, we
should just accept that that's how windows works and modify grep to
account for it.

As long as we're only adding simple replacements for missing features,
used only when needed, and not trying to hide details of Windows from
the software we build, I think we'll be OK.


Follow ups

References