Bug 723 - "time -l date" fails with a coredump
Summary: "time -l date" fails with a coredump
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: GNATS administrator
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-09-17 06:20 UTC by rcarter
Modified: 1995-10-28 16:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rcarter 1995-09-17 06:20:00 UTC
"time -l date" fails with a coredump

Fix: 

Change ticks from 0 to 1 to avoide divide by zero in time.c
How-To-Repeat: 
rcarter@geli:~ [59] /usr/bin/time -l date
Sat Oct 28 08:41:39 PDT 1995
0.06 real         0.00 user         0.00 sys
0  maximum resident set size
Floating point exception (core dumped)
Comment 1 pst freebsd_committer freebsd_triage 1995-10-28 09:01:25 UTC
State Changed
From-To: open->feedback

Not really a bug? 
Comment 2 pst freebsd_committer freebsd_triage 1995-10-28 16:07:45 UTC
State Changed
From-To: feedback->closed