I can’t compile kpixmapio since it requires XShm functions… Are they
implemented? Or just like sockets?
Thanks!
Ricardo K. Ashikawa
I can’t compile kpixmapio since it requires XShm functions… Are they
implemented? Or just like sockets?
Thanks!
Ricardo K. Ashikawa
Ricardo Kazumi Ashikawa <ashikawa@ig.com.br> wrote:
I can’t compile kpixmapio since it requires XShm functions… Are they
implemented? Or just like sockets?
SYSV IPC and SHM aren’t implemented, so Xphoton doesn’t support XShm.
Hmm… Are they crucial to run KDevelop? When will they be implemented?
I was trying to code some interface for System V shm, but I couldn’t, since
I don’t know how to find a file by its key_t… Linux implementation uses
system calls…
Ricardo K. Ashikawa
I can’t compile kpixmapio since it requires XShm functions… Are they
implemented? Or just like sockets?SYSV IPC and SHM aren’t implemented, so Xphoton doesn’t support XShm.
Ricardo Kazumi Ashikawa <ashikawa@ig.com.br> wrote:
Hmm… Are they crucial to run KDevelop? When will they be implemented?
I was trying to code some interface for System V shm, but I couldn’t, since
I don’t know how to find a file by its key_t… Linux implementation uses
system calls…
No. They’re really only used for the audio/multimedia stuff. And kfm
uses AF_UNIX sockets.
The only hack I really had to do for Kdevelop was the socketpair stuff.
Also, watch out for the KEdit::loadFile in kdelibs/kdeui/keditcl1.cpp
It tries to use mmap to map in a file, doesn’t pass MAP_NOSYNCFILE and
thus files, but it doesn’t check for failure.
Ricardo K. Ashikawa
I can’t compile kpixmapio since it requires XShm functions… Are they
implemented? Or just like sockets?SYSV IPC and SHM aren’t implemented, so Xphoton doesn’t support XShm.