Page MenuHomeFreeBSD

Handle a bug with install(1) -C and /dev/null
ClosedPublic

Authored by brd on Jul 27 2018, 10:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 10, 8:36 AM
Unknown Object (File)
Wed, Jul 8, 1:12 PM
Unknown Object (File)
Sat, Jul 4, 3:01 PM
Unknown Object (File)
Tue, Jun 30, 9:26 PM
Unknown Object (File)
Tue, Jun 30, 7:09 AM
Unknown Object (File)
Mon, Jun 29, 10:08 PM
Unknown Object (File)
Fri, Jun 26, 11:51 PM
Unknown Object (File)
Thu, Jun 25, 2:37 AM

Details

Summary

Apparently when the file already exists, the /dev/null handling in install(1)
is not sufficient. So this works around it, and does not use -C when /dev/null
is the source.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18385
Build 18100: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jul 27 2018, 10:39 PM

make distribution no longer crashes with this.

This revision was automatically updated to reflect the committed changes.

This seems like a bug that should be fixed in install(1), not here. It's unclear from the description what the actual bug is.