From be7815388c8ebccaf0b88dd299cef5aec33b1af9 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Fri, 7 Apr 2023 11:17:13 -0700 Subject: [PATCH] Minor update to 1998/schweikh1/README.md Point out that skipping a file that cannot be opened lets the entry work right. I no longer remember the exact details. --- 1998/schweikh1/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/1998/schweikh1/README.md b/1998/schweikh1/README.md index d724fad52..001af39ba 100644 --- a/1998/schweikh1/README.md +++ b/1998/schweikh1/README.md @@ -14,7 +14,8 @@ [Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this for modern systems (it did not work at all). He also made it so that if a file fails to -open it does not return but rather skips the reading of the file. +open it does not return but rather skips the reading of the file. Doing this +lets the entry work right. What was wrong? The call to `freopen()` was incorrect with the second arg (the mode) being instead `5+__FILE__`. It now is `"r"`. There was also a call to