tech-kern archive

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

Fwd: rfc: fix

---------- Forwarded message ----------
From: Martin Husemann <>
Date: Tue, May 27, 2008 at 11:24 AM
Subject: Re: rfc: fix
To: Andy Shevchenko <>

On Tue, May 27, 2008 at 11:02:59AM +0300, Andy Shevchenko wrote:
> I have the strings like
> __KERNEL_RCSID(0, "\$NetBSD\$");

That is wrong, and we should find a way to fix that. Can you please file
a PR? Which version of awk is used there? The following test outputs the
expected result both with gawk and the NetBSD in-tree awk:

 echo | awk '{ print "\$NetBSD\$\n" }'

though gawk warns: awk: warning: escape sequence `\$' treated as plain `$'

Maybe there is a better way to fix it, like:

  print "$" "NetBSD" "$\n"

> And how is cvs correlate to the adding new syscall?

It isn't, but since this script is stored in the NetBSD cvs repository, there
needs to be a way to get it out of that w/o corruption. We could disable
keyword expansion for that file, but that is fragile.


With Best Regards,
Andy Shevchenko

Home | Main Index | Thread Index | Old Index