6909 Commits
Author SHA1 Message Date
Landon Curt Noll f4449fbe07 fix Makefile, README.md, .gitignore and code for 2004/jdalbec 2023-03-21 21:28:30 -07:00
Landon Curt Noll 107dda6c85 fix Makefile and README.md for 2004/hoyle 2023-03-21 21:03:53 -07:00
Landon Curt Noll 82376d4fc4 improve 2004/hibachi
Instead of hiding the source code in an opaque compressed
tarball, we copy a src tree into a build tree.

Improved Makefile, .gitignore and README.md as well.
2023-03-21 20:56:17 -07:00
Landon Curt Noll f31bfe0bc8 improve Makefile, README.md, .gitignore, code, bugs.md for 2004/gavin 2023-03-21 18:20:17 -07:00
Landon Curt Noll d14db83b18 fix Makefile and README.md for 2004/gavare 2023-03-21 17:11:37 -07:00
Landon Curt Noll b15be71544 fix Makefile and README.md for 2004/burley 2023-03-21 17:05:11 -07:00
Landon Curt Noll 350466ddc2 fix README.md for 2004/arachnid 2023-03-21 17:00:58 -07:00
Landon Curt Noll 36513cbf78 fix Makefile and README.md for 2004/anonymous 2023-03-21 16:58:44 -07:00
Landon Curt Noll 7e5cff3783 cleanup README.md for 2001/kev and 2001/westley 2023-03-21 16:17:07 -07:00
Landon Curt Noll 9235da35b8 fix top level Makefile for 2001 2023-03-21 16:14:48 -07:00
Landon Curt Noll 2996d7dd71 fix Makefile and README.md for 2001/williams 2023-03-21 16:14:00 -07:00
Landon Curt Noll 768250a5f2 fix Makefile and README.md for 2001/westley 2023-03-21 16:10:34 -07:00
Landon Curt Noll 2706f3fc52 fix Makefile and README.md for 2001/schweikh 2023-03-21 16:06:21 -07:00
Landon Curt Noll c181c0446a fix Makefile and README.md for 2001/rosten 2023-03-21 16:02:52 -07:00
Landon Curt Noll 7630f0b135 fix Makefile and README.md for 2001/ollinger 2023-03-21 15:59:17 -07:00
Landon Curt Noll 62450844d1 fix Makefile and README.md for 2001/kev 2023-03-21 15:55:44 -07:00
Landon Curt Noll 2036c8afc8 Merge pull request #111 from xexyl/1998-banks
Add -lm to Makefile in 1998/banks
2023-03-21 15:43:51 -07:00
Landon Curt Noll 19703a51ad Merge pull request #110 from xexyl/1987-wall
Make 1987/wall use fgets() not gets()
2023-03-21 15:43:34 -07:00
Landon Curt Noll 38cfa3d185 Merge pull request #109 from xexyl/hints
Address references to *.hint with some exceptions
2023-03-21 15:43:13 -07:00
Landon Curt Noll b1c5857a67 Merge pull request #108 from xexyl/1990-jaw
Fixes in 1990/jaw
2023-03-21 15:42:36 -07:00
Landon Curt Noll 1f3f8d8690 Merge pull request #107 from xexyl/1990-readmes
Updates to README.md files in 1990 entries
2023-03-21 15:42:15 -07:00
Landon Curt Noll 32f2f1b29c Merge pull request #106 from xexyl/1990-cmills
Make 1990/cmills use fgets() instead of gets()
2023-03-21 15:41:58 -07:00
Landon Curt Noll 9946d22b1d Merge pull request #105 from xexyl/1990-pjr
Typo fix in 1990/pjr/README.md
2023-03-21 15:41:37 -07:00
Landon Curt Noll 1199ea3ed7 Merge pull request #104 from xexyl/1990-tbr-fgets
Make 1990/tbr alt version that uses fgets not gets
2023-03-21 15:41:09 -07:00
Landon Curt Noll c522203115 restore DATA values in Makefile for 1996/westley
Restore to prevent make clobber from removing files.
2023-03-21 15:20:02 -07:00
Landon Curt Noll f9748a1b15 improve README.md and Makefile for 1996/westley
Add "Alternate code" section to README.md.

Improve CSILENCE in Makefile.
2023-03-21 15:16:32 -07:00
Landon Curt Noll 1be6766fb4 fix targets of 1996/westley 2023-03-21 14:59:39 -07:00
Cody Boone Ferguson a31ef00105 Add -lm to Makefile in 1998/banks
Some systems need it to link in libm. Fedora comes to mind as an
example; macOS has no problem with it though running this entry under
macOS is another matter entirely.
2023-03-21 10:52:21 -07:00
Cody Boone Ferguson 31ee47176c Make 1987/wall use fgets() not gets()
Added in README.md a diff so one can see how it was done.
2023-03-21 10:16:00 -07:00
Cody Boone Ferguson 005fd79916 Address references to *.hint with some exceptions
In years < 2001 (with the exception of ferguson2/) that still have
reference to *.hint files they have been changed to README.md with the
following exception: in 1998/dorssel there was a dorssel.hint2. This was
changed to dorssel.hint since the dorssel.hint was changed to README.md
a while back. The references to dorssel.hint2 were changed to without
the 2.

There was an out of date reference in faq.html file to a .hint file as
well that was updated to README.md; the dorssel2.hint in years.html was
changed to the new name.

With that the only files that have to be updated are those that are >=
2001. I still have to check for hint.* however.
2023-03-21 09:56:39 -07:00
Cody Boone Ferguson 67a3677763 Fixes in 1990/jaw
The example commands in the judges' comments had some problems that gave
an error message when running them.

I have also figured out the apparent problem with macOS in the command
under the try section being:

    echo "Quartz glyph jocks vend, fix, BMW." | compress | ./btoa | ./jaw

But it's not actually a problem. It uses perror() and under macOS with
errno == 0 it shows:

    Undefined error: 0

whereas linux shows 'Success'. So it's not actually a problem with the
entry at all. In fact the condition that triggers that call is the same
in both linux and macOS.

I've updated bugs.md to note this and I also updated the README.md to
note it (and to refer to the bugs.md file for more details).

The thank you to me is because I missed it earlier on when I fixed the
scripts, simple though the fixes were.
2023-03-21 09:43:02 -07:00
Cody Boone Ferguson 50e026a93f Updates to README.md files in 1990 entries 2023-03-21 08:16:31 -07:00
Cody Boone Ferguson bede24af38 Make 1990/cmills use fgets() instead of gets()
In the README.md I explained the difference in case someone wishes to
change the fgets() version back to gets(). I decided to not make it an
alt version as it was discussed that usually there should not be an alt
version.
2023-03-21 07:52:05 -07:00
Cody Boone Ferguson 23d1053c48 Typo fix in 1990/pjr/README.md
It actually referred to a different entry that year (jaw) so the
invocation would not even work as the program would not be there at all.
2023-03-21 07:39:14 -07:00
Cody Boone Ferguson 8a815e2f35 Typo fix in 1990/tbr/README.md 2023-03-21 07:36:28 -07:00
Cody Boone Ferguson e317048e21 Fix segfault in tbr.alt.c, swap tbr.alt.c code
The segfault has been fixed when EOF is sent to the program (causing
fgets() to return NULL).

Since fgets() is far safer than gets() and since the gets() version will
intersperse the warning and the first line of output I have changed the
alt version to be the original (fixed to compile with modern compilers)
and the tbr is the one with fgets().
2023-03-21 07:33:00 -07:00
Cody Boone Ferguson 6a6807e587 Make 1990/tbr alt version that uses fgets not gets
This is so that the warning about gets() is not interspersed with the
initial output of the program (see below). I do want to note that if one
sends EOF it will segfault so to exit one should do ctrl-c (for
instance) (exit never worked). I will look at fixing that fault later on
to match the original code but this is good for now. When fixed (low
priority though) I will consider making the gets() version the alt but
probably not (I guess time will tell).

As for the interspersed output it looks like:

    $ warning: this program uses gets(), which is unsafe.
    # cursor is here

At the cursor I can either hit enter to get another prompt or I can
input a command but this is not immediately obvious.

Updated .gitignore to have tbr.alt.
2023-03-21 05:58:50 -07:00
Landon Curt Noll e6d578660b Merge pull request #103 from xexyl/2001-coupard 2023-03-20 19:48:17 -07:00
Landon Curt Noll b0f255da7d Merge pull request #102 from xexyl/2000 2023-03-20 19:47:26 -07:00
Landon Curt Noll ba21b30db5 Merge pull request #101 from xexyl/2000-natori 2023-03-20 19:46:40 -07:00
Landon Curt Noll 6faa6fd34d Merge pull request #100 from xexyl/2000-schneiderwent 2023-03-20 19:46:00 -07:00
Landon Curt Noll 5a705969da Merge pull request #99 from xexyl/1986-holloway 2023-03-20 19:45:16 -07:00
Landon Curt Noll 35f9670e0f Merge pull request #98 from xexyl/1996 2023-03-20 19:44:43 -07:00
Landon Curt Noll d7e660f9e0 Merge pull request #97 from xexyl/1996-schweikh1 2023-03-20 19:43:44 -07:00
Landon Curt Noll be822d909f Merge pull request #96 from xexyl/westley 2023-03-20 19:43:01 -07:00
Landon Curt Noll 051ec2d548 Merge pull request #95 from xexyl/1996-westley 2023-03-20 19:42:22 -07:00
Landon Curt Noll 93401d60cf Merge pull request #94 from xexyl/1996-dalbec 2023-03-20 19:41:48 -07:00
Landon Curt Noll ba9a5c663b Merge pull request #93 from xexyl/2001-herrmann2 2023-03-20 19:41:03 -07:00
Landon Curt Noll 30f08fbb3a Merge pull request #92 from xexyl/2001-ctk 2023-03-20 19:40:15 -07:00
Landon Curt Noll 1d2d09be9f Merge pull request #91 from xexyl/2001-cheong 2023-03-20 19:39:41 -07:00