ehouse
|
c0a5ce4401
|
check for remaining memory being < 0, not just <=, since we allocate exactly as much as we need. Fixes failure due to being out of memory at same time as having finished parsing stdin.
|
2006-07-22 16:03:14 +00:00 |
|
ehouse
|
34a1f737e0
|
don't cast size to a char!
|
2006-06-28 14:11:46 +00:00 |
|
ehouse
|
1df75c20a0
|
add poolsize and fsize args to better warn users when dict is too big.
Later need to modify the build process to specify the size needed.
|
2006-05-02 13:28:07 +00:00 |
|
ehouse
|
d0af23855d
|
Improve out-of-memory message; don't double-count words.
|
2006-05-01 14:00:06 +00:00 |
|
ehouse
|
8ba01c1979
|
check that this version number stuff works
|
2006-04-29 16:47:01 +00:00 |
|
ehouse
|
8ca7d1644a
|
attempt to print subversion revision number with -v option
|
2006-04-29 16:40:48 +00:00 |
|
ehouse
|
588514a6f9
|
exit if can't open table file; include assert for compile on sarge
|
2006-04-14 08:23:28 +00:00 |
|
ehouse
|
936fdc0a6c
|
For already-sorted case, read words from file on as-needed basis rather
than build a vector to hold them.
|
2006-04-14 05:23:30 +00:00 |
|
ehouse
|
c270729bbb
|
A final bit of cleanup. All the perl is gone.
|
2006-04-13 04:04:03 +00:00 |
|
ehouse
|
52b19880ee
|
Cleanup: remove dead code.
|
2006-04-13 03:58:54 +00:00 |
|
ehouse
|
a028918a3b
|
Use a single huge buffer for all strings rather than calling malloc
for each. Makes a measureable speed difference.
|
2006-04-13 03:52:48 +00:00 |
|
ehouse
|
1325f83659
|
debug: works now! Also ifdef out debug/verbose code.
|
2006-04-13 03:49:41 +00:00 |
|
ehouse
|
271662a45f
|
Tons of changes continuing port from perl. Doesn't quite work yet, but close.
|
2006-04-13 02:57:43 +00:00 |
|
ehouse
|
cfba77ff01
|
Starting work on cpp version of dict2dawg.pl. This is nowhere near complete.
|
2006-04-12 04:39:49 +00:00 |
|