Commit graph

15 commits

Author SHA1 Message Date
Jo-Philipp Wich
58ba2de8e1 libs/lmo: fix logic errors in po2lmo 2009-11-01 17:27:56 +00:00
Jo-Philipp Wich
ccc8c1dae7 libs/lmo: fix po2lmo to cope with new po format 2009-10-31 16:46:13 +00:00
Jo-Philipp Wich
9e04d7e6d1 libs/lmo: fix typo in previous commit 2009-08-19 22:23:16 +00:00
Jo-Philipp Wich
83e4af43aa libs/lmo: fix off-by-one in bounds check, null-terminate dest buffer in lmo_lookup() 2009-08-19 22:10:24 +00:00
Jo-Philipp Wich
68f335b8d6 libs/lmo: fix possible null pointer dereference in lmo_lookup() - thanks blogic 2009-08-19 21:36:10 +00:00
Jo-Philipp Wich
12400496cc libs/lmo: remove cast in first lseek(), not needed since it's a constant expression 2009-07-30 12:11:08 +00:00
Jo-Philipp Wich
8c8ecd1fa9 libs/lmo: fix lmo_read32() (dereferencing type-punned pointer will break strict-aliasing rules) 2009-07-30 11:06:12 +00:00
Jo-Philipp Wich
a9ae676c61 libs/lmo: explicitly cast values to off_t for lseek() 2009-07-30 03:30:24 +00:00
Jo-Philipp Wich
ae4694243d libs/lmo: jffs2 does not support mmap() with MAP_SHARED, use MAP_PRIVATE instead (#76) 2009-07-29 03:28:14 +00:00
Jo-Philipp Wich
3194662054 libs/lmo: return entries as udata and only create strings on demand 2009-07-25 03:37:03 +00:00
Jo-Philipp Wich
4dd0a793b6 libs/lmo: check for integer, not number in lmo.archive.get() 2009-07-19 16:12:26 +00:00
Jo-Philipp Wich
1738eddc7d libs/lmo: ensure integer return value in lmo.hash(), fix module open function 2009-07-19 16:10:10 +00:00
Jo-Philipp Wich
7ac3bac569 libs/lmo: fix possible resource leak if lua runs out of memory but file is already opened 2009-07-11 23:07:41 +00:00
Jo-Philipp Wich
a531bb7bea libs/lmo: implement lmo.archive.get() and lmo.archive.foreach() 2009-07-11 17:30:43 +00:00
Jo-Philipp Wich
d9d3c71435 libs: introduce lmo - Lua Machine Objects, an implementation of binary hash tables 2009-07-09 15:04:27 +00:00