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

Re: [MiNT] /kern files missing end of line



On 01/02/13 19:51, Jo Even Skarstein wrote:
On Fri, 2012-12-28 at 17:20 +0100, Vincent Rivière wrote:

I have noticed that the following virtual files lacks a proper end of
line (tested with cat):
/kern/hz
/kern/sysdir

Is this intentional?
I don't know about /kern/hz, but IMO it makes sense to drop the linefeed
in /kern/sysdir, as this allows you to concatenate this file with a
filename/subfolder without having to worry about the trailing linefeed.

I see that this change has broken xaloader and a couple of other things
which has later been changed. It has also broken KeyEdit, which use
sysdir to save the keymap in the correct location. I currently have no
way to recompile KeyEdit so it will stay broken for a while.

I'm not so sure that this change was for the better. Now code has to be
added to all programs that use /kern/sysdir to make sure that it works
with both the old non-linefeed and the new format. What is the benefit?


That's a good reason to revert.

I'll do that.

Alan.