Improve links in thanks for 1993 and 1994

This commit is contained in:
Cody Boone Ferguson committed 2024-04-18 05:53:54 -07:00
1 parent 463d126a9f
commit 04f6b532ee
2 files changed
+110 -66

No files matched your search

+59 -37
View File
@@ -1541,33 +1541,38 @@ world</a> or just the
args (2). And not that we need the help or anything for this :-) but we
encourage you to try the original without two args :-)</p>
<div id="1993">
<h1 id="section-9">1993</h1>
<h1 id="section-9"><a href="1993/index.html">1993</a></h1>
</div>
<div id="1993_ant">
<h2 id="ant-index.html"><a href="1993/ant/ant.c">1993/ant</a> (<a href="1993/ant/index.html%5D">index.html</a>)</h2>
<h1 id="ant-2"><a href="1993/ant/index.html">1993/ant</a></h1>
<h2 id="source-code-ant.c-2">Source code: <a href="1993/ant/ant.c">ant.c</a></h2>
</div>
<p><a href="#cody">Cody</a> added the <a href="1993/ant/try.sh">try.sh</a> script and a data file,
<a href="1993/ant/ants.txt">ants.txt</a>, full of ants for the script.</p>
<div id="1993_cmills">
<h2 id="cmills-index.html"><a href="1993/cmills/cmills.c">1993/cmills</a> (<a href="1993/cmills/index.html%5D">index.html</a>)</h2>
<h1 id="cmills-1"><a href="1993/cmills/index.html">1993/cmills</a></h1>
<h2 id="source-code-cmills.c-1">Source code: <a href="1993/cmills/cmills.c">cmills.c</a></h2>
</div>
<p><a href="#yusuke">Yusuke</a> suggested that with modern systems this goes too fast so he added a call
to <code>usleep(3)</code> in a patch he made. <a href="#cody">Cody</a> made it configurable at compilation by
using a macro. This is in the alt version which is the recommended one to try
first.</p>
<div id="1993_dgibson">
<h2 id="dgibson-index.html"><a href="1993/dgibson/dgibson.c">1993/dgibson</a> (<a href="1993/dgibson/index.html%5D">index.html</a>)</h2>
<h1 id="dgibson"><a href="1993/dgibson/index.html">1993/dgibson</a></h1>
<h2 id="source-code-dgibson.c">Source code: <a href="1993/dgibson/dgibson.c">dgibson.c</a></h2>
</div>
<p><a href="#cody">Cody</a> fixed the <a href="1993/dgibson/dgibson.sh">dgibson.sh</a> script to work
which assumed that <code>.</code> is in the path.</p>
<p>Cody also added the <a href="1993/dgibson/try.sh">try.sh</a> script which runs the above
mentioned script on all the data files.</p>
<div id="1993_ejb">
<h2 id="ejb-index.html"><a href="1993/ejb/ejb.c">1993/ejb</a> (<a href="1993/ejb/index.html%5D">index.html</a>)</h2>
<h1 id="ejb"><a href="1993/ejb/index.html">1993/ejb</a></h1>
<h2 id="source-code-ejb.c">Source code: <a href="1993/ejb/ejb.c">ejb.c</a></h2>
</div>
<p><a href="#cody">Cody</a> added the <a href="1993/ejb/try.sh">try.sh</a> script.</p>
<div id="1993_jonth">
<h2 id="jonth-index.html"><a href="1993/jonth/jonth.c">1993/jonth</a> (<a href="1993/jonth/index.html%5D">index.html</a>)</h2>
<h1 id="jonth"><a href="1993/jonth/index.html">1993/jonth</a></h1>
<h2 id="source-code-jonth.c">Source code: <a href="1993/jonth/jonth.c">jonth.c</a></h2>
</div>
<p>Both <a href="#cody">Cody</a> and <a href="#yusuke">Yusuke</a> fixed this so that it will work with modern systems. Yusuke
provided some fixes of the X code and Cody fixed the C pre-processor directives
@@ -1578,12 +1583,14 @@ so that it would compile. It used to be that you could get away with code like:<
<code>case</code> but that’s no longer the case so the offending lines had <code>#define</code>
prepended to them.</p>
<div id="1993_leo">
<h2 id="leo-index.html"><a href="1993/leo/leo.c">1993/leo</a> (<a href="1993/leo/index.html%5D">index.html</a>)</h2>
<h1 id="leo"><a href="1993/leo/index.html">1993/leo</a></h1>
<h2 id="source-code-leo.c">Source code: <a href="1993/leo/leo.c">leo.c</a></h2>
</div>
<p><a href="#cody">Cody</a> fixed this to work with modern compilers. This involved different header
files for functions.</p>
<div id="1993_lmfjyh">
<h2 id="lmfjyh-index.html"><a href="1993/lmfjyh/lmfjyh.c">1993/lmfjyh</a> (<a href="1993/lmfjyh/index.html%5D">index.html</a>)</h2>
<h1 id="lmfjyh"><a href="1993/lmfjyh/index.html">1993/lmfjyh</a></h1>
<h2 id="source-code-lmfjyh.c">Source code: <a href="1993/lmfjyh/lmfjyh.c">lmfjyh.c</a></h2>
</div>
<p><a href="#cody">Cody</a> added an <a href="1993/lmfjyh/index.html#alternate-code">alternate
version</a> which does what the program did
@@ -1593,9 +1600,11 @@ the alternate version, not the actual entry.</p>
would be compiled if gcc &lt; 2.3.3) whether or not compilation succeeds (which is
highly unlikely).</p>
<div id="1993_plummer">
<h2 id="plummer-index.html"><a href="1993/plummer/plummer.c">1993/plummer</a> (<a href="1993/plummer/index.html%5D">index.html</a>)</h2>
<h1 id="plummer"><a href="1993/plummer/index.html">1993/plummer</a></h1>
<h2 id="source-code-plummer.c">Source code: <a href="1993/plummer/plummer.c">plummer.c</a></h2>
</div>
<p><a href="#cody">Cody</a> added check for two args.</p>
<p><a href="#cody">Cody</a> added check for two args during a time that this was considered a
bug to fix.</p>
<p>Cody also added an <a href="1993/plummer/plummer.alt.c">alternate version</a> which uses
<code>usleep(3)</code> so you can see what is happening with faster systems. This version
also checks for two args and it is the one we recommend one try first. See the
@@ -1605,7 +1614,8 @@ index.html files for details.</p>
entry and the alt version, both allowing one to change the args (and in the case
of the alt one allowing one to change the amount to sleep).</p>
<div id="1993_rince">
<h2 id="rince-index.html"><a href="1993/rince/rince.c">1993/rince</a> (<a href="1993/rince/index.html%5D">index.html</a>)</h2>
<h1 id="rince-1"><a href="1993/rince/index.html">1993/rince</a></h1>
<h2 id="source-code-rince.c-1">Source code: <a href="1993/rince/rince.c">rince.c</a></h2>
</div>
<p><a href="#yusuke">Yusuke</a> supplied a patch to get this to work in modern systems. This fix also
applies the compatibility issue of <code>select(2)</code> described in the index.html file.</p>
@@ -1617,11 +1627,13 @@ users. The slowing down was based on our suggestion that it might be desired to
slow down but Cody did it in such a way that makes it easy to configure at
compile time. See the index.html for details.</p>
<div id="1993_schnitzi">
<h2 id="schnitzi-index.html"><a href="1993/schnitzi/schnitzi.c">1993/schnitzi</a> (<a href="1993/schnitzi/index.html%5D">index.html</a>)</h2>
<h1 id="schnitzi"><a href="1993/schnitzi/index.html">1993/schnitzi</a></h1>
<h2 id="source-code-schnitzi.c">Source code: <a href="1993/schnitzi/schnitzi.c">schnitzi.c</a></h2>
</div>
<p><a href="#cody">Cody</a> made this use <code>fgets(3)</code> not <code>gets(3)</code>.</p>
<div id="1993_vanb">
<h2 id="vanb-index.html"><a href="1993/vanb/vanb.c">1993/vanb</a> (<a href="1993/vanb/index.html%5D">index.html</a>)</h2>
<h1 id="vanb-1"><a href="1993/vanb/index.html">1993/vanb</a></h1>
<h2 id="source-code-vanb.c-1">Source code: <a href="1993/vanb/vanb.c">vanb.c</a></h2>
</div>
<p><a href="#cody">Cody</a> fixed this to work with clang. The problem was that the third arg to main()
was not a <code>char **. Instead</code>O5()<code>(which was</code>main()<code>via</code>-DO5=main`) is now
@@ -1642,10 +1654,11 @@ work).</p>
this code. Other code is also described there.</p>
<p>Cody also added the <a href="1993/vanb/try.sh">try.sh</a> script.</p>
<div id="1994">
<h1 id="section-10">1994</h1>
<h1 id="section-10"><a href="1994/index.html">1994</a></h1>
</div>
<div id="1994_dodsond2">
<h2 id="dodsond2-index.html"><a href="1994/dodsond2/dodsond2.c">1994/dodsond2</a> (<a href="1994/dodsond2/index.html">index.html</a>)</h2>
<h1 id="dodsond2"><a href="1994/dodsond2/index.html">1994/dodsond2</a></h1>
<h2 id="source-code-1994dodsond2">Source code: <a href="1994/dodsond2/dodsond2.c">1994/dodsond2</a></h2>
</div>
<p><a href="#cody">Cody</a> fixed an infinite loop that could happen when you shoot an arrow
and end up having no arrows, thus making one force quit the game. The problem
@@ -1672,13 +1685,14 @@ Now the counters are reset. The way this bug was fixed is that there is now a
counter for how many you have found and how many you shot in addition to the two
that already existed, how many you had and how many were stolen.</p>
<div id="1994_horton">
<h2 id="horton-index.html"><a href="1994/horton/horton.c">1994/horton</a> (<a href="1994/horton/index.html">index.html</a>)</h2>
<h1 id="horton"><a href="1994/horton/index.html">1994/horton</a></h1>
<h2 id="source-code-1994horton">Source code: <a href="1994/horton/horton.c">1994/horton</a></h2>
</div>
<p><a href="#cody">Cody</a> fixed this to check that four args were specified. With the use of the C
pre-processor macro and inclusion of <code>stdlib.h</code> in the Makefile the layout of the
source is exactly the same column width and no additional lines were added. This
was done during one of the times where this was changed to bug to fix status, for
better or worse.</p>
<p><a href="#cody">Cody</a> fixed this to check that four args were specified (at a time it
was considered a bug to fix). With the use of the C pre-processor macro and
inclusion of <code>stdlib.h</code> in the Makefile the layout of the source is exactly the
same column width and no additional lines were added. This was done during one
of the times where this was changed to bug to fix status, for better or worse.</p>
<p>Cody also fixed the Makefile which was causing alt code to be compiled when it
shouldn’t be.</p>
<p>Cody also added the scripts <a href="1994/horton/try.sh">try.sh</a> and
@@ -1691,7 +1705,8 @@ shorter PDF file,
newsletter was found on the Internet Wayback Machine and the article was
extracted as a PDF in the macOS <code>Preview.app</code> (<code>File -&gt; Print</code> feature).</p>
<div id="1994_imc">
<h2 id="imc-index.html"><a href="1994/imc/imc.c">1994/imc</a> (<a href="1994/imc/index.html%5D">index.html</a>)</h2>
<h1 id="imc-1"><a href="1994/imc/index.html">1994/imc</a></h1>
<h2 id="source-code-imc.c-1">Source code: <a href="1994/imc/imc.c">imc.c</a></h2>
</div>
<p><a href="#cody">Cody</a> added the <a href="1994/imc/try.sh">try.sh</a> script.</p>
<p>Cody also added inclusion of <code>unistd.h</code> for <code>getpid(2)</code>. While strictly speaking
@@ -1699,7 +1714,8 @@ this was not necessary (in multiple systems) it can sometimes be a problem and
as it was noticed it was changed (the only case this was done except in the
entries that actually did not work because of missing or incorrect prototypes).</p>
<div id="1994_ldb">
<h2 id="ldb-index.html"><a href="1994/ldb/ldb.c">1994/ldb</a> (<a href="1994/ldb/index.html%5D">index.html</a>)</h2>
<h1 id="ldb"><a href="1994/ldb/index.html">1994/ldb</a></h1>
<h2 id="source-code-ldb.c">Source code: <a href="1994/ldb/ldb.c">ldb.c</a></h2>
</div>
<p><a href="#cody">Cody</a> fixed this so it would compile and work with modern compilers. The problem
was that <code>srand()</code> returns <code>void</code> but it was used in a <code>||</code> expression. Thus the
@@ -1719,7 +1735,8 @@ than 231 in length if the program chooses that line it might print the first 231
characters or it might print (up to) the next 231 characters and so on.</p>
<p>Cody also added the <a href="1994/ldb/try.sh">try.sh</a> script.</p>
<div id="1994_schnitzi">
<h2 id="schnitzi-index.html-1"><a href="1994/schnitzi/schnitzi.c">1994/schnitzi</a> (<a href="1994/schnitzi/index.html%5D">index.html</a>)</h2>
<h1 id="schnitzi-1"><a href="1994/schnitzi/index.html">1994/schnitzi</a></h1>
<h2 id="source-code-schnitzi.c-1">Source code: <a href="1994/schnitzi/schnitzi.c">schnitzi.c</a></h2>
</div>
<p><a href="#cody">Cody</a> added two alt versions, <a href="1994/schnitzi/schnitzi.alt.c">one which uses
<code>fgets()</code></a> but when fed its own source code cannot
@@ -1738,7 +1755,8 @@ now there is more important work to do so that the next contest can run.</p>
<p>Cody also added the <a href="1994/schnitzi/try.sh">try.sh</a> and
<a href="1994/schnitzi/try.alt.sh">try.alt.sh</a> scripts.</p>
<div id="1994_shapiro">
<h2 id="shapiro-index.html"><a href="1994/shapiro/shapiro.c">1994/shapiro</a> (<a href="1994/shapiro/index.html%5D">index.html</a>)</h2>
<h1 id="shapiro-1"><a href="1994/shapiro/index.html">1994/shapiro</a></h1>
<h2 id="source-code-shapiro.c">Source code: <a href="1994/shapiro/shapiro.c">shapiro.c</a></h2>
</div>
<p><a href="#cody">Cody</a> fixed a bug on systems where <code>EOF != -1</code>. The problem is that <code>getc()</code> and
the related functions do not return <code>-1</code> on EOF or error but rather <code>EOF</code>.
@@ -1748,11 +1766,13 @@ where <code>EOF != -1</code> it could result in an infinite loop.</p>
<p>For an interesting problem that occurred here and what was done to solve it,
check the <a href="bugs.html">bugs.html</a> file.</p>
<div id="1994_smr">
<h2 id="smr-index.html"><a href="1994/smr/smr.c">1994/smr</a> (<a href="1994/smr/index.html%5D">index.html</a>)</h2>
<h1 id="smr"><a href="1994/smr/index.html">1994/smr</a></h1>
<h2 id="source-code-smr.c">Source code: <a href="1994/smr/smr.c">smr.c</a></h2>
</div>
<p><a href="#cody">Cody</a> added the <a href="1994/smr/try.sh">try.sh</a> script.</p>
<div id="1994_tvr">
<h2 id="tvr-index.html"><a href="1994/tvr/tvr.c">1994/tvr</a> (<a href="1994/tvr/index.html%5D">index.html</a>)</h2>
<h1 id="tvr"><a href="1994/tvr/index.html">1994/tvr</a></h1>
<h2 id="source-code-1994tvr">Source code: <a href="1994/tvr/tvr.c">1994/tvr</a></h2>
</div>
<p><a href="#cody">Cody</a> added the try scripts, four total, colour and black and white
pairs for the original entry and the alt code. These scripts are
@@ -1767,7 +1787,8 @@ to use <code>fgets()</code> and the inclusion of <code>stdio.h</code> had to be
more like the original entry this was done in the Makefile. The alt code was
also changed to use <code>fgets(3)</code>.</p>
<div id="1994_weisberg">
<h2 id="weisberg-index.html"><a href="1994/weisberg/weisberg.c">1994/weisberg</a> (<a href="1994/weisberg/index.html%5D">index.html</a>)</h2>
<h1 id="weisberg"><a href="1994/weisberg/index.html">1994/weisberg</a></h1>
<h2 id="source-code-weisberg.c">Source code: <a href="1994/weisberg/weisberg.c">weisberg.c</a></h2>
</div>
<p><a href="#cody">Cody</a> changed the Makefile to make this program more user friendly and easier to
use with other tools as well by making the program output not a space after each
@@ -1779,7 +1800,8 @@ lines of the <code>weisberg</code>, feeding it to <code>primes(1)</code>, showin
primes. It only does the reversed output because the program actually prints
primes.</p>
<div id="1994_westley">
<h2 id="westley-index.html"><a href="1994/westley/westley.c">1994/westley</a> (<a href="1994/westley/index.html%5D">index.html</a>)</h2>
<h1 id="westley-6"><a href="1994/westley/index.html">1994/westley</a></h1>
<h2 id="source-code-westley.c-6">Source code: <a href="1994/westley/westley.c">westley.c</a></h2>
</div>
<p><a href="#cody">Cody</a> converted the spoiler compiler options (provided by the author) to be
compiler commands and added a script <a href="1994/westley/try.sh">try.sh</a> to
@@ -1834,7 +1856,7 @@ added.</p>
</div>
<p><a href="#cody">Cody</a> added the <a href="1995/heathbar/try.sh">try.sh</a> script.</p>
<div id="1995_leo">
<h2 id="leo-index.html-1"><a href="1995/leo/leo.c">1995/leo</a> (<a href="1995/leo/index.html%5D">index.html</a>)</h2>
<h2 id="leo-index.html"><a href="1995/leo/leo.c">1995/leo</a> (<a href="1995/leo/index.html%5D">index.html</a>)</h2>
</div>
<p><a href="#cody">Cody</a> added the <a href="1995/leo/try.sh">try.sh</a> script.</p>
<p>At our change in how to deal with spoilers, Cody also uudecoded the spoiler provided
@@ -1851,7 +1873,7 @@ calls which has the four args.</p>
</div>
<p><a href="#cody">Cody</a> added the <a href="1995/savastio/try.sh">try.sh</a> script.</p>
<div id="1995_schnitzi">
<h2 id="schnitzi-index.html-2"><a href="1995/schnitzi/schnitzi.c">1995/schnitzi</a> (<a href="1995/schnitzi/index.html%5D">index.html</a>)</h2>
<h2 id="schnitzi-index.html"><a href="1995/schnitzi/schnitzi.c">1995/schnitzi</a> (<a href="1995/schnitzi/index.html%5D">index.html</a>)</h2>
</div>
<p><a href="#cody">Cody</a> added the <a href="1995/schnitzi/try.sh">try.sh</a> script.</p>
<div id="1995_vanschnitz">
@@ -1920,7 +1942,7 @@ either different output or the same output that we briefly pointed out.</p>
</div>
<p><a href="#cody">Cody</a> added the <a href="1996/huffman/try.sh">try.sh</a> script.</p>
<div id="1996_jonth">
<h2 id="jonth-index.html-1"><a href="1996/jonth/jonth.c">1996/jonth</a> (<a href="1996/jonth/index.html%5D">index.html</a>)</h2>
<h2 id="jonth-index.html"><a href="1996/jonth/jonth.c">1996/jonth</a> (<a href="1996/jonth/index.html%5D">index.html</a>)</h2>
</div>
<p><a href="#cody">Cody</a> fixed this to not segfault under macOS. The problem was that the function
pointer <code>w</code>, which points to <code>XCreateWindow()</code>, did not specify the parameters of
@@ -1955,7 +1977,7 @@ loop so having it in a script is less desired).</p>
method suggested for SunOS rather than having to update the Makefile manually or
running a more complicated command: now one can just run <code>make</code>.</p>
<div id="1996_westley">
<h2 id="westley-index.html-1"><a href="1996/westley/westley.c">1996/westley</a> (<a href="1996/westley/index.html%5D">index.html</a>)</h2>
<h2 id="westley-index.html"><a href="1996/westley/westley.c">1996/westley</a> (<a href="1996/westley/index.html%5D">index.html</a>)</h2>
</div>
<p><a href="#cody">Cody</a> fixed a segfault in this entry as well as it displaying environmental
variables. Although the scripts showed correct output, it somewhat lessened the
@@ -2063,7 +2085,7 @@ code look like the original with just an extra arg.</p>
<p>Cody also added the <a href="1998/fanf/try.sh">try.sh</a> script to show the output of some
of the expressions that we selected.</p>
<div id="1998_schnitzi">
<h2 id="schnitzi-index.html-3"><a href="1998/schnitzi/schnitzi.c">1998/schnitzi</a> (<a href="1998/schnitzi/index.html%5D">index.html</a>)</h2>
<h2 id="schnitzi-index.html-1"><a href="1998/schnitzi/schnitzi.c">1998/schnitzi</a> (<a href="1998/schnitzi/index.html%5D">index.html</a>)</h2>
</div>
<p><a href="#cody">Cody</a> fixed invalid data types which prevented this entry from working, causing a
segfault. This showed itself in two parts which required two fixes, one for
@@ -2242,7 +2264,7 @@ more confusing (even if not confusing).</p>
<p><a href="#cody">Cody</a> made this more portable by changing the <code>void main</code> to <code>int main</code>.</p>
<p>Cody also added the <a href="2000/primenum/try.sh">try.sh</a> script.</p>
<div id="2000_rince">
<h2 id="rince-index.html-1"><a href="2000/rince/rince.c">2000/rince</a> (<a href="2000/rince/index.html%5D">index.html</a>)</h2>
<h2 id="rince-index.html"><a href="2000/rince/rince.c">2000/rince</a> (<a href="2000/rince/index.html%5D">index.html</a>)</h2>
</div>
<p><a href="#cody">Cody</a> added the <a href="2000/rince/try.sh">try.sh</a> script.</p>
<div id="2000_robison">
@@ -2508,7 +2530,7 @@ the author. The other problems are documented so were not fixed. See
index.html for details.</p>
<p>Cody also added the <a href="2001/schweikh/try.sh">try.sh</a> script.</p>
<div id="2001_westley">
<h2 id="westley-index.html-2"><a href="2001/westley/westley.c">2001/westley</a> (<a href="2001/westley/index.html%5D">index.html</a>)</h2>
<h2 id="westley-index.html-1"><a href="2001/westley/westley.c">2001/westley</a> (<a href="2001/westley/index.html%5D">index.html</a>)</h2>
</div>
<p><a href="#cody">Cody</a> added the script <a href="2001/westley/try.sh">try.sh</a> to automate a heap of commands
that we, the IOCCC judges, suggested, as well as some additional ones that he
@@ -2651,7 +2673,7 @@ chose the word <code>IOCCC</code> instead of <code>AAA</code>).</p>
</div>
<p><a href="#cody">Cody</a> added the <a href="2004/omoikane/try.sh">try.sh</a> script.</p>
<div id="2004_schnitzi">
<h2 id="schnitzi-index.html-4"><a href="2004/schnitzi/schnitzi.c">2004/schnitzi</a> (<a href="2004/schnitzi/index.html%5D">index.html</a>)</h2>
<h2 id="schnitzi-index.html-2"><a href="2004/schnitzi/schnitzi.c">2004/schnitzi</a> (<a href="2004/schnitzi/index.html%5D">index.html</a>)</h2>
</div>
<p><a href="#cody">Cody</a> made this use <code>fgets(3)</code>.</p>
<p>He also changed the time factor in the data files as the animations went too
+51 -29
View File
@@ -2009,12 +2009,13 @@ encourage you to try the original without two args :-)
<div id="1993">
# 1993
# [1993](1993/index.html)
</div>
<div id="1993_ant">
## [1993/ant](1993/ant/ant.c) ([index.html](1993/ant/index.html]))
# [1993/ant](1993/ant/index.html)
## Source code: [ant.c](1993/ant/ant.c)
</div>
[Cody](#cody) added the [try.sh](1993/ant/try.sh) script and a data file,
@@ -2022,7 +2023,8 @@ encourage you to try the original without two args :-)
<div id="1993_cmills">
## [1993/cmills](1993/cmills/cmills.c) ([index.html](1993/cmills/index.html]))
# [1993/cmills](1993/cmills/index.html)
## Source code: [cmills.c](1993/cmills/cmills.c)
</div>
[Yusuke](#yusuke) suggested that with modern systems this goes too fast so he added a call
@@ -2032,7 +2034,8 @@ first.
<div id="1993_dgibson">
## [1993/dgibson](1993/dgibson/dgibson.c) ([index.html](1993/dgibson/index.html]))
# [1993/dgibson](1993/dgibson/index.html)
## Source code: [dgibson.c](1993/dgibson/dgibson.c)
</div>
[Cody](#cody) fixed the [dgibson.sh](1993/dgibson/dgibson.sh) script to work
@@ -2043,14 +2046,16 @@ mentioned script on all the data files.
<div id="1993_ejb">
## [1993/ejb](1993/ejb/ejb.c) ([index.html](1993/ejb/index.html]))
# [1993/ejb](1993/ejb/index.html)
## Source code: [ejb.c](1993/ejb/ejb.c)
</div>
[Cody](#cody) added the [try.sh](1993/ejb/try.sh) script.
<div id="1993_jonth">
## [1993/jonth](1993/jonth/jonth.c) ([index.html](1993/jonth/index.html]))
# [1993/jonth](1993/jonth/index.html)
## Source code: [jonth.c](1993/jonth/jonth.c)
</div>
Both [Cody](#cody) and [Yusuke](#yusuke) fixed this so that it will work with modern systems. Yusuke
@@ -2068,7 +2073,8 @@ prepended to them.
<div id="1993_leo">
## [1993/leo](1993/leo/leo.c) ([index.html](1993/leo/index.html]))
# [1993/leo](1993/leo/index.html)
## Source code: [leo.c](1993/leo/leo.c)
</div>
[Cody](#cody) fixed this to work with modern compilers. This involved different header
@@ -2076,7 +2082,8 @@ files for functions.
<div id="1993_lmfjyh">
## [1993/lmfjyh](1993/lmfjyh/lmfjyh.c) ([index.html](1993/lmfjyh/index.html]))
# [1993/lmfjyh](1993/lmfjyh/index.html)
## Source code: [lmfjyh.c](1993/lmfjyh/lmfjyh.c)
</div>
[Cody](#cody) added an [alternate
@@ -2090,10 +2097,12 @@ highly unlikely).
<div id="1993_plummer">
## [1993/plummer](1993/plummer/plummer.c) ([index.html](1993/plummer/index.html]))
# [1993/plummer](1993/plummer/index.html)
## Source code: [plummer.c](1993/plummer/plummer.c)
</div>
[Cody](#cody) added check for two args.
[Cody](#cody) added check for two args during a time that this was considered a
bug to fix.
Cody also added an [alternate version](1993/plummer/plummer.alt.c) which uses
`usleep(3)` so you can see what is happening with faster systems. This version
@@ -2107,7 +2116,8 @@ of the alt one allowing one to change the amount to sleep).
<div id="1993_rince">
## [1993/rince](1993/rince/rince.c) ([index.html](1993/rince/index.html]))
# [1993/rince](1993/rince/index.html)
## Source code: [rince.c](1993/rince/rince.c)
</div>
[Yusuke](#yusuke) supplied a patch to get this to work in modern systems. This fix also
@@ -2124,14 +2134,16 @@ compile time. See the index.html for details.
<div id="1993_schnitzi">
## [1993/schnitzi](1993/schnitzi/schnitzi.c) ([index.html](1993/schnitzi/index.html]))
# [1993/schnitzi](1993/schnitzi/index.html)
## Source code: [schnitzi.c](1993/schnitzi/schnitzi.c)
</div>
[Cody](#cody) made this use `fgets(3)` not `gets(3)`.
<div id="1993_vanb">
## [1993/vanb](1993/vanb/vanb.c) ([index.html](1993/vanb/index.html]))
# [1993/vanb](1993/vanb/index.html)
## Source code: [vanb.c](1993/vanb/vanb.c)
</div>
[Cody](#cody) fixed this to work with clang. The problem was that the third arg to main()
@@ -2164,12 +2176,13 @@ Cody also added the [try.sh](1993/vanb/try.sh) script.
<div id="1994">
# 1994
# [1994](1994/index.html)
</div>
<div id="1994_dodsond2">
## [1994/dodsond2](1994/dodsond2/dodsond2.c) ([index.html](1994/dodsond2/index.html))
# [1994/dodsond2](1994/dodsond2/index.html)
## Source code: [1994/dodsond2](1994/dodsond2/dodsond2.c)
</div>
[Cody](#cody) fixed an infinite loop that could happen when you shoot an arrow
@@ -2202,14 +2215,15 @@ that already existed, how many you had and how many were stolen.
<div id="1994_horton">
## [1994/horton](1994/horton/horton.c) ([index.html](1994/horton/index.html))
# [1994/horton](1994/horton/index.html)
## Source code: [1994/horton](1994/horton/horton.c)
</div>
[Cody](#cody) fixed this to check that four args were specified. With the use of the C
pre-processor macro and inclusion of `stdlib.h` in the Makefile the layout of the
source is exactly the same column width and no additional lines were added. This
was done during one of the times where this was changed to bug to fix status, for
better or worse.
[Cody](#cody) fixed this to check that four args were specified (at a time it
was considered a bug to fix). With the use of the C pre-processor macro and
inclusion of `stdlib.h` in the Makefile the layout of the source is exactly the
same column width and no additional lines were added. This was done during one
of the times where this was changed to bug to fix status, for better or worse.
Cody also fixed the Makefile which was causing alt code to be compiled when it
shouldn't be.
@@ -2227,7 +2241,8 @@ extracted as a PDF in the macOS `Preview.app` (`File -> Print` feature).
<div id="1994_imc">
## [1994/imc](1994/imc/imc.c) ([index.html](1994/imc/index.html]))
# [1994/imc](1994/imc/index.html)
## Source code: [imc.c](1994/imc/imc.c)
</div>
[Cody](#cody) added the [try.sh](1994/imc/try.sh) script.
@@ -2239,7 +2254,8 @@ entries that actually did not work because of missing or incorrect prototypes).
<div id="1994_ldb">
## [1994/ldb](1994/ldb/ldb.c) ([index.html](1994/ldb/index.html]))
# [1994/ldb](1994/ldb/index.html)
## Source code: [ldb.c](1994/ldb/ldb.c)
</div>
[Cody](#cody) fixed this so it would compile and work with modern compilers. The problem
@@ -2265,7 +2281,8 @@ Cody also added the [try.sh](1994/ldb/try.sh) script.
<div id="1994_schnitzi">
## [1994/schnitzi](1994/schnitzi/schnitzi.c) ([index.html](1994/schnitzi/index.html]))
# [1994/schnitzi](1994/schnitzi/index.html)
## Source code: [schnitzi.c](1994/schnitzi/schnitzi.c)
</div>
[Cody](#cody) added two alt versions, [one which uses
@@ -2289,7 +2306,8 @@ Cody also added the [try.sh](1994/schnitzi/try.sh) and
<div id="1994_shapiro">
## [1994/shapiro](1994/shapiro/shapiro.c) ([index.html](1994/shapiro/index.html]))
# [1994/shapiro](1994/shapiro/index.html)
## Source code: [shapiro.c](1994/shapiro/shapiro.c)
</div>
[Cody](#cody) fixed a bug on systems where `EOF != -1`. The problem is that `getc()` and
@@ -2303,14 +2321,16 @@ check the [bugs.html](bugs.html) file.
<div id="1994_smr">
## [1994/smr](1994/smr/smr.c) ([index.html](1994/smr/index.html]))
# [1994/smr](1994/smr/index.html)
## Source code: [smr.c](1994/smr/smr.c)
</div>
[Cody](#cody) added the [try.sh](1994/smr/try.sh) script.
<div id="1994_tvr">
## [1994/tvr](1994/tvr/tvr.c) ([index.html](1994/tvr/index.html]))
# [1994/tvr](1994/tvr/index.html)
## Source code: [1994/tvr](1994/tvr/tvr.c)
</div>
[Cody](#cody) added the try scripts, four total, colour and black and white
@@ -2329,7 +2349,8 @@ also changed to use `fgets(3)`.
<div id="1994_weisberg">
## [1994/weisberg](1994/weisberg/weisberg.c) ([index.html](1994/weisberg/index.html]))
# [1994/weisberg](1994/weisberg/index.html)
## Source code: [weisberg.c](1994/weisberg/weisberg.c)
</div>
[Cody](#cody) changed the Makefile to make this program more user friendly and easier to
@@ -2345,7 +2366,8 @@ primes.
<div id="1994_westley">
## [1994/westley](1994/westley/westley.c) ([index.html](1994/westley/index.html]))
# [1994/westley](1994/westley/index.html)
## Source code: [westley.c](1994/westley/westley.c)
</div>
[Cody](#cody) converted the spoiler compiler options (provided by the author) to be