Patch/create creates a new patch consisting of the changes to the listed text files from the distribution, reading a description of the patch from standard input: please provide an explanation of what the change is supposed to do, some context, and a rationale for the change. Please do not submit binary files. Test data or pointers to same to verify that the fix works are also welcome. When sending a patch, follow these guidelines:
The email address, if not .LR - , will be sent notification messages when the patch is applied, rejected, or commented on. If rejected, the e-mail will contain a note explaining why and probably listing suggested changes and encouraging you to resubmit.
Patch/list displays information about the named patches, or all currently pending patches if none are specified.
Patch/diff shows a patch as diffs between the original source files and the patched source files.
Patch/apply applies the patch to the current source tree. It is intended to be run by the Plan 9 developers with pie as their root file system. If the source has changed since the patch was created, apply will report the conflict and not change any files. Before changing any files, patch/apply makes backup copies of the current source tree's files. The backups are stored in the patch directory.
Patch/undo will copy the backups saved by patch/apply back into the source tree. It will not restore a backup if the file being replaced is not byte-identical to the one created by patch/apply.
Then the developers at Bell Labs run
.EX patch/diff pwd-errorsto inspect the change (possibly viewing /n/sources/patch/pwd-errors/pwd.c to see the larger context). To make the change, they run
.EX patch/apply pwd-errorsOtherwise they run
.EX % patch/note pwd-errors Pwd should definitely print errors to fd 1 because ... ^D %to add a note to the /n/sources/pwd-errors/notes file.