FreeBSD Bugzilla – Attachment 17560 Details for
Bug 31859
jot(1) broken on alpha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 715 bytes, created by
Paul Herman
on 2001-11-08 20:20:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Paul Herman
Created:
2001-11-08 20:20:03 UTC
Size:
715 bytes
patch
obsolete
>Index: jot.c >=================================================================== >RCS file: /home/ncvs/src/usr.bin/jot/jot.c,v >retrieving revision 1.13.2.2 >diff -u -r1.13.2.2 jot.c >--- jot.c 2001/07/19 07:57:42 1.13.2.2 >+++ jot.c 2001/11/08 20:07:38 >@@ -277,7 +277,7 @@ > if (randomize) { > *x = (ender - begin) * (ender > begin ? 1 : -1); > for (*i = 1; *i <= reps || infinity; (*i)++) { >- *y = arc4random() / (double)ULONG_MAX; >+ *y = arc4random() / (double)UINT_MAX; > if (putdata(*y * *x + begin, reps - *i)) > errx(1, "range error in conversion"); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31859
: 17560