Bug 235404 - LEGACY_BSDSED_COMPAT issue
Summary: LEGACY_BSDSED_COMPAT issue
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.0-STABLE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-01 19:19 UTC by Sergey
Modified: 2019-02-01 19:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 2019-02-01 19:19:15 UTC
I want to revert sed's behaviour to original/BSD one. But I haven't found a place where I can define "LEGACY_BSDSED_COMPAT" variable. The check happens here:

#ifdef LEGACY_BSDSED_COMPAT
		EATSPACE();
#endif

Where can I define LEGACY_BSDSED_COMPAT ?
Regards,
Sergey
Comment 1 Sergey 2019-02-01 19:21:17 UTC
file path is /usr/src/usr.bin/sed/compile.c