|
From: | Kotelnikov Mihail |
Subject: | Re: New feature for diff |
Date: | Tue, 10 Jan 2006 13:12:10 +0500 |
User-agent: | Mozilla Thunderbird 1.0.7-1.1.100asp (X11/20051005) |
Paul Eggert пишет:
Kotelnikov Mihail <address@hidden> writes:I think it would be useful to pass options for patch utility via patchfile. For example for pass -Z option when it is nessesary for proper working autotools in patched source tree. Main goal of this feature - clarity for enduser.The general idea is reasonable, but I'm not sure about the details of the exact implementation you proposed. For example, the facility might be abused by specifying the '-o /etc/passwd' option. And I don't see how the 'patch' user can easily override the patch options, which is something they should be able to do.
1) Commandline options must have priority2) Only safe options (-Z, -p, -z) permitted for using from patchfile by default. Other options may be ignored or special policy may be applied for they.
For public patches only -Z is need at this time. But for internal usage any options may be passed through this mechanism.Is the only problem with -Z? Or are there some other options you'dlike to specify here as well?
Unification. If options as -Z (non dangerous but critical in some situations) will be added, weWhat's the intended application?
don't have to rebuild diff/patch for passing it via patchfile.
Unfortunately, i haven't find any development source of patch utility. Tell me please if you know where it is.The latest publicly available version is in <ftp://alpha.gnu.org/gnu/diffutils/patch-2.5.9.tar.gz>. (It's not in CVS yet.)
Ok. I have this source. -- best regards, Kotelnikov Mihail mailto:address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |