Page MenuHomeFreeBSD

Fix newvers.sh on macOS 10.15
ClosedPublic

Authored by arichardson on Mar 20 2020, 11:01 AM.
Tags
None
Referenced Files
F107418897: D24136.diff
Mon, Jan 13, 9:35 PM
Unknown Object (File)
Sat, Jan 4, 5:08 PM
Unknown Object (File)
Wed, Jan 1, 5:29 AM
Unknown Object (File)
Tue, Dec 31, 5:47 AM
Unknown Object (File)
Mon, Dec 30, 5:32 AM
Unknown Object (File)
Sun, Dec 29, 5:07 AM
Unknown Object (File)
Sat, Dec 28, 5:48 AM
Unknown Object (File)
Fri, Dec 27, 4:07 PM
Subscribers

Details

Summary

It appears that the /bin/sh echo now defaults to -e and therefore the
#define VERSTR included newline characters instead of \n which caused
compiler errors.
A less fragile solution might be to bootstrap the in-tree /bin/sh but that
requires more changes.

Test Plan

VERSTR contained a newline before, now contains \n

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable