Bug 113948 - [PATCH] Add poll() to qstat
Summary: [PATCH] Add poll() to qstat
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-22 16:50 UTC by Gary Stanley
Modified: 2007-06-24 16:29 UTC (History)
0 users

See Also:


Attachments
file.diff (289 bytes, patch)
2007-06-22 16:50 UTC, Gary Stanley
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!