* [bug #32439] Bug in Bind on Mac OS X
@ 2011-02-12 20:37 anonymous
2011-02-13 21:08 ` Andy Wingo
0 siblings, 1 reply; 2+ messages in thread
From: anonymous @ 2011-02-12 20:37 UTC (permalink / raw)
To: bug-guile
URL:
<http://savannah.gnu.org/bugs/?32439>
Summary: Bug in Bind on Mac OS X
Project: Guile
Submitted by: None
Submitted on: Sat 12 Feb 2011 08:37:07 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Running
(define addr (inet-aton "127.0.0.1")) ; get internal
representation of 127.0.0.1
(define sockaddr (make-socket-address AF_INET addr 8080)) ; make a struct
sockaddr
(define sock (socket PF_INET SOCK_STREAM 0)) ; make a socket
(bind sock sockaddr) ; bind the socket
to the address
on Mac OS X produces the error "bind: can't assign requested address".
Unfortunately, a comparable Python program does not produce an error, so it's
probably a bug in Guile.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32439>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [bug #32439] Bug in Bind on Mac OS X
2011-02-12 20:37 [bug #32439] Bug in Bind on Mac OS X anonymous
@ 2011-02-13 21:08 ` Andy Wingo
0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2011-02-13 21:08 UTC (permalink / raw)
To: Andy Wingo, bug-guile
Update of bug #32439 (project guile):
Status: None => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Fixed in git (with your patch :)
Thanks!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32439>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-13 21:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-12 20:37 [bug #32439] Bug in Bind on Mac OS X anonymous
2011-02-13 21:08 ` Andy Wingo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).