[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X 4.0.1 what's the deal?



Paul Martin (pm@nowster.zetnet.co.uk) said:
> 2.2 returns ECONNREFUSED when the socket file doesn't exist, 2.4 returns
> ENOENT.

That's correct.

When I re-ran strace properly tracing the X _server_ (I traced xinit last
time... doh) it made more sense.

2.2.18pre15:

uname({sys="Linux", node="bamf", ...})  = 0
uname({sys="Linux", node="bamf", ...})  = 0
connect(6, {sin_family=AF_UNIX, path="/tmp/.font-unix/fs7100"}, 24) = -1 ECONNREFUSED (Connection refused)
close(6)                                = 0
gettimeofday({973726106, 534015}, NULL) = 0
write(2, "Could not init font path element"..., 65) = 65
write(0, "Could not init font path element"..., 65) = 65

which goes on to do other stuff and functions properly, where on
2.4.0-test10:

uname({sys="Linux", node="bamf", ...})  = 0
uname({sys="Linux", node="bamf", ...})  = 0
connect(6, {sin_family=AF_UNIX, path="/tmp/.font-unix/fs7100"}, 24) = -1 ENOENT (No such file or directory)

which loops ad infinitum. The odd thing is that they both return -1

.adam

-- 
[                <adam@lazur.org> <laz@clustermonkey.org>                ]
[              icq #3354423 | lazur.org | clustermonkey.org              ]



Reply to: