Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/patch-list-cdfail/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Most scripts in /rc/bin/patch have "no such patch" type errors which bail
early on if things aren't set up right in /n/sources/patch. patch/list had no
such check, meaning if 'cd /n/sources/patch' fails, it'll happily try the
current dirctory. This change causes it to notice the cd failed and exit
more cleanly. The error was benign, but ugly.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].