00:45:27 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 260 seconds] 01:42:05 -!- ASau [~user@93-80-248-41.broadband.corbina.ru] has quit [Remote host closed the connection] 01:43:41 ASau [~user@93-80-248-41.broadband.corbina.ru] has joined #sbcl 02:05:28 cpc26 [~cpc26@66-87-2-233.pools.spcsdns.net] has joined #sbcl 02:10:34 -!- cpc26 [~cpc26@66-87-2-233.pools.spcsdns.net] has quit [Quit: WeeChat 0.3.3] 02:12:27 -!- christop` [~user@oteiza.siccegge.de] has quit [Read error: Operation timed out] 02:56:41 slyrus [~chatzilla@adsl-75-36-231-87.dsl.pltn13.sbcglobal.net] has joined #sbcl 03:07:28 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 248 seconds] 03:55:58 -!- scymtym [~user@2001:638:504:2093:21a:a0ff:fe34:2d7d] has quit [Ping timeout: 260 seconds] 04:11:58 superjudge [~mjl@195.22.80.141] has joined #sbcl 04:22:01 homie` [~levgue@xdsl-78-35-185-184.netcologne.de] has joined #sbcl 04:24:16 -!- homie [~levgue@xdsl-78-35-155-246.netcologne.de] has quit [Ping timeout: 248 seconds] 04:49:39 -!- slyrus [~chatzilla@adsl-75-36-231-87.dsl.pltn13.sbcglobal.net] has quit [Remote host closed the connection] 04:51:40 slyrus [~chatzilla@adsl-75-36-231-87.dsl.pltn13.sbcglobal.net] has joined #sbcl 05:03:27 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #sbcl 05:03:27 -!- ChanServ has set mode +o nikodemus 06:03:02 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 06:15:09 tcr1 [~tcr@217-162-131-235.dynamic.hispeed.ch] has joined #sbcl 06:22:36 -!- homie` [~levgue@xdsl-78-35-185-184.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 06:26:13 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #sbcl 06:26:13 -!- ChanServ has set mode +o nikodemus 06:27:13 homie [~levgue@xdsl-78-35-185-184.netcologne.de] has joined #sbcl 06:27:18 flip214 [~marek@2001:858:107:1:7a2b:cbff:fed0:c11c] has joined #sbcl 06:27:18 -!- flip214 [~marek@2001:858:107:1:7a2b:cbff:fed0:c11c] has quit [Changing host] 06:27:18 flip214 [~marek@unaffiliated/flip214] has joined #sbcl 07:40:53 pchrist [~spirit@gentoo/developer/pchrist] has joined #sbcl 07:45:10 -!- homie [~levgue@xdsl-78-35-185-184.netcologne.de] has quit [*.net *.split] 07:45:10 -!- pchrist_ [~spirit@gentoo/developer/pchrist] has quit [*.net *.split] 07:47:07 -!- Krystof [~csr21@csrhodes.plus.com] has quit [Ping timeout: 250 seconds] 07:48:22 homie [~levgue@xdsl-78-35-185-184.netcologne.de] has joined #sbcl 07:49:33 -!- tcr1 [~tcr@217-162-131-235.dynamic.hispeed.ch] has quit [Quit: Leaving.] 08:16:06 tcr1 [~tcr@217-162-207-164.dynamic.hispeed.ch] has joined #sbcl 10:06:26 -!- superjudge [~mjl@195.22.80.141] has quit [Quit: leaving] 10:23:42 attila_lendvai [~attila_le@adsl-89-132-1-111.monradsl.monornet.hu] has joined #sbcl 10:23:43 -!- attila_lendvai [~attila_le@adsl-89-132-1-111.monradsl.monornet.hu] has quit [Changing host] 10:23:43 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 10:36:09 -!- homie [~levgue@xdsl-78-35-185-184.netcologne.de] has quit [Read error: Connection reset by peer] 10:37:12 homie [~levgue@xdsl-78-35-185-184.netcologne.de] has joined #sbcl 10:41:14 -!- homie [~levgue@xdsl-78-35-185-184.netcologne.de] has quit [Client Quit] 10:49:42 homie [~levgue@xdsl-78-35-185-184.netcologne.de] has joined #sbcl 10:51:27 -!- cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has quit [Remote host closed the connection] 10:51:46 cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has joined #sbcl 11:00:40 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 264 seconds] 11:12:38 peddie [~peddie@XVM-107.MIT.EDU] has joined #sbcl 11:24:38 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 240 seconds] 11:26:18 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 11:38:02 peddie [~peddie@XVM-107.MIT.EDU] has joined #sbcl 11:54:05 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [*.net *.split] 11:54:06 -!- mtd [~martin@chop.xades.com] has quit [*.net *.split] 11:54:07 -!- antifuchs [~foobar@ec2-184-73-244-158.compute-1.amazonaws.com] has quit [*.net *.split] 12:00:33 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 12:00:33 mtd [~martin@chop.xades.com] has joined #sbcl 12:00:33 antifuchs [~foobar@ec2-184-73-244-158.compute-1.amazonaws.com] has joined #sbcl 12:22:00 stassats [~stassats@wikipedia/stassats] has joined #sbcl 12:31:35 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 12:32:12 pchrist [~spirit@gentoo/developer/pchrist] has joined #sbcl 13:07:58 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 240 seconds] 13:22:55 peddie [~peddie@XVM-107.MIT.EDU] has joined #sbcl 13:24:53 loke_ [~elias@bb220-255-193-91.singnet.com.sg] has joined #sbcl 13:25:19 -!- loke [~elias@bb121-6-7-182.singnet.com.sg] has quit [Read error: Connection reset by peer] 13:31:21 -!- peddie [~peddie@XVM-107.MIT.EDU] has quit [Ping timeout: 246 seconds] 13:43:25 -!- flip214 [~marek@unaffiliated/flip214] has quit [Remote host closed the connection] 13:57:48 peddie [~peddie@18.181.2.107] has joined #sbcl 13:58:30 -!- slyrus [~chatzilla@adsl-75-36-231-87.dsl.pltn13.sbcglobal.net] has quit [Remote host closed the connection] 13:59:22 slyrus [~chatzilla@adsl-75-36-231-87.dsl.pltn13.sbcglobal.net] has joined #sbcl 14:02:34 -!- stassats [~stassats@wikipedia/stassats] has left #sbcl 14:13:27 snafuchs [~foobar@ec2-184-73-244-158.compute-1.amazonaws.com] has joined #sbcl 14:14:13 mtd__ [~martin@67.207.131.107] has joined #sbcl 14:14:25 -!- peddie [~peddie@18.181.2.107] has quit [Ping timeout: 260 seconds] 14:15:10 loke__ [~elias@220.255.193.91] has joined #sbcl 14:16:02 -!- antifuchs [~foobar@ec2-184-73-244-158.compute-1.amazonaws.com] has quit [Quit: ZNC - http://znc.sourceforge.net] 14:16:02 -!- loke_ [~elias@bb220-255-193-91.singnet.com.sg] has quit [Ping timeout: 240 seconds] 14:16:02 -!- mtd [~martin@chop.xades.com] has quit [Ping timeout: 240 seconds] 14:16:03 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 240 seconds] 14:16:03 -!- snafuchs is now known as antifuchs 14:16:27 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 14:25:38 christop` [~user@oteiza.siccegge.de] has joined #sbcl 14:27:56 peddie [~peddie@18.181.2.107] has joined #sbcl 14:34:11 -!- slyrus [~chatzilla@adsl-75-36-231-87.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 240 seconds] 14:44:49 Krystof [~csr21@csrhodes.plus.com] has joined #sbcl 14:44:49 -!- ChanServ has set mode +o Krystof 14:50:51 flip214 [~marek@unaffiliated/flip214] has joined #sbcl 14:51:48 I found a bug in SBCL's sb-bsd-sockets:host-ent; is anybody interested, or should I post to dev@? 14:52:42 What's the bug? (curious) 14:54:15 host-ent-addresses returns NIL when querying 127.0.0.1, when there's only the loopback interface connected (ie. eth0 has no ipv4) 14:55:21 I've got a testcase ... but I'm not sure if anyone's interested here. 14:57:23 I suppose if you stick around someone interested will pop up. 14:58:01 hmmm, paste down 15:00:43 flip214: https://bugs.launchpad.net/sbcl 15:06:48 do you actually have a hosts entry for 127.0.0.1 anywhere? 15:06:52 or, what are you actually doing 15:07:21 for me, (sb-bsd-sockets:host-ent-addresses (sb-bsd-sockets:get-host-by-address #(127 0 0 1))) => (#(127 0 0 1)) 15:08:30 and likewise for get-host-by-name "localhost" / "localhost.localdomain" / "omega" and all my other aliases for localhost in /etc/hosts 15:09:55 Works fine for me, too. 15:10:05 Krystof: https://bugs.launchpad.net/sbcl/+bug/766159 15:10:27 well, do you have an ipv4 address on any eth0 or wlan0 interface? then it works for me too. 15:10:37 only without an ipv4 it stops working. 15:13:59 is that any different from the equivalent C program on your system? 15:15:33 flip214: I deleted ipv4 addresses from my non-loopback interfaces and it still seems to work fine. 15:16:03 could it be that you are a victim of something that dynamically rewrites your /etc/hosts? Or do you even have files in /etc/nsswitch.conf? 15:16:47 yes, I have files in nsswitch - in the first place. 15:16:56 No, I don't think that /etc/hosts gets rewritten 15:17:17 It's just a manual "ifconfig eth0 ....." that makes the difference 15:17:52 Arguable bind-socket is wrong, in that (bind-socket NIL 4005) should use port 4005 and just bind to 0.0.0.0 - but that's a separate problem 15:18:03 flip214: network-manager does just that 15:18:17 fe[nl]ix: what? rewriting? 15:18:21 (in case you're using Linux) 15:18:23 flip214: yes 15:18:29 /etc/hosts? 15:19:01 yea 15:19:37 Hmmm, just stopping wlan0 doesn't change /etc/hosts 15:20:16 wow, it's really dark outside 15:20:26 Well, gethostbyname("127.0.0.1") should work without any connectivity, AFAIU 15:22:02 froydnj: Whereabouts? 15:31:31 slyrus [~chatzilla@adsl-76-254-45-145.dsl.pltn13.sbcglobal.net] has joined #sbcl 15:35:08 flip214: not if "127.0.0.1" is not a known name 15:35:27 getohstbyaddr({127,0,0,1}) should always work, but that's not at all the same thing 15:35:40 (where I have sloppily used {} syntax, but I hope it's obvious what I mean 15:36:10 hm, no, I might be wrong about that 15:36:40 though I still want you to write the C program that demonstrates that it's actually a bug in SBCL and not a bug in your platform, please 15:36:48 because other people are reporting that it works for them 15:39:41 and also the Internet is full of reports that NetworkManager messes with /etc/hosts 15:45:41 -!- flip214 [~marek@unaffiliated/flip214] has quit [Read error: Operation timed out] 15:48:20 flip214 [~marek@unaffiliated/flip214] has joined #sbcl 15:48:29 Krystof: is perl good enough for you? 15:48:33 strace perl -e 'use IO::Socket::INET; $x = IO::Socket::INET->new(Listen=>5,LocalAddr=>"127.0.0.1",LocalPort=>3332)' 15:48:40 bind(3, {sa_family=AF_INET, sin_port=htons(3332), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 15:49:00 while doing the same via sbcl returned a wrong port, and NIL for the address 15:51:36 I'm tempted to change SBCL make-sockaddr-for 15:51:56 so that a (null host) just binds to 0.0.0.0 15:52:00 but that's a security risk 15:52:24 -!- tcr1 [~tcr@217-162-207-164.dynamic.hispeed.ch] has quit [Quit: Leaving.] 15:54:43 pdlogan [~patrick@c-76-27-203-101.hsd1.or.comcast.net] has joined #sbcl 15:57:07 no, perl isn't good enough for me -- at least looking at ltrace's output on that line of yours suggests that it doesn't go through C library functions to parse "127.0.0.1" 16:02:22 ok ... netcat? 16:02:46 socat? something like that? Just want to avoid having to write untested C code now ... 16:04:34 netcat seems to work, too 16:04:40 bind(3, {sa_family=AF_INET, sin_port=htons(4002), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 16:05:03 whereas sbcl returned me some high port 16:05:49 I've never seen this behaviour before ... that's why I think it's something in SBCL 17:15:13 -!- homie [~levgue@xdsl-78-35-185-184.netcologne.de] has quit [Ping timeout: 250 seconds] 17:15:35 homie` [~levgue@xdsl-78-35-161-36.netcologne.de] has joined #sbcl 17:16:13 -!- homie` [~levgue@xdsl-78-35-161-36.netcologne.de] has quit [Remote host closed the connection] 17:19:48 homie [~levgue@xdsl-78-35-161-36.netcologne.de] has joined #sbcl 17:30:47 tcr1 [~tcr@217-162-131-235.dynamic.hispeed.ch] has joined #sbcl 17:36:39 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #sbcl 17:36:39 -!- ChanServ has set mode +o nikodemus 17:39:37 -!- slyrus [~chatzilla@adsl-76-254-45-145.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 240 seconds] 17:46:03 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Read error: Operation timed out] 17:49:53 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #sbcl 17:49:53 -!- ChanServ has set mode +o nikodemus 18:23:58 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Ping timeout: 260 seconds] 18:28:34 nikodemus [~nikodemus@cs181199216.pp.htv.fi] has joined #sbcl 18:28:34 -!- ChanServ has set mode +o nikodemus 18:31:39 superjudge [~mjl@c83-250-110-188.bredband.comhem.se] has joined #sbcl 18:32:17 -!- superjudge [~mjl@c83-250-110-188.bredband.comhem.se] has quit [Client Quit] 18:32:46 superjudge [~mjl@c83-250-110-188.bredband.comhem.se] has joined #sbcl 18:36:42 -!- cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has quit [Ping timeout: 240 seconds] 18:38:38 cmm [~cmm@bzq-79-183-205-247.red.bezeqint.net] has joined #sbcl 18:49:34 -!- flip214 [~marek@unaffiliated/flip214] has quit [Quit: Leaving] 19:20:46 Fare [~Fare@206.83.64.178.ptr.us.xo.net] has joined #sbcl 19:28:36 -!- superjudge [~mjl@c83-250-110-188.bredband.comhem.se] has quit [Quit: Lost terminal] 20:11:18 -!- homie [~levgue@xdsl-78-35-161-36.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:14:42 homie [~levgue@xdsl-78-35-161-36.netcologne.de] has joined #sbcl 20:41:08 -!- nikodemus [~nikodemus@cs181199216.pp.htv.fi] has quit [Quit: This computer has gone to sleep] 20:59:21 slyrus [~chatzilla@173.228.44.88] has joined #sbcl 21:16:04 scymtym [~user@2001:638:504:2093:21a:a0ff:fe34:2d7d] has joined #sbcl 22:00:12 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Read error: Connection reset by peer] 22:01:50 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 22:25:23 -!- tcr1 [~tcr@217-162-131-235.dynamic.hispeed.ch] has quit [Quit: Leaving.] 22:30:33 stassats [~stassats@wikipedia/stassats] has joined #sbcl 22:30:54 -!- Fare [~Fare@206.83.64.178.ptr.us.xo.net] has quit [Quit: Leaving] 22:49:09 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 252 seconds] 23:33:30 stassats [~stassats@wikipedia/stassats] has joined #sbcl 23:47:50 -!- slyrus [~chatzilla@173.228.44.88] has quit [Ping timeout: 260 seconds]