Bug 113948

Summary: [PATCH] Add poll() to qstat
Product: Ports & Packages Reporter: Gary Stanley <gary>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Gary Stanley 2007-06-22 16:50:08 UTC
In qstat.c, we check for USE_POLL, OpenBSD is defined and FreeBSD should be defined as well. This adds poll() support to qstat. 

Patch is tested and works.

before; 
 90741 qstat    CALL  select(0x4,0x807abc0,0,0,0xbfbfea88)
 90741 qstat    RET   select 1

after;
 93117 qstat    CALL  poll(0x8080200,0x1,0x3e8)
 93117 qstat    RET   poll 1

Fix: Patch attached with submission follows:
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2007-06-24 12:09:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danfe

Over to maintainer.
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2007-06-24 16:28:46 UTC
State Changed
From-To: open->closed

Committed (inplace editing instead of a patch), thanks!