Although it's already the defult behavious, jot should acces "-p 0" as a valid precision

Bug #661542 reported by Dave
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
athena-jot (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: athena-jot

It's a simple fix to the getargs function to allow the command line setting for 0 digits of precision (which I know is the default behavior without the command line arg).

diff jot.c.orig jot.c

< if (prec <= 0)
---
> if (prec < 0)

Revision history for this message
Dave (dlgawley) wrote :

OK so I'm going for coffee now. Change title "acces" to "allow"

and the diff should of had the line numbers attached!

# diff jot.c.orig jot.c
172c179
< if (prec <= 0)
---
> if (prec < 0)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.