Re: quiz: Fix multi-line questions (trailing newline)

2021-03-10 Thread Alex Karle
On Wed, Mar 10, 2021 at 02:03:33PM -0700, Todd C. Miller wrote: > On Wed, 10 Mar 2021 21:15:13 +0100, Christian Weisgerber wrote: > > > Right. Next iteration: > > Looks better, one minor nit inline. > > - todd My ok doesn't weigh much, but I wanted to chime in to say thanks for picking this u

Re: quiz: Fix multi-line questions (trailing newline)

2021-02-24 Thread Alex Karle
Hi all, v2 below following some feedback from Christian (naddy@, thanks!). Only change is the malloc + strlcpy is replaced with a strdup. Thanks, Alex diff --git games/quiz/quiz.c games/quiz/quiz.c index 073c1700719..f6eac5027e8 100644 --- games/quiz/quiz.c +++ games/quiz/quiz.c @@ -110,7 +110,

quiz: Fix multi-line questions (trailing newline)

2021-02-22 Thread Alex Karle
Hi all, I was thrilled to find that the quiz for ed(1) commands, `function ed-command` (as referenced in The UNIX Programming Enviroment), existed in OpenBSD, but found that there was a bug where ~half of my correct answers were not accepted. Looking deeper, there is a bug in quiz(6) for datfiles