Pad `sccs[]' to make it 8 bytes long, to make it work on more architectures.
(PR#1690).
This commit is contained in:
parent
7d2e1a8b0b
commit
eb22b59e44
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh -
|
||||
#
|
||||
# $NetBSD: newvers.sh,v 1.19 1995/12/12 02:05:14 thorpej Exp $
|
||||
# $NetBSD: newvers.sh,v 1.20 1996/01/05 15:06:45 pk Exp $
|
||||
#
|
||||
# Copyright (c) 1984, 1986, 1990, 1993
|
||||
# The Regents of the University of California. All rights reserved.
|
||||
|
@ -49,7 +49,8 @@ osr="1.1A"
|
|||
|
||||
echo "char ostype[] = \"${ost}\";" > vers.c
|
||||
echo "char osrelease[] = \"${osr}\";" >> vers.c
|
||||
echo "char sccs[4] = { '@', '(', '#', ')' };" >> vers.c
|
||||
# note: pad `sccs' with spaces, so its size becomes 8
|
||||
echo "char sccs[8] = { ' ', ' ', ' ', ' ', '@', '(', '#', ')' };" >> vers.c
|
||||
echo \
|
||||
"char version[] = \
|
||||
\"${ost} ${osr} (${id}) #${v}: ${t}\\n ${u}@${h}:${d}\\n\";" \
|
||||
|
|
Loading…
Reference in New Issue