This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Is that OK to borrow code from coreutils?
- From: Joe Buck <Joe dot Buck at synopsys dot COM>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, GCC <gcc at gcc dot gnu dot org>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, FX <fxcoudert at gmail dot com>
- Date: Wed, 9 Jul 2008 13:59:01 -0700
- Subject: Re: Is that OK to borrow code from coreutils?
- References: <6dc9ffc80807091307g40114fcfk55ae9b859bd7821b@mail.gmail.com> <20080709201743.GR12539@synopsys.com> <6dc9ffc80807091324u18a992f4p1fbb5ed2d95524e7@mail.gmail.com> <20080709205227.GA30739@troutmask.apl.washington.edu>
On Wed, Jul 09, 2008 at 01:52:27PM -0700, Steve Kargl wrote:
> On Wed, Jul 09, 2008 at 01:24:44PM -0700, H.J. Lu wrote:
> > On Wed, Jul 9, 2008 at 1:17 PM, Joe Buck <Joe.Buck@synopsys.com> wrote:
> > > On Wed, Jul 09, 2008 at 01:07:10PM -0700, H.J. Lu wrote:
> > >> libgfortran calls fork/exec /bin/chmod to parse argument to chmod.
> > >> Is that OK to borrow code from coreutils which implements /bin/chmod
> > >> to properly implement chmod? coreutils is under GPLv3 while libgfortran
> > >> is under GPLv2 + exception. Is that possible to get permission from
> > >> the FSF to borrow code from coreutils?
> > >
> > > If the consensus of the Fortran maintainers is that this is the right
> > > thing to do, the SC can ask the FSF for permission.
> > >
> >
> > I don't know if this counts:
> >
> > http://gcc.gnu.org/ml/fortran/2008-07/msg00046.html
> >
>
> Do you have an application that shows that the current
> implementation of chmod() is a bottleneck?
Yes, this might be a case of "if it ain't broke, don't fix it".