Remove foo from .gitignore
Use FILENAME_MAX with file name arrays (C11 standard)