Page MenuHomeFreeBSD

Fix newvers.sh on macOS 10.15
ClosedPublic

Authored by arichardson on Mar 20 2020, 11:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 18 2024, 4:08 PM
Unknown Object (File)
Nov 15 2024, 2:50 PM
Unknown Object (File)
Nov 13 2024, 8:49 AM
Unknown Object (File)
Nov 8 2024, 3:30 PM
Unknown Object (File)
Nov 8 2024, 10:20 AM
Unknown Object (File)
Nov 8 2024, 10:19 AM
Unknown Object (File)
Nov 8 2024, 9:58 AM
Unknown Object (File)
Nov 2 2024, 6:40 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