[SM-Discuss] date segfaulting!
Damien Mascord
tusker at tusker.org
Tue Nov 19 23:31:57 EST 2002
Seems as though there is probably a small bug of not closing the file
descriptor:
2.0.11 -
write(1, "2 day ago\n", 10) = 10
close(1) = 0
munmap(0x40014000, 4096) = 0
_exit(0) = ?
2.0
write(1, "2 day ago\n", 10) = 10
munmap(0x40014000, 4096) = 0
_exit(0) = ?
Damien
At 12:24 PM 20/11/2002 +0800, you wrote:
>Heya guys,
>
>For some reason date is segfaulting when trying to parse dates from a file:
>
>echo "2 day ago" | date -f-
>
>Mon Nov 18 20:25:02 SGT 2002
>Segmentation fault
>
>Very weird thing. a strace doesn't seem to do anything too wrong.
>
>I am running "date (GNU sh-utils) 2.0", though trying the same thing on a
>different box (running debian) on "date (GNU sh-utils) 2.0.11" doesn't
>segfault.
>
>Perhaps upgrading sh-utils is in order?
>
>Damien
>
>
>_______________________________________________
>SM-Discuss mailing list
>SM-Discuss at lists.ibiblio.org
>http://lists.ibiblio.org/mailman/listinfo/sm-discuss
More information about the SM-Discuss
mailing list