[Issue 6993] File.byLine runs on an empty file, fails enforcement

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 22 21:50:00 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6993


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jmdavisProg at gmx.com
         Resolution|                            |DUPLICATE


--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-11-22 21:49:06 PST ---
I don't see any reason why an exception would be thrown from File's constructor
for an empty file. It certainly doesn't say that it does. The problem is that
ByLine clearly isn't set up to handle empty files correctly.

Duplicate of Bug# 6944

*** This issue has been marked as a duplicate of issue 6944 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list