Subject: re: newvers.sh padding problem
To: Curt Sampson <cjs@cynic.net>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 02/01/1999 18:38:58
this is some lossage with the compiler from what i remember from
looking at it recently. this should be fixed.
char sccs[] = "@(#)NetBSD 1.3I (CYNIC) #1: Sun Jan 31 18:29:53 PST 1999\n cjs@cynic.cynic.net:/usr2/netbsd/build/current/sys/CYNIC\n";
char *version = sccs+4;
I'll commit the change to make newvers.sh to do this if there are
no objections.
i like this even if the compiler wasn't fixed -- it just seems like
a far saner approach to this that does not depend on structure padding
like the old \0, \0, \0, \0, @, (, #, ) that we had in sccs[]. as i
recall it, the for nuls were added to make what(1) work on the sparc.
on a related note: i hate how ipfilter's sccsids turn up :-(