-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Karl Berry wrote:
> Subject: [bug-gnulib] New GNULIB glob module? > >Would it be possible to simply use the libc code as-is? I guess I mean, >with whatever changes are needed sent back to libc. > >So much stuff in gnulib is 95% the same as libc. It doesn't seem good. Well, like I said, a bunch of the cruft I cut out could be removed because it was much simpler to depend on other GNULIB modules. The alternative would have been to add a bunch of tests to detect the things that were being switched on, and I expect would have been much more complicated since those problems have already been solved in the GNULIB modules the file now references and I would have had to test the new tests... To have libc use the same code, it would be best if they imported the GNULIB modules my new glob depends on and then reimported my glob files. We might have to find a slightly better compromise on the header file since I'm not sure that all the assumptions I made there that are valid with GNULIB would be valid at run time for other programs expecting only glibc. (Glancing back at the header file now, it looks like I did a few things that should be undone/fixed anyhow. I reviewed my changes to glob.c more thoroughly, but I disabled a few things in glob.h like the 64 bit file offsets, intending to revisit the issue later. I don't know all the issues involved there... what's "__REDIRECT_NTH" and why does it break in my compiler? I was hoping someone else might be able to deal with that more quickly than I, but most of the rest of my changes should be valid and useful as/in the port to GNULIB...) Regards, Derek -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCgoiULD1OTBfyMaQRApY+AJ9VsOAvoa3endmyHCxT1ai/+Nch4ACfWAye yXShaWGtcwczl045kRTY7G4= =Wf8s -----END PGP SIGNATURE----- _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib