List Info

Thread: icon.conf image filenames & cget broken




icon.conf image filenames & cget broken
user name
2006-04-10 21:46:52
Hi, it's me again 
Another Frugalware developer found a bug.

Pictures with filenames containing a "-" or a
"_" don't work in icon.conf.
For example foobar.png works, but foo_bar.png doesn't.

And another thing, cget seems to have weird behavior.
It seems to download something but when checking the
directory, it 
didn't seem to download it.
for example cget http://dnaku.
distrotalk.net/xhtml10.png seems to 
download the image.
But when doing strace cget http://dnaku.
distrotalk.net/xhtml10.png I see 
things like:

open("/xhtml10.png", O_WRONLY_LARGEFIL
E) = -1 ENOENT (No such file or 
directory)
recv(4,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
0\0\0\0\0\0\0\0\0\0"..., 
1024, 0) = 619
write(-1,
"\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0P\0\0
\0\17\10\3\0\0\0"..., 
1212) = -1 EBADF (Bad file descriptor)
Downloading: 1.2K of 1.2K) = 26f 1.2K", 26
write(2, "\n", 1
)                       = 1
epoll_ctl(3, EPOLL_CTL_DEL, 4, {0, {u32=4, u64=4}}) = 0
close(-1)                               = -1 EBADF (Bad file
descriptor)
exit_group(1)                           = ?
Process 15462 detached



By the way, no need to cc this message, I'm subscribed to
the mailing list.

-- 
David Kimpe a.k.a. DNAku
Dare to Think Different
http://dnaku.distrotalk.n
et | http://blogs.frug
alware.org/powerpc

_______________________________________________
Cherokee mailing list
Cherokee0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
icon.conf image filenames & cget broken
user name
2006-04-11 07:42:07
Hi David,

> Another Frugalware developer found a bug.
>
> Pictures with filenames containing a "-" or
a "_" don't work in
> icon.conf.  For example foobar.png works, but
foo_bar.png doesn't.

  I have tried to reproduce the problem, but it's working
for me.
  I've renamed a couple of icons adding an underscore to
the name, and
  then I renamed the icons files to match those names; and
it worked.

  Is the problem at start up time (is it failing parsing the
file?),
  or it is more a run time kind of problem?

> And another thing, cget seems to have weird behavior. 
It seems to
> download something but when checking the directory, it
didn't seem
> to download it.  for example cget
> http://dnaku.
distrotalk.net/xhtml10.png seems to download the image.
> But when doing strace cget http://dnaku.
distrotalk.net/xhtml10.png I
> see things like:

  We ought to give much more love to cget. I'll take a look
at this
  later on..

  Thanks for the reports ;)

-- 
Greetings, alo.
_______________________________________________
Cherokee mailing list
Cherokee0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )