Thank you for your bug report, but the bug is actually in your code ;) On a 64-bit machine an int is still 32-bit but size_t is 64-bit, and that's the cause of your problem. Try using "size_t maxlinelength;" instead.
If you follow the man page for getline() and define _GNU_SOURCE you will get a warning about incompatible pointer type. ** Changed in: ubuntu Status: New => Invalid -- getline (C stdio.h) behaves incorrectly on 64 bit hardy/intrepid https://bugs.launchpad.net/bugs/365036 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