> Hmm, can someone check the LGPL header src/scandir.c? > > While doing the LGPL header mods for STR #2685, > I noticed this file appears to be part of the GNU C > Library, which may not be compat with the FLTK > static LGPL exception. > > This code might need to be re-written.
Hmm, that's odd, I'd never spotted that before. I don't know the origin, but it may well be from the GNU C lib - though it has certainly been adapted for our use. Which hosts actually use that file, I wonder? Not win32, it has it's own hook in scandir_win32.c that has a fltk header on it, and fl_scandir() (which "our" scandir.c creates) is actually only used in filename_list.cxx so far as I can tell. Elsewhere in the code we just use scandir() from the system libs directly. I wonder why we create our own scandir copy only for use in filename_list.cxx ? Oh, take that back, filename_list is the *only* place we use scandir of any sort at all... So... I wonder if we need this at all? WinXX hosts probably need it (though not cygwin or possibly mingw I suspect) but have their own host-specific version, but are there other hosts that don't provide a scandir implementation? AFAICT that would be the only case where this code came into play, i.e. on non-WinXX host for which configure could not locate a scandir implementation at build time... SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
