Bug 485064 - patch: fix getaddrinfo usage
Summary: patch: fix getaddrinfo usage
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: ntp
Version: 11
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-11 13:39 UTC by Sami Farin
Modified: 2009-07-21 11:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-21 11:31:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fix getaddrinfo usage (2.27 KB, patch)
2009-02-11 13:39 UTC, Sami Farin
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Network Time Protocol 1129 0 None None None Never

Description Sami Farin 2009-02-11 13:39:51 UTC
Created attachment 331561 [details]
fix getaddrinfo usage

Description of problem:
in openntp() and init_io(), wrong error is reported because it is assumed errno holds the error value.
also, print correct error in getnetnum().

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Miroslav Lichvar 2009-02-11 14:18:26 UTC
Forwarded to upstream:
https://support.ntp.org/bugs/show_bug.cgi?id=1129

Comment 2 Bug Zapper 2009-06-09 11:16:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Miroslav Lichvar 2009-07-21 11:31:27 UTC
The ntp_intres part of the patch was included in 4.2.4p7. The others seem to be less important, closing as UPSTREAM.


Note You need to log in before you can comment on or make changes to this bug.