Bug 78357

Summary: [patch] getaddrinfo(3)'s AI_ADDRCONFIG not documented
Product: Documentation Reporter: Matthias Andree <matthias.andree>
Component: Books & ArticlesAssignee: Remko Lodder <remko>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
libc-net-getaddrinfo.3.diff none

Description Matthias Andree 2005-03-03 11:50:13 UTC
IEEE Std 1003.1-2001 specifies several ai_flags for the getaddrinfo
hints that FreeBSD doesn't appear to support, among them AI_ADDRCONFIG.
Comment 1 Matthias Andree 2005-03-03 22:29:45 UTC
This problem appears to be in fact a documentation bug, netdb.h defines
AI_ADDRCONFIG, but the manual page of getaddrinfo doesn't document it.
Comment 2 Stefan Farfeleder freebsd_committer freebsd_triage 2005-08-22 21:05:55 UTC
Responsible Changed
From-To: freebsd-standards->docs

Adjust synopsis and assign to docs.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2005-08-31 07:17:08 UTC
Responsible Changed
From-To: docs->freebsd-doc

Canonicalize assignment.
Comment 4 Sam Lawrance freebsd_committer freebsd_triage 2006-11-04 10:19:13 UTC
Responsible Changed
From-To: freebsd-doc->lawrance

This is something I can look into.
Comment 5 Sam Lawrance freebsd_committer freebsd_triage 2007-02-21 11:11:57 UTC
Responsible Changed
From-To: lawrance->freebsd-doc

Release; I'm not working on it
Comment 6 Jeroen Ruigrok van der Werven 2007-05-17 10:47:37 UTC
Attached a patch to document the missing ai_flags. I verified this against the
current code in CURRENT and it seems to match up.

Updated the standards section to point to POSIX.1:2004.

For the text of the added AI_* ai_flags I used the standards' text, adjusted
in some places to fit the use of the current text (bit instead of flag).

The manual page needs more work, but this is a start at least.

Please prefix [patch] for the PR's synopsis.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
ã¤ã§ã«ã¼ã³ ã©ã¦ãã­ã㯠ã´ã¡ã³ ãã« ã¦ã§ã«ã´ã§ã³
http://www.in-nomine.org/ | http://www.rangaku.org/
The Wheels of Life, they turn, ..., without me...
Comment 7 Remko Lodder freebsd_committer freebsd_triage 2007-05-17 11:43:57 UTC
Responsible Changed
From-To: freebsd-doc->remko

I'll handle this
Comment 8 dfilter service freebsd_committer freebsd_triage 2007-06-06 20:24:09 UTC
remko       2007-06-06 19:24:02 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/net         getaddrinfo.3 
  Log:
  Document getaddrinfo(3)'s AI_ADDRCONFIG
  
  PR:             docs/78357
  Submitted by:   Matthias Andree <matthias dot andree at gmx dot de>
  Patch by:       asmodai
  MFC after:      1 week
  
  Revision  Changes    Path
  1.33      +67 -6     src/lib/libc/net/getaddrinfo.3
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 9 Remko Lodder freebsd_committer freebsd_triage 2007-06-06 20:24:22 UTC
State Changed
From-To: open->patched

Committed to -HEAD, MFC in a week (or so)
Comment 10 Remko Lodder freebsd_committer freebsd_triage 2007-11-11 11:57:28 UTC
State Changed
From-To: patched->closed

This is now in RELENG_6, RELENG_7 and CURRENT, thanks for the submission
Comment 11 dfilter service freebsd_committer freebsd_triage 2007-11-11 11:57:28 UTC
remko       2007-11-11 11:57:11 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    lib/libc/net         getaddrinfo.3 
  Log:
  MFC rev 1.33 getaddrinfo.3
  
    Document getaddrinfo(3)'s AI_ADDRCONFIG
  
    PR: docs/78357
    Submitted by: Matthias Andree <matthias dot andree at gmx dot de>
    Patch by: asmodai
  
  Revision  Changes    Path
  1.32.2.1  +67 -6     src/lib/libc/net/getaddrinfo.3
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"