Dnia poniedziałek, 6 grudnia 2010 o 14:47:02 Pat Kane napisał(a):
> Strace shows that  "xditview ." does:
>       open(".", O_RDONLY)               = 4
> followed by an infinite number of:
>       read(4, 0xb7576000, 4096)         = -1 EISDIR (Is a directory)
> 
> Looks broken.
> 

Looks like the programmer forgot to examine the return value.  Probably the 
most common bug in C.

Chris
_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Reply via email to