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

Re: [Issue 1570] svn blame doesn't show last line of a file if there is no "\n" after it

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-11-05 21:37:04 CET

Erik Huelsmann wrote:

>Do all files end in an EOL character - even on modern OSes - or should the
>routine tag one onto the end of the stream - to be removed by the caller - so
>that we know it is the end?
>
>
Neither. The routins shoudl simply detect that the last line in the
stream doesn't end in an EOL, and pass that knowlege back to the caller
in an output parameter (if the caller wants to know). It's the caller's
business to decide what to do about unteriminated lines.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 5 21:38:18 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.