[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Strange interaction between UM Gopher and Gophernicus



On 2019-11-22 13:05 +0000, David Griffith wrote:
> 
[...]
> After I discovered this "smoking gun", I thought 
> that adding a tab after the filename would work.  I'm looking at menu.c 
> from lines 656 to the end.  Line 666 is the printf() that produces a line 
> containing date and filesize.
> 
>      printf("%c%s%s  %s %s\t%s%s\t%s\t%i" CRLF, type,
> 
> If I change that line to this:
> 
>      printf("%c%s\t%s  %s %s\t%s%s\t%s\t%i" CRLF, type,
>                  ^^
>

Won't that put the rest of the display string in the next field
(selector string), and displace the remaining fields?

-- 
Nuno Silva


Reply to: