Commit graph

111 commits

Author SHA1 Message Date
Eric S. Raymond
01004f1f62 Don's account of differences from the original. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
1bc5f9cfe8 History clarification. 2017-06-13 20:43:42 +03:00
David James Sherman
a5a35b8fcf Advent doesn't need automake 2017-06-13 20:43:42 +03:00
David James Sherman
51a34d9e6d Add .gitlab-ci.yml 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
8035840aee Update reservoir test to reflect the magic word fix. 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
39b2c286d9 Fix a bug in RNDVOC() that prevented the reservoir magic word for working.
To do this, I first had to refactor the code into proper C, just so I could understand it. Then I found another layer of encryption around the value itself. Finally, I discovered that the line to actually set the new magic word was placed such that it was using a global index instead of the local one.
2017-06-13 20:43:42 +03:00
Jason S. Ninneman
863edfb60a Make RNDVOC() into better C. 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
0c26368412 Remove an obfuscation scheme for the reservoir magic word. 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
dd721700f1 gitignore the database compilation products. 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
33878607df Don't build with two -std options. 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
e4d145d727 Really mean it about strict C99 compliance. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
c726a2d8f2 Add a qualification. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
7949553703 The ADVENTURE variable is no more. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
1e3e6938b3 Minor build tweaks. 2017-06-13 20:43:42 +03:00
Warren Melnick
a7ba84a680 Move the if for GCC 4 to an elseif so it does not interfere with MacOS 2017-06-13 20:43:42 +03:00
Warren Melnick
99d61fa4aa Test for >= gcc 4, and change to g99 -std=gnu99 for the compiler if it is found. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
2c97698e2e Typo fixes. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
2d1532ffec Update history.txt. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
2618af8319 Don't assume gcc. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
b4f9c2a86c MacOS port fix. 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
666b0c44f8 Remove 'compile' upon 'make clean'.
Also remove a disused rule.
2017-06-13 20:43:42 +03:00
Eric S. Raymond
7bf56ac60e Simplify build: nested makefiles considered harmful. 2017-06-13 20:43:42 +03:00
Eric S. Raymond
a07af486cd Begin "Functional Changes" section. 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
0b02f361de Move database compilation out into its own tool (for now). 2017-06-13 20:43:42 +03:00
Jason S. Ninneman
372fc1fbef Apply further polish and add in a couple of missing size variables. 2017-06-13 20:43:41 +03:00
Jason S. Ninneman
e281f895d4 Factor out handling of variables populated from the database.
This reorganization is a first step toward handling database compilation separately.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
c2faf8adea Remove debris from the Makefile. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
4293aaa940 Add regression test that gets to reservoir.
This allows reproduction of the magic-word bug.
2017-06-13 20:43:41 +03:00
Jason S. Ninneman
1668029186 Restory working seed value for dwarf.log. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
58f6494914 Restore regression tests. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
c626274637 More Makefile simplification. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
6cd0d930b2 Simplify the test makefile. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
9e5ac5a43e Correct a dependency. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
e63aa7c86e Update the list of changes. 2017-06-13 20:43:41 +03:00
Jason S. Ninneman
6fb8265577 Ensure the ZZZZ magic word is reproducible.
This happens by making the SEED command also regenerate the magic word.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
6172ecb1af Use C99 moode of compiler. 2017-06-13 20:43:41 +03:00
Jason S. Ninneman
0064a4257e Just say no to encrypting internal state. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
c88f981387 Flush log on interrupt, just for convenience. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
adeb54f6cb Case correction. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
a2dc58de8d Death by dwarf test. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
d96c66ac36 Fix bug that led to comments bnot being ignored. 2017-06-13 20:43:41 +03:00
NHOrus
b11fcf07e3 Different, correct fix of tests
Now without caching .data and extended cleanup
2017-06-13 20:43:41 +03:00
Eric S. Raymond
6ef28931b3 Document test comment format. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
0507307a32 Regression-test machinery is now documented. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
75c8df9225 First version of regression tests.
Only one test so far but the framework for more is in place.
2017-06-13 20:43:41 +03:00
Eric S. Raymond
d9d2629854 Repeatable seeding is working. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
ff467f276b Implement fallback handler that looks at the raw command buffer.
With database cinpilation not broken this time...
2017-06-13 20:43:41 +03:00
Eric S. Raymond
a408da3fed Repair CentOS 6 build (fails due to clock_gettime() being undefined)
GitLab issue #2.
2017-06-13 20:43:41 +03:00
Jason S. Ninneman
000b97ff11 Stop command-logging from non-stdin sources. 2017-06-13 20:43:41 +03:00
Eric S. Raymond
341bf61139 Once again, take srand()/random() out of the initialization chain.
They have exactly the wrong kind of randomness for this job - not
returning consistent sequences across different platforms or C library
versions, and because pseodorandom not really better than sampling
the clock.
2017-06-13 20:43:41 +03:00