Commit Graph

129 Commits

Author SHA1 Message Date
Peter Wehrfritz b08b9b4ff3 this example would never compile
SVN revision: 26245
2006-09-30 18:42:57 +00:00
Carsten Haitzler 8be34cd07c fix mmap bug
SVN revision: 25871
2006-09-16 05:57:36 +00:00
Carsten Haitzler 31e1675f52 fix segv!
SVN revision: 25177
2006-08-28 13:22:16 +00:00
David Walter Seikel 35d34dee92 The comment does say "Allocate struct for eet file and have it zero'd
out" but using calloc is inefficient since most members of the struct
are written to straight away.  Valgrind complains that the data member
can sometimes be used without being initialised.  Seems to happen when
we can't open it and eet_close tests the value of the data member.

Those that know this code better than me should check this. Probably a
good idea to initialise ALL members at this point.


SVN revision: 24848
2006-08-17 20:22:23 +00:00
Carsten Haitzler 5aa07e60c6 eet return ferror right
SVN revision: 24729
2006-08-15 06:45:51 +00:00
ningerso 39f349047f Need sys/types.h before sys/mman.h on OS X, and possibly other BSD based
systems.


SVN revision: 24188
2006-07-25 09:47:47 +00:00
Carsten Haitzler f1316fa8e9 unaligned int access - fix.
SVN revision: 23702
2006-07-03 20:15:54 +00:00
Carsten Haitzler 268c8107f0 clear cache on shutdown
SVN revision: 23536
2006-06-22 19:22:26 +00:00
Carsten Haitzler ba54808ee8 actually close files
SVN revision: 23535
2006-06-22 19:21:31 +00:00
Carsten Haitzler 3a85bfb709 cedric's mmap patch
SVN revision: 23413
2006-06-13 10:20:22 +00:00
sebastid 74681bc617 Return error
SVN revision: 23033
2006-05-31 19:13:51 +00:00
Carsten Haitzler f019dcad07 return write errors on close.
SVN revision: 22758
2006-05-20 02:44:24 +00:00
Carsten Haitzler 8a0c9369aa fix lib version
SVN revision: 22628
2006-05-15 02:50:18 +00:00
stffrdhrn 4c5b9e1f24 More cleanups:
* fix more requirements for const


SVN revision: 20985
2006-03-04 02:46:24 +00:00
stffrdhrn e2074460ce Clean ups
* char * -> const char * where needed


SVN revision: 20984
2006-03-04 02:11:03 +00:00
Carsten Haitzler d08bfbb6c6 ok- visibility disabled for now - works on x86 32bit. amd64 is broken (gcc
bug it seems) need to explore this more.


SVN revision: 19680
2006-01-10 07:32:56 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
Carsten Haitzler f8dd4d1af7 support special strign and alloc methods
SVN revision: 18731
2005-11-30 15:36:19 +00:00
tsauerbeck 8176b2c5fa more code cleanup
SVN revision: 18714
2005-11-29 18:49:30 +00:00
tsauerbeck e2aff84f25 code cleanup
SVN revision: 18702
2005-11-29 11:44:51 +00:00
tsauerbeck 6d73fde23a warnings
SVN revision: 18701
2005-11-29 11:32:10 +00:00
rbdpngn dfa6c0196c Use a pre-allocated buffer on the stack for storing temporary chunks.
SVN revision: 18669
2005-11-27 18:54:02 +00:00
Carsten Haitzler 40ae019495 seriously - no one uses dynamic buffers for setting up an eet descriptor -
theyare fixed strings. so why strdup them? use them direct. they are in the
read-only segment already - keep them there! :)


SVN revision: 18667
2005-11-27 16:06:55 +00:00
Carsten Haitzler f42422b558 less allocs!
SVN revision: 18666
2005-11-27 14:32:44 +00:00
Carsten Haitzler 4365d69079 handle NULL strings and "" as the same - and only produce null strings to
avoid tonnes of 1 byte allocs


SVN revision: 18615
2005-11-23 12:55:43 +00:00
Carsten Haitzler 889accc343 LEAK! fix.
SVN revision: 18357
2005-11-07 06:16:26 +00:00
Carsten Haitzler 09e699d360 avoid fd overflow.
SVN revision: 18356
2005-11-07 03:15:22 +00:00
sebastid 2ea1cbcc22 remove strdup
SVN revision: 18288
2005-11-04 18:29:02 +00:00
sebastid fb95ab1814 Delay string duplication until necessary.
Fix leak.


SVN revision: 18287
2005-11-04 17:44:01 +00:00
Carsten Haitzler 0b399a3c1a oops - leak. fixed
SVN revision: 18266
2005-11-04 07:16:50 +00:00
Carsten Haitzler 60eeefc3a9 formattting
SVN revision: 18261
2005-11-04 03:24:50 +00:00
Carsten Haitzler 4c88b00112 reduce some allocs
SVN revision: 18260
2005-11-04 03:22:22 +00:00
Carsten Haitzler 51a616eda7 cacheburst works again
SVN revision: 18251
2005-11-03 15:05:21 +00:00
Carsten Haitzler e114a02062 add a cache burst mode
SVN revision: 18248
2005-11-03 13:05:52 +00:00
sebastid 39998058bd Unused variable
SVN revision: 17156
2005-10-04 11:31:44 +00:00
doursse 5d0175b636 doxygen doc fix. Feel free to add more informations in the @file section
SVN revision: 16991
2005-09-27 15:23:34 +00:00
Carsten Haitzler 234beef243 dont double free IF we happen to ref < 0 (not really possible tho)
SVN revision: 15986
2005-08-01 13:53:17 +00:00
Carsten Haitzler cf3732d8b9 solaris breakage - fix.
SVN revision: 15956
2005-07-30 09:09:31 +00:00
Kim Woelders b25f5c9e75 Quiet.
SVN revision: 15939
2005-07-29 16:41:05 +00:00
tsauerbeck 216c51ea31 added eet_num_entries()
SVN revision: 15785
2005-07-15 20:37:29 +00:00
tsauerbeck 63c5d7586c in eet_list(), check whether the supplied glob is '*'. iirc raster said freebsd's fnmatch() didn't support '*' well so he added the same workaround to edje... and so it should be in libeet, too
SVN revision: 15779
2005-07-14 16:51:28 +00:00
tsauerbeck 2a6b9852d7 duplicate name to self
SVN revision: 14957
2005-05-26 11:14:15 +00:00
tsauerbeck 220ab137d0 need to reduce compress to 0 or 1 down there, too
SVN revision: 14955
2005-05-26 11:04:42 +00:00
tsauerbeck 7868fea3aa check for overflow of of buflen
SVN revision: 14954
2005-05-26 10:58:22 +00:00
tsauerbeck 92c57be18b whitespace good
SVN revision: 14953
2005-05-26 10:53:53 +00:00
tsauerbeck 898379b49b duplicate name first
SVN revision: 14952
2005-05-26 10:51:50 +00:00
tsauerbeck 26d7e31787 use Z_BEST_COMPRESSION
SVN revision: 14951
2005-05-26 10:28:41 +00:00
tsauerbeck e2acf51360 cleanup
SVN revision: 14950
2005-05-26 10:22:56 +00:00
tsauerbeck 27a62c33a5 only write 0 or 1 to the header though for the compression flag
SVN revision: 14949
2005-05-26 10:03:03 +00:00
tsauerbeck 6fec921778 true is everything but zero
SVN revision: 14948
2005-05-26 10:02:10 +00:00