Skip to content
Snippets Groups Projects
  1. Jun 24, 2019
  2. Mar 14, 2017
  3. Mar 22, 2016
  4. Feb 04, 2016
  5. Aug 24, 2014
  6. Apr 28, 2014
  7. Oct 05, 2013
  8. Jan 19, 2013
  9. Jan 12, 2013
  10. Feb 09, 2011
    • Mike Frysinger's avatar
      user: speed up init_paths a bit · 2296f194
      Mike Frysinger authored
      
      The current init_paths code will attempt to opendir() every single file it
      finds.  This can obviously generated a huge number of syscalls with even a
      moderately small sysroot that will fail.  Since the readdir() call provides
      the file type in the struct itself, use it.  On my system, this prevents
      over 1000 syscalls from being made at every invocation of a target binary,
      and I only have a C library installed.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      Signed-off-by: default avatarRiku Voipio <riku.voipio@nokia.com>
      2296f194
  11. Dec 25, 2009
  12. Aug 15, 2009
  13. Oct 26, 2008
  14. Jun 03, 2008
  15. Jun 17, 2007
  16. Sep 13, 2004
  17. Apr 11, 2003
Loading