Mike Frysinger wrote: > This patch basically copies the gnulib version of memmem() into > scripts/kallsyms.c. While a useful function, it isn't in POSIX so some > systems (like Darwin) choose to omit it. How do others feel ? Well, the only use of memmem in scripts/kallsyms.c is to find tokens of size 2, so we can use a simplified version instead (and probably get better code in the process). How about the attached patch instead? If you approve it, I'll post it appropriately for inclusion in -mm. -- Paulo Marques - www.grupopie.com "God is real, unless declared integer."