I have created a patch for crontab.c which adds a warning if there is no newline at the end of the file. I have followed the original author's example of generating a diagnostic if any file function breaks.
Please consider integrating upstream. ** Attachment added: "Add warning if there is no newline at end of file, resulting in crontab being ignored." http://launchpadlibrarian.net/17195330/crontab.c.diff -- Crontab accepts files with no newline before EOL/EOF. Cron ignores file https://bugs.launchpad.net/bugs/118168 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs