Files
Arquivotheca.SunOS-4.1.3/lib/libc/gen/common/_errfix.sun
seta75D 2e8a93c394 Init
2021-10-11 18:20:23 -03:00

27 lines
311 B
Plaintext

# @(#)_errfix.sun 1.1 7/30/92
: rearrange the errlst.s file to put the array part in text space
rm -f errstrings errary
sed '/data2/{
g
N
N
w errstrings
d
}' > errary <$1
ed - errary <<'EOF'
g/\.data/d
1i
.text
.
/sys_nerr/-1i
.data
.
$a
.text
.
r errstrings
w
q
EOF
mv errary $1