From c64d9c86a2f99d3699e2fc24072eb02923886766 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 5 Jun 2023 05:45:03 -0700 Subject: [PATCH] Add -lm to 2000/briddlebane/Makefile The entry would not compile in the systems that require the explicit use of -lm for libm. Two example systems are fedora and Rocky linux. I also fixed a couple typos in README.md. --- 2000/briddlebane/Makefile | 2 +- 2000/briddlebane/README.md | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/2000/briddlebane/Makefile b/2000/briddlebane/Makefile index 430db98a3..bb93c07a2 100644 --- a/2000/briddlebane/Makefile +++ b/2000/briddlebane/Makefile @@ -74,7 +74,7 @@ CFLAGS= ${CSTD} ${CWARN} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT} # Libraries needed to build # -LIBS= +LIBS= -lm # C compiler to use # diff --git a/2000/briddlebane/README.md b/2000/briddlebane/README.md index a1e53fbbd..7c9586702 100644 --- a/2000/briddlebane/README.md +++ b/2000/briddlebane/README.md @@ -1,12 +1,8 @@ # Best Abuse of User Moxen N. Briddlebane -24 Oxtree Ave. -The Xoemn, MN 68214 Lord Zarbon -24 Oxtree Ave. -The Xoemn, MN 68214 ## To build: @@ -14,6 +10,9 @@ The Xoemn, MN 68214 make ``` +[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this to compile +in systems that require one to explicitly link in `libm`. Thank you Cody! + ## To run: ```sh @@ -36,7 +35,7 @@ evening of Dec 22, 2000). Can you find out how it stores the insult strings? Can you then take an insult and figure out when it will be uttered? -[sc] The code also contains a buffer overflow bug which I have fixed! +[sc] The code also contained a buffer overflow bug which I have fixed! The array size of `s` should be 1079 characters long. (From 0 to 1078 inclusive!). Without this it results in an error in the encoding of "decrepit" -- For a 32bit little endian machine using GCC (because of @@ -52,7 +51,7 @@ transmission, refers to himself simply as "Lord Zarbon", though offers no information in relation to the significance of that post. The sole purpose of this program appears to be to degrade and humiliate the people of this planet by calling them names. -It takes no input, only produces a single line of slanderous output. +It takes no input, it only produces a single line of slanderous output. The program appears to be rather confused, internally. It is unclear whether or not "Lord Zarbon" truly understands the