FreeBSD Bugzilla – Attachment 212065 Details for
Bug 244533
[patch] diff(1) --label not honoured for "print_status"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch to restore -label functionality
patch-diff.c (text/plain), 391 bytes, created by
Jamie Landeg-Jones
on 2020-03-01 04:53:47 UTC
(
hide
)
Description:
patch to restore -label functionality
Filename:
MIME Type:
Creator:
Jamie Landeg-Jones
Created:
2020-03-01 04:53:47 UTC
Size:
391 bytes
patch
obsolete
>--- usr.bin/diff/diff.c.orig 2020-02-13 20:23:55.663487000 +0000 >+++ usr.bin/diff/diff.c 2020-03-01 04:38:00.534937000 +0000 >@@ -431,6 +431,9 @@ > void > print_status(int val, char *path1, char *path2, const char *entry) > { >+ if (label[0] != NULL) path1 = label[0]; >+ if (label[1] != NULL) path2 = label[1]; >+ > switch (val) { > case D_BINARY: > printf("Binary files %s%s and %s%s differ\n",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 244533
: 212065