summaryrefslogtreecommitdiffstats
path: root/src/eventloop.c
diff options
context:
space:
mode:
authorGravatar Philippe Troin 2008-06-16 11:12:00 -0400
committerGravatar Dan Dennedy 2008-07-05 13:09:29 -0700
commit477b6eee6d7d2881945eb5acfc23d3930bb506b1 (patch)
tree77043881f39e91224dfcdf085cc33123655e01a3 /src/eventloop.c
parentMove the source code files in the juju directory into the src directory and (diff)
Plug dir leak and initialize data structs
While trying to track down some crashes in kino, I found the following problems with libraw1394: * There is a DIR* leak in raw1394_set_port(). * Lots of data structures are not fully initialized when calling IEEE1394 ioctl()s. These cause valgrind errors (benign, as valgrind does not know how to interpret all ioctls. However these also cause kino to crash in libraw1394. I've added a bunch of memset()s to prevent this problem from happening. Forward-ported to libraw1394 git tree by Jarod Wilson.
Diffstat (limited to 'src/eventloop.c')
0 files changed, 0 insertions, 0 deletions
2024-10-13add basic number readerGravatar Peter McGoron 1-23/+280 2024-10-05attempt to read numbers with a readtableGravatar Peter McGoron 2-7/+374 Saving this because I might use it. The implementation is fragile. SCHEME numbers are in infix notation, so forcing them into the readtable implementation (which works best for prefix operators) is like fitting a square peg into a round hole. I'm going to try tokenizing the expression and parsing using an operator-precedence parser (things like "+", "@", and "." are infix operators). 2024-09-27read: make whitespace after "#" an errorGravatar Peter McGoron 1-4/+4 2024-09-27read: character constantsGravatar Peter McGoron 1-5/+52 2024-09-27read: bytevectorsGravatar Peter McGoron 1-1/+11 2024-09-27read: hash constants and directivesGravatar Peter McGoron 2-13/+38 2024-09-27read: properly restore state when reading datum commentsGravatar Peter McGoron 1-8/+20 2024-09-27read: document datum labelGravatar Peter McGoron 1-0/+8 2024-09-27read: change datum label to object, that returns an encapsulated datum labelGravatar Peter McGoron 1-33/+47 2024-09-27read: add object encapsulating identifierGravatar Peter McGoron 3-24/+49 2024-09-27Revert "add object helper functions"Gravatar Peter McGoron 3-159/+129 This reverts commit 0d5f4545d0d3db7c9ec63cac005bb71b85fe6b23. 2024-09-27Revert "object: change to a stateful table"Gravatar Peter McGoron 4-95/+42 This reverts commit 3c34c4a5a7253df4417420bf276a78f8e9e1969b. 2024-09-27Revert "object: rename"Gravatar Peter McGoron 3-12/+8 This makes things much slower for questionable benefit. A better version might use a hash table. A better interpreter would use some form of partial evaluation to optimize the EQ? chain. This reverts commit 4acea69841ad62ec5d46eb565bbb5d98f84b3d38. 2024-09-26object: renameGravatar Peter McGoron 3-8/+12 2024-09-26object: change to a stateful tableGravatar Peter McGoron 4-42/+95 2024-09-24add object helper functionsGravatar Peter McGoron 3-129/+159 2024-09-22miniscm: string->symbol and symbol->stringGravatar Peter McGoron 1-1/+17