6909 Commits
Author SHA1 Message Date
Cody Boone Ferguson df07b963e8 Add how to use 2001/coupard for macOS
Thanks go to Yusuke Endoh who happened to provide a proper command line
in his 2013/endoh3 entry.
2023-03-20 11:50:02 -07:00
Cody Boone Ferguson 489a5df2bf Update some of the 2000 README.md files
I am aware of some entries that do not compile that I haven't even
thought about fixing yet.

I also need to use my linux box to test the X11 entries (this goes for
other years as well) but that'll come at another time as I rarely am at
sitting at that computer. But the README.md files should be in a better
state.
2023-03-20 09:30:22 -07:00
Cody Boone Ferguson 20849dd0d5 Fix 2000/natori
With clang it did not compile at all; with gcc it segfaulted. Now it
works properly. It's a crescent moon today and that's exactly what is
being shown. This required another function but since it wasn't a
one-liner this doesn't cause any problems with the award either.
2023-03-20 09:23:09 -07:00
Cody Boone Ferguson e2b2a83f05 Get 2000/schneiderwent to compile
It uses trigraphs so it needs the -trigraphs option at the compiler.

As well the README.md was format fixed.
2023-03-20 09:07:17 -07:00
Cody Boone Ferguson ff19726e39 Remove obsolete note in 1986/holloway/Makefile
It works fine with modern compilers now.
2023-03-20 09:03:38 -07:00
Cody Boone Ferguson 8870040156 1996 fixes and updates
Update the README.md files - at least with those not in a previous
commit. The updates mostly include formatting (make them markdown) but
probably also typos here and there. More probably has to be done with
these files.

The 1996/august/.gitignore was updated as well with a file that is
generated by one of the suggested commands.
2023-03-20 09:01:46 -07:00
Cody Boone Ferguson 2d6d05e053 Minor fixes to 1996/schweikh1
The author noted in the Makefile that for Solaris the compiler flag
-I/usr/include should be included so I have added that.

As well I updated the README.md - formatting fixes (possibly typos as
well but no longer sure).
2023-03-20 08:58:13 -07:00
Cody Boone Ferguson 4614d2a4bb Fix Westley's entries (dead link, .gitignore)
The main link was dead but looking at the Internet Wayback Machine I
found that he changed domains and it's still valid. One entry had a
different URL but with a quick check I could not determine that it had
anything to do with him so I changed it to his own domain (which I
verified is his).

The 2001/westley/.gitignore was also updated as it has other source
files that are generated by the commands in the try section.
2023-03-20 08:52:19 -07:00
Cody Boone Ferguson cf2ec74b17 Fix 1996/westley
It always segfaulted (though with the correct input it still showed the
right results) and when argc == 1 it showed an environmental variable.

The body of the for loop can now be empty (or so it appears). I put the
original in westley.alt.c because it has some interesting techniques in
which he wrote about (which I preserved in the README.md file). I also
put in the original code because I'm not entirely sure if the for loop
really can be empty in all cases. Certainly it can be in the scripts
provided but I don't know if there is a valid invocation that would need
it (but in any case it would always segfault with that loop body).

Updated 1996/westley/.gitignore (added westley.alt) and the Makefile so
that make alt will build westley.alt.

Formatting fixes in README.md.
2023-03-20 08:42:46 -07:00
Cody Boone Ferguson 674a05e15e Further fix 1996/dalbec
I made the recommended change by the author so that each number is on a
line by itself rather than one long line. I changed the try section to
stop at the output that was the output noted by the judges. This was
possible with the change of making it a newline rather than a space
after each number.

I had originally proposed the change in commit
9b6b5a0376 but I did not implement it
because the output of the command versus what the try section included
was misleading (maybe that was correct :-) ) and when looking at Yusuke
Endoh's output I missed that it continued after the number (he had '...'
but I missed it in the long line of output). I linked to his analysis as
well. Thank you Yusuke for confirming it is correct output!
2023-03-20 05:47:21 -07:00
Cody Boone Ferguson f86ab4571f Fix 2001/herrmann2 for clang
This was done by changing the types of the args in main() to be int and
char ** respectively and (where necessary) casting the argv (V) to int
which was the previous type.

I also noted that prior to and after the fix certain invocations
segfaulted though Yusuke Endoh did not have this problem (I linked to
his analysis of the entry).
2023-03-20 05:34:17 -07:00
Landon Curt Noll bf4eacac7d Merge pull request #90 from xexyl/bugs
Rename BUGS.md -> bugs.md and greatly improve it
2023-03-19 14:01:00 -07:00
Landon Curt Noll 6908b01215 Merge pull request #89 from xexyl/1991-ant-readme
Add to / fix formatting in 1991/ant/README.md
2023-03-19 13:59:56 -07:00
Cody Boone Ferguson 509f72233c Actually fix 2001/ctk
It became obvious when I actually looked at the code (though I suspected
from output that it was using ANSI) that it was just no longer valid
ANSI escape sequences. Yusuke Endoh made a patch which I used (I have
used ANSI before but it's been a long while). Yusuke guessed it was a
linux thing (reasonable guess) but this also works for macOS. Thank you
Yusuke for your assistance!
2023-03-19 11:47:04 -07:00
Cody Boone Ferguson 228f293b79 Update 2001/ctk/README.md with note about macOS
It unfortunately does not work well with the macOS default terminal
emulator (didn't test others). I also noted how one should use 'q' to
quit or else the terminal will be insane after you exit (which often
goes - I did say how to restore the terminal sanity too).
2023-03-19 11:34:02 -07:00
Cody Boone Ferguson 0e9d78e7c9 Fix 2001/cheong to work with clang
I had to make a new function (also four letter word to match the
formatting) that is allowed to have an int as the third arg to it. I
chose the word pain :-) as it's a pain that clang is this way without
providing any option to disable it.

Note that the arg must be an even number of digits. This threw me off
until I read the README.md because on different systems I got different
results for odd number of digits args despite the fact there should be
no difference here as the diff shows.
2023-03-19 11:30:34 -07:00
Cody Boone Ferguson fd9b44ef76 Update bugs.md and 1995/cdua/README.md
I noted in bugs.md that there is a bug that remains and I noted the bug
in the README.md too (under the to run section) as it seems like it
should be noted (sometimes the program needs you to press return to
continue solving the maze).
2023-03-19 09:03:25 -07:00
Cody Boone Ferguson 2ce08b66b4 More updates to bugs.md + related files
Some entries were added to the bugs.md file.

As well some README.md files were updated wrt the bugs some of which
might have been better in an earlier commit.
2023-03-19 08:51:06 -07:00
Cody Boone Ferguson 03467e0594 Add mis-features to not fix in bugs.md
Fixing these would actually cause problems. This includes one I fixed
where an incompatible pointer type was introduced. This was necessary to
make it work. I experimented with the other options and it did not work
at all.
2023-03-19 08:37:29 -07:00
Cody Boone Ferguson 3573d032eb Finish thank you to Yusuke in 1984/decot/README.md
I had accidentally left out a thank you after acknowledging his patch.
2023-03-19 08:28:34 -07:00
Cody Boone Ferguson aa0d2884ab Further improve bugs.md + minor fix
Added another section: entries that require -traditional-cpp support.

Also finished an unfinished sentence that was put in (another one was
ironically fixed in the previous commit).
2023-03-19 08:27:04 -07:00
Cody Boone Ferguson 489a18ee70 Add bugs.html to .gitignore
I wasn't sure about this: no other html files are in .gitignore but this
will eventually be generated to a html file so it seems like it might be
good to not have it included in the repo.
2023-03-19 07:08:41 -07:00
Cody Boone Ferguson 611ce4bcc7 Greatly improve bugs.md
I have added sections as not all problems are the same. Some are not
supposed to be touched for instance and others have partial fixes. Some
will work with some compilers but not others. There is one entry (for
now) where things might appear to be bugs but are not (2020/ferguson1).

I added links to each entry along with the README.md file.

I have given tips to the problems in some cases.

Yes some of the entries refer to me and one entry even has a tip related
to the entry I worked on (2020/ferguson2) that helped me discover the
bug as using the Enigma machine can help identify problems (I gave
an example in the README.md file which I also linked to).
2023-03-19 07:06:17 -07:00
Cody Boone Ferguson 4b1e8038e1 Add bugs.md back to repo
The rationale is that it'll become a html file on the main site and
having www.ioccc.org/BUGS.html seems less ideal than
www.ioccc.org/bugs.html though I suppose this is only subjectively
better esp as many distributions of software have a BUGS file (and in
fact I had such a file in 2020/ferguson1 but now it's lower case). Still
this can be debated later I suppose.
2023-03-19 06:26:01 -07:00
Cody Boone Ferguson e446714c6a Remove BUGS.md for renaming bugs.md
This because it's being done on a case-insensitive file system and git
commit refuses to commit it as it already exists as it sees it.
2023-03-19 06:25:08 -07:00
Cody Boone Ferguson 9c2c19582c Add to / fix formatting in 1991/ant/README.md
In the judges' comments add some humour.

Add a try section.

Note that a file is needed for the program to do anything (that is a
file that exists) - not specifying an arg will exit without doing
anything at all.

Explain how to enter form-feed as this is important.

Fix formatting.
2023-03-19 06:05:08 -07:00
Landon Curt Noll 94ece1f48d Merge pull request #88 from xexyl/readmes
README.md and Makefile files from various years
2023-03-18 23:07:17 -07:00
Landon Curt Noll f4cc326652 Merge pull request #87 from xexyl/1995
1995 entries checked
2023-03-18 23:06:11 -07:00
Landon Curt Noll d3ea7627a7 Merge pull request #86 from xexyl/1991-brnstnd
Remove now invalid note in 1992/brnstnd/Makefile
2023-03-18 23:05:19 -07:00
Landon Curt Noll 2518ea1eea Merge pull request #85 from xexyl/1995-cdua
Fix 1995/cdua under macOS
2023-03-18 23:04:42 -07:00
Landon Curt Noll 41b21d00a6 Merge pull request #84 from xexyl/1993-jonth
Fix 1993/jonth
2023-03-18 23:03:39 -07:00
Landon Curt Noll a59be4825e Merge pull request #83 from xexyl/1994-ldb
Get 1994/ldb to compile
2023-03-18 23:01:21 -07:00
Landon Curt Noll 7d9056a437 Merge pull request #82 from xexyl/1991-ant-gits
Add a git to 1991/ant/.gitignore :-)
2023-03-18 23:00:26 -07:00
Landon Curt Noll 6b325f6eaf Merge pull request #81 from xexyl/typos
Fix typos, formatting and thank yous (add links)
2023-03-18 22:59:31 -07:00
Landon Curt Noll 579a3738ab Merge pull request #80 from xexyl/1998-schweikh2
Remove alt target from TARGETS in 1998/schweikh2
2023-03-18 22:58:50 -07:00
Landon Curt Noll 94b05e96fd Merge pull request #79 from xexyl/2000-primenum
Make 2000/primenum more portable
2023-03-18 22:58:09 -07:00
Landon Curt Noll fc0d2f7743 initial release of BUGS.md 2023-03-18 22:07:10 -07:00
Landon Curt Noll ccc31f5ba2 improve fix of 1996/dalbec C code and Makefile 2023-03-18 21:50:38 -07:00
Landon Curt Noll 9b6b5a0376 fix on macOS, compile of 1996/dalbec 2023-03-18 21:47:12 -07:00
Cody Boone Ferguson c91b3c5565 README.md and Makefile files from various years
These are mostly just formatting fixes but there might be some typos
here and there.

These years have not been checked thoroughly but I made fixes and want
them in for when I do work on them.

As far as the Makefiles go: notes were added that correspond to the
notes in the README.md files which is why I have put them in the same
commit.
2023-03-18 11:31:15 -07:00
Landon Curt Noll 80bd54903c Fix Makefile and README.md for 2001/jason 2023-03-18 11:01:35 -07:00
Cody Boone Ferguson fa2a763f6c 1995 entries checked
Fixed formatting of README.md files.

Some typo fixes.

All entries work well.

Added some try commands.
2023-03-18 10:03:51 -07:00
Cody Boone Ferguson be60ae60ed Remove now invalid note in 1992/brnstnd/Makefile
As yesterday I fixed the entry to compile with modern systems the
Makefile does not need a note that it might not compile with modern
systems.
2023-03-18 08:40:54 -07:00
Cody Boone Ferguson 341533cded Fix 1995/cdua under macOS
It took two things: get it to compile and then remove bad function
prototypes which were causing a segfault. It worked under linux and of
course it still does.
2023-03-18 06:56:55 -07:00
Cody Boone Ferguson 2786a26d3c Fix 1993/jonth
With a mis-feature (I guess) of the C pre-processor that no longer works
the entry no longer compiled. It needs #define to define (imagine that! :-)
macros.
2023-03-18 06:43:24 -07:00
Cody Boone Ferguson 12471acd92 Merge branch '1994-ldb' of github.com:xexyl/temp-test-ioccc into 1994-ldb 2023-03-18 06:31:04 -07:00
Cody Boone Ferguson 00e5b58539 Get 1994/ldb to compile
This required some -includes at the compiler line as well as use of the
comma operator as srand() returns void but it was used in || expression.
2023-03-18 06:30:45 -07:00
Cody Boone Ferguson 5dad2ca98d Get 1994/ldb to compile
This required some -includes at the compiler line as well as use of the
comma operator as srand() returns void but it was used in || expression.
2023-03-18 06:29:40 -07:00
Cody Boone Ferguson 420ebd9d0f Add a git to 1991/ant/.gitignore :-)
The file hill was not in the .gitignore file and it should have been so
it now is.
2023-03-18 05:21:55 -07:00
Cody Boone Ferguson fa682003eb Fix typos, formatting and thank yous (add links)
In some files changed the formatting was fixed to be a proper markdown
file.

There were some typos including that some README.md files that linked to
/winners.html#Cody_Boone_Ferguson actually linked to the non-existent
file /years which obviously would not work.

I also added links to the rest of the places I have fixed entries (but
see below) and I did the same for Yusuke Endoh's fixes.

As well apparently one entry I thought he fixed to compile under modern
systems does not seem to so that entry will have to be revisited another
time. That entry was 1993/jonth.

Those are the main changes here if not all of them.
2023-03-18 05:16:31 -07:00