Bug 31859

Summary: jot(1) broken on alpha
Product: Base System Reporter: Paul Herman <pherman>
Component: alphaAssignee: freebsd-alpha (Nobody) <alpha>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Paul Herman 2001-11-08 20:20:03 UTC
jot -r is broken on alpha, and most likely other 64-bit
platforms.  This is becuase jot assumes that arc4random()
outputs a long rather than int.

Fix: Manpage for arc4random() specifies a u_int32 as output, and NOT
a u_long.  Patch against 4.4-RELEASE:
How-To-Repeat:  
  12:14:43{{ttyq6}pherman@tick}/usr/src/usr.bin/jot//> jot -r 5
  1
  1
  1
  1
  1
Comment 1 Andrew Gallatin freebsd_committer freebsd_triage 2001-11-08 20:50:08 UTC
State Changed
From-To: open->closed

I just fixed this in current using the submitted patch.