Treat zero length files as an empty line
Treat zero length files as an empty line

<rdar://problem/13211640> "Missing newline at end of file" when input file is zero-length (truly "empty")

Swift SVN r4171

amraboelela/swift,cbrentharris/swift,tinysun212/swift-windows,hooman/swift,therealbnut/swift,ben-ng/swift,russbishop/swift,gribozavr/swift,amraboelela/swift,calebd/swift,kstaring/swift,xedin/swift,khizkhiz/swift,djwbrown/swift,return/swift,swiftix/swift.old,jtbandes/swift,gottesmm/swift,gmilos/swift,tardieu/swift,hooman/swift,alblue/swift,atrick/swift,tardieu/swift,kentya6/swift,russbishop/swift,sschiau/swift,adrfer/swift,therealbnut/swift,uasys/swift,emilstahl/swift,shahmishal/swift,shajrawi/swift,aschwaighofer/swift,stephentyrone/swift,KrishMunot/swift,brentdax/swift,swiftix/swift,austinzheng/swift,dreamsxin/swift,amraboelela/swift,kusl/swift,swiftix/swift.old,nathawes/swift,jmgc/swift,hughbe/swift,hooman/swift,mightydeveloper/swift,adrfer/swift,kstaring/swift,karwa/swift,parkera/swift,slavapestov/swift,austinzheng/swift,tinysun212/swift-windows,KrishMunot/swift,calebd/swift,codestergit/swift,lorentey/swift,lorentey/swift,jopamer/swift,emilstahl/swift,gmilos/swift,Jnosh/swift,JaSpa/swift,gottesmm/swift,cbrentharris/swift,dduan/swift,modocache/swift,therealbnut/swift,kentya6/swift,austinzheng/swift,xedin/swift,gribozavr/swift,shahmishal/swift,arvedviehweger/swift,russbishop/swift,roambotics/swift,djwbrown/swift,milseman/swift,return/swift,felix91gr/swift,natecook1000/swift,huonw/swift,kusl/swift,IngmarStein/swift,jmgc/swift,KrishMunot/swift,khizkhiz/swift,brentdax/swift,modocache/swift,cbrentharris/swift,harlanhaskins/swift,IngmarStein/swift,cbrentharris/swift,jtbandes/swift,frootloops/swift,gribozavr/swift,brentdax/swift,stephentyrone/swift,adrfer/swift,alblue/swift,natecook1000/swift,tinysun212/swift-windows,CodaFi/swift,sdulal/swift,huonw/swift,hughbe/swift,apple/swift,arvedviehweger/swift,kentya6/swift,rudkx/swift,deyton/swift,MukeshKumarS/Swift,aschwaighofer/swift,slavapestov/swift,huonw/swift,uasys/swift,kentya6/swift,arvedviehweger/swift,harlanhaskins/swift,danielmartin/swift,airspeedswift/swift,MukeshKumarS/Swift,felix91gr/swift,swiftix/swift.old,zisko/swift,brentdax/swift,practicalswift/swift,benlangmuir/swift,dduan/swift,glessard/swift,alblue/swift,Ivacker/swift,JaSpa/swift,Jnosh/swift,rudkx/swift,manavgabhawala/swift,hughbe/swift,mightydeveloper/swift,frootloops/swift,zisko/swift,LeoShimonaka/swift,djwbrown/swift,ken0nek/swift,xedin/swift,return/swift,Ivacker/swift,austinzheng/swift,slavapestov/swift,kperryua/swift,Jnosh/swift,KrishMunot/swift,cbrentharris/swift,bitjammer/swift,calebd/swift,glessard/swift,felix91gr/swift,tinysun212/swift-windows,cbrentharris/swift,jtbandes/swift,sschiau/swift,airspeedswift/swift,russbishop/swift,danielmartin/swift,tjw/swift,apple/swift,roambotics/swift,apple/swift,hooman/swift,parkera/swift,dduan/swift,ahoppen/swift,huonw/swift,sschiau/swift,kusl/swift,roambotics/swift,Ivacker/swift,gregomni/swift,gottesmm/swift,jtbandes/swift,nathawes/swift,codestergit/swift,jopamer/swift,JGiola/swift,MukeshKumarS/Swift,danielmartin/swift,CodaFi/swift,IngmarStein/swift,practicalswift/swift,deyton/swift,bitjammer/swift,therealbnut/swift,huonw/swift,frootloops/swift,danielmartin/swift,Ivacker/swift,gregomni/swift,apple/swift,frootloops/swift,benlangmuir/swift,hooman/swift,jmgc/swift,OscarSwanros/swift,kperryua/swift,hughbe/swift,jckarter/swift,felix91gr/swift,kusl/swift,shahmishal/swift,mightydeveloper/swift,gribozavr/swift,karwa/swift,felix91gr/swift,modocache/swift,swiftix/swift.old,JGiola/swift,austinzheng/swift,zisko/swift,devincoughlin/swift,uasys/swift,stephentyrone/swift,emilstahl/swift,codestergit/swift,gmilos/swift,deyton/swift,kusl/swift,russbishop/swift,sschiau/swift,deyton/swift,jckarter/swift,khizkhiz/swift,khizkhiz/swift,karwa/swift,sdulal/swift,JaSpa/swift,mightydeveloper/swift,LeoShimonaka/swift,hughbe/swift,practicalswift/swift,harlanhaskins/swift,MukeshKumarS/Swift,calebd/swift,Ivacker/swift,nathawes/swift,kentya6/swift,brentdax/swift,alblue/swift,frootloops/swift,therealbnut/swift,atrick/swift,CodaFi/swift,jtbandes/swift,natecook1000/swift,tardieu/swift,JGiola/swift,sschiau/swift,jopamer/swift,ben-ng/swift,gribozavr/swift,kstaring/swift,bitjammer/swift,karwa/swift,alblue/swift,kstaring/swift,hughbe/swift,therealbnut/swift,Jnosh/swift,natecook1000/swift,airspeedswift/swift,tardieu/swift,IngmarStein/swift,nathawes/swift,frootloops/swift,SwiftAndroid/swift,karwa/swift,ben-ng/swift,manavgabhawala/swift,arvedviehweger/swift,amraboelela/swift,modocache/swift,OscarSwanros/swift,sdulal/swift,JaSpa/swift,sschiau/swift,parkera/swift,tardieu/swift,xedin/swift,adrfer/swift,CodaFi/swift,Jnosh/swift,rudkx/swift,danielmartin/swift,bitjammer/swift,johnno1962d/swift,jtbandes/swift,benlangmuir/swift,parkera/swift,KrishMunot/swift,djwbrown/swift,tjw/swift,adrfer/swift,swiftix/swift.old,harlanhaskins/swift,hooman/swift,shajrawi/swift,karwa/swift,swiftix/swift.old,swiftix/swift,atrick/swift,JGiola/swift,slavapestov/swift,return/swift,parkera/swift,roambotics/swift,emilstahl/swift,jmgc/swift,milseman/swift,tinysun212/swift-windows,gregomni/swift,jckarter/swift,khizkhiz/swift,allevato/swift,sdulal/swift,modocache/swift,swiftix/swift,brentdax/swift,uasys/swift,huonw/swift,dduan/swift,LeoShimonaka/swift,mightydeveloper/swift,benlangmuir/swift,deyton/swift,CodaFi/swift,gmilos/swift,ben-ng/swift,allevato/swift,ken0nek/swift,JGiola/swift,shahmishal/swift,devincoughlin/swift,KrishMunot/swift,slavapestov/swift,tardieu/swift,atrick/swift,return/swift,tkremenek/swift,CodaFi/swift,ken0nek/swift,tjw/swift,allevato/swift,codestergit/swift,kstaring/swift,JGiola/swift,tinysun212/swift-windows,harlanhaskins/swift,OscarSwanros/swift,swiftix/swift.old,stephentyrone/swift,MukeshKumarS/Swift,austinzheng/swift,harlanhaskins/swift,SwiftAndroid/swift,SwiftAndroid/swift,codestergit/swift,xwu/swift,dduan/swift,bitjammer/swift,mightydeveloper/swift,milseman/swift,aschwaighofer/swift,aschwaighofer/swift,SwiftAndroid/swift,Ivacker/swift,LeoShimonaka/swift,shajrawi/swift,kusl/swift,calebd/swift,emilstahl/swift,felix91gr/swift,jopamer/swift,KrishMunot/swift,return/swift,gmilos/swift,felix91gr/swift,gregomni/swift,bitjammer/swift,shajrawi/swift,swiftix/swift,hooman/swift,airspeedswift/swift,kentya6/swift,sdulal/swift,zisko/swift,natecook1000/swift,xedin/swift,khizkhiz/swift,shahmishal/swift,Ivacker/swift,ken0nek/swift,practicalswift/swift,OscarSwanros/swift,milseman/swift,gottesmm/swift,manavgabhawala/swift,lorentey/swift,karwa/swift,shahmishal/swift,kentya6/swift,codestergit/swift,Jnosh/swift,jckarter/swift,lorentey/swift,uasys/swift,aschwaighofer/swift,roambotics/swift,slavapestov/swift,tjw/swift,calebd/swift,gottesmm/swift,tjw/swift,kperryua/swift,tkremenek/swift,swiftix/swift,kperryua/swift,hughbe/swift,arvedviehweger/swift,stephentyrone/swift,shajrawi/swift,glessard/swift,gribozavr/swift,tkremenek/swift,atrick/swift,IngmarStein/swift,adrfer/swift,IngmarStein/swift,OscarSwanros/swift,airspeedswift/swift,swiftix/swift,therealbnut/swift,allevato/swift,modocache/swift,kentya6/swift,sdulal/swift,jckarter/swift,devincoughlin/swift,apple/swift,jopamer/swift,swiftix/swift.old,ben-ng/swift,LeoShimonaka/swift,tkremenek/swift,devincoughlin/swift,johnno1962d/swift,tkremenek/swift,glessard/swift,sdulal/swift,allevato/swift,rudkx/swift,dduan/swift,swiftix/swift,benlangmuir/swift,ben-ng/swift,kperryua/swift,shajrawi/swift,danielmartin/swift,lorentey/swift,arvedviehweger/swift,natecook1000/swift,frootloops/swift,milseman/swift,parkera/swift,atrick/swift,SwiftAndroid/swift,nathawes/swift,ahoppen/swift,allevato/swift,manavgabhawala/swift,harlanhaskins/swift,sschiau/swift,ken0nek/swift,return/swift,JaSpa/swift,jckarter/swift,Ivacker/swift,xwu/swift,nathawes/swift,emilstahl/swift,alblue/swift,airspeedswift/swift,amraboelela/swift,sdulal/swift,tardieu/swift,practicalswift/swift,jopamer/swift,shahmishal/swift,russbishop/swift,adrfer/swift,ahoppen/swift,johnno1962d/swift,stephentyrone/swift,manavgabhawala/swift,zisko/swift,jckarter/swift,jmgc/swift,manavgabhawala/swift,ken0nek/swift,stephentyrone/swift,apple/swift,MukeshKumarS/Swift,uasys/swift,xwu/swift,natecook1000/swift,glessard/swift,ken0nek/swift,practicalswift/swift,zisko/swift,sschiau/swift,gottesmm/swift,zisko/swift,gribozavr/swift,gribozavr/swift,OscarSwanros/swift,LeoShimonaka/swift,modocache/swift,ahoppen/swift,roambotics/swift,lorentey/swift,xwu/swift,alblue/swift,cbrentharris/swift,practicalswift/swift,parkera/swift,rudkx/swift,austinzheng/swift,johnno1962d/swift,xedin/swift,shahmishal/swift,slavapestov/swift,MukeshKumarS/Swift,danielmartin/swift,LeoShimonaka/swift,tkremenek/swift,johnno1962d/swift,allevato/swift,djwbrown/swift,kperryua/swift,jmgc/swift,gmilos/swift,IngmarStein/swift,devincoughlin/swift,lorentey/swift,kperryua/swift,SwiftAndroid/swift,karwa/swift,jopamer/swift,devincoughlin/swift,mightydeveloper/swift,gottesmm/swift,ben-ng/swift,ahoppen/swift,mightydeveloper/swift,JaSpa/swift,codestergit/swift,dreamsxin/swift,ahoppen/swift,gmilos/swift,johnno1962d/swift,tjw/swift,kstaring/swift,JaSpa/swift,manavgabhawala/swift,tkremenek/swift,lorentey/swift,parkera/swift,gregomni/swift,xwu/swift,shajrawi/swift,russbishop/swift,calebd/swift,tjw/swift,cbrentharris/swift,milseman/swift,brentdax/swift,arvedviehweger/swift,CodaFi/swift,djwbrown/swift,jmgc/swift,OscarSwanros/swift,kusl/swift,dduan/swift,gregomni/swift,amraboelela/swift,practicalswift/swift,LeoShimonaka/swift,xedin/swift,emilstahl/swift,devincoughlin/swift,johnno1962d/swift,xedin/swift,kstaring/swift,djwbrown/swift,milseman/swift,xwu/swift,tinysun212/swift-windows,xwu/swift,deyton/swift,aschwaighofer/swift,huonw/swift,amraboelela/swift,shajrawi/swift,SwiftAndroid/swift,deyton/swift,kusl/swift,benlangmuir/swift,devincoughlin/swift,aschwaighofer/swift,Jnosh/swift,rudkx/swift,khizkhiz/swift,emilstahl/swift,airspeedswift/swift,nathawes/swift,uasys/swift,bitjammer/swift,jtbandes/swift,glessard/swift