[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Diff: null device instead of empty file? [was: svn commit: r17181 - trunk/subversion/libsvn_wc]

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-11-06 23:03:32 CET

Julian Foad wrote:
> Branko Čibej wrote:
>> Hm, yes, an external diff could have problems. I'd also call it
>> broken, though -- Cygwin's GNU diff can handle NULL. Unix programs
>> should have no problems at all, because for all they care, /dev/null
>> is just another file.
> I don't accept that diff programs should be expected to handle NUL:.

To clarify my position: I have done some general programming under DOS/Windows,
including stdio, in which I know it is easy to open and read "NUL:", but I have
less experience of the file-handle APIs that are (AFAIK) much more widely used,
and cannot definitively answer this question. From what little knowledge and
experience I have both as a programmer and as a user, my impression is that
devices (including NUL) would often not be supported.

I don't know what Branko's position of authority is on the matter. I reacted
based on the impression that he was as unqualified as I am; apologies if this
is not so.

- Julian

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 6 23:04:25 2005

This is an archived mail posted to the Subversion Dev mailing list.