-
- Downloads
"git@gitlab.common-lisp.net:jmoringen/asdf.git" did not exist on "32c1e741a9761c04fd530312ae6d59bb57c5e08f"
Fix #84: motifd is 64-bit app.
Merge Richard Kreuter's clm-oids branch to master. This allows motifd to work even if motifd is a 64-bit app. From Richard: ...the server passes out 32-bits of a pointer as external IDs for instances of a handful of types [1]. On a 64-bit machine, the instances' addresses might not fit in a 32-bit address, though. (In fact, on my FreeBSD/amd64 machine, when I run the example from the documentation, the first shell widget always gets created at create the second widget with the shell as parent crashes the server.) Seems like there are two options: A. Change the wire protocol to accomodate 64-bit integers. B. Synthesize 32-bit identifiers for instances of the offending types. Option B seems simpler.... [It] suffices to run the example in the doc and the programs in INTERFACE.... Obvious problems in the current code: 1. It's a doubly linked alist associating pointers with 32-bit integers. 2. It looks like nothing ever gets removed from the alist.... 3. I'm not certain that I've caught all the places where motifd hands out pointers to Lisp. [1] I think the complete list is AcceleratorTable, Atom, FontList, TranslationTable, Widget, and sometimes XmString.
No related branches found
No related tags found
Showing
- src/motif/lisp/conversion.lisp 8 additions, 2 deletionssrc/motif/lisp/conversion.lisp
- src/motif/server/Config.Darwin 1 addition, 1 deletionsrc/motif/server/Config.Darwin
- src/motif/server/GNUmakefile 1 addition, 1 deletionsrc/motif/server/GNUmakefile
- src/motif/server/callbacks.c 2 additions, 1 deletionsrc/motif/server/callbacks.c
- src/motif/server/datatrans.c 40 additions, 18 deletionssrc/motif/server/datatrans.c
- src/motif/server/datatrans.h 2 additions, 2 deletionssrc/motif/server/datatrans.h
- src/motif/server/events.c 1 addition, 2 deletionssrc/motif/server/events.c
- src/motif/server/oid.c 117 additions, 0 deletionssrc/motif/server/oid.c
- src/motif/server/oid.h 6 additions, 0 deletionssrc/motif/server/oid.h
- src/motif/server/requests.c 6 additions, 3 deletionssrc/motif/server/requests.c
- src/motif/server/tables.c 3 additions, 0 deletionssrc/motif/server/tables.c
- src/motif/server/xmstring.c 3 additions, 1 deletionsrc/motif/server/xmstring.c
Loading
Please register or sign in to comment