Mail Archives: djgpp/1997/03/09/11:06:02
On 7 Mar 1997, Andy Eskilsson wrote:
> | Do you set LFN=y? If not, set it and try again. If you do have LFN=y,
> | set it to n and see if that helps. Methinks this is some kind of LFN
> | mishap.
>
> LFN is set to 'y' yes.. I tried it with LFN set to 'n' and it
> worked.. but.. but some of the files I want to patch has long
> filenames. Am I supposed to bugreport this somewhere, get rid of dos
> or just crawl back under my rock ;-)
A far better alternative is to get sources for `patch'
(v2gnu/pat21s.zip) and debug this problem. I'm guessing that the
DOS-specific code there which handles backing up breaks on LFN
platforms. The best solution is to make `patch' execute the original
Unix code when _USE_LFN returns non-zero, instead of ifdef'ing that
code away at compile time.
If you decide to work on that, please post the patches here when you
find a way to make it work with both LFN=y and LFN=n. Thanks.
> To be honest, I
> couldn't imagine that you could use both -o and -eo, maybe some better
> docs for redir?? (The only I have found is the ones that comes when
> you type 'redir')
Huh? How about typing this:
info utils redir
It even shows you an example that uses both -o and -eo. Doesn't the
above command work for you?
> I now discovered that 4dos can take care of stderr too, but what if I
> want to do something like command |& tee output, under command.com,
> can redir be used for this.
Yes. See the docs.
- Raw text -