If there's less data ina file/record than requested do not fail but return as much data as was available. This behaviour is similar to read(2).
If there's less data ina file/record than requested do not fail but return as much data as was available. This behaviour is similar to read(2).


git-svn-id: 444ed946b9c2220da791e84c3dd156a05f92db99@2792 c6295689-39f2-0310-b995-f0e70906c6a9

dirkx/OpenSC,adminmt/OpenSC,metsma/OpenSC,gentoo/OpenSC,rickyepoderi/OpenSC,0x7678/myOpenSC,carlhoerberg/OpenSC,tidatida/OpenSC,gemini/OpenSC,carlhoerberg/OpenSC,mtrojnar/OpenSC,financeX/OpenSC,martinpaljak/OpenSC,AktivCo/OpenSC,aobaid/OpenSC,gentoo/OpenSC,marschap/pkg-opensc,ieugen/OpenSC,mtrojnar/OpenSC,viktorTarasov/OpenSC-SM,UIKit0/OpenSC,dirkx/OpenSC,gemini/OpenSC,gemini/OpenSC,financeX/OpenSC,gentoo/OpenSC,LudovicRousseau/OpenSC,0x7678/OpenSC,0x7678/myOpenSC,LudovicRousseau/OpenSC,dirkx/OpenSC.tokend,aobaid/OpenSC,UIKit0/OpenSC,CardContact/OpenSC,nmav/OpenSC,Jakuje/OpenSC,marschap/pkg-opensc,fabled/OpenSC,l1k/OpenSC,aobaid/OpenSC,tidatida/OpenSC,CardContact/OpenSC,germanblanco/OpenSC,dirkx/OpenSC.tokend,UIKit0/OpenSC,dirkx/OpenSC.tokend,hhonkanen/OpenSC,aobaid/OpenSC,hongquan/OpenSC-main,dirkx/OpenSC.tokend,kasparsd/opensc-latvia-id,nmav/OpenSC,CardContact/OpenSC,carlhoerberg/OpenSC,jpki/OpenSC,frankmorgner/OpenSC,gentoo/OpenSC,0x7678/myOpenSC,tidatida/OpenSC,mtrojnar/OpenSC,martinpaljak/OpenSC,nmav/OpenSC,rickyepoderi/OpenSC,financeX/OpenSC,0x7678/OpenSC,rickyepoderi/OpenSC,velter/OpenSC,viktorTarasov/OpenSC-SM,hongquan/OpenSC-main,Jakuje/OpenSC,dirkx/OpenSC,fabled/OpenSC,LudovicRousseau/OpenSC,velter/OpenSC,gentoo/OpenSC,kasparsd/opensc-latvia-id,mouse07410/OpenSC,ieugen/OpenSC,frankmorgner/OpenSC,0x7678/myOpenSC,ieugen/OpenSC,adminmt/OpenSC,hongquan/OpenSC-main,germanblanco/OpenSC,tidatida/OpenSC,philipWendland/OpenSC,dirkx/OpenSC,hhonkanen/OpenSC,jpki/OpenSC,kasparsd/opensc-latvia-id,Jakuje/OpenSC,fabled/OpenSC,l1k/OpenSC,l1k/OpenSC,philipWendland/OpenSC,marschap/pkg-opensc,carlhoerberg/OpenSC,velter/OpenSC,Jakuje/OpenSC,metsma/OpenSC,dengert/OpenSC,dirkx/OpenSC,UIKit0/OpenSC,financeX/OpenSC,carlhoerberg/OpenSC,dirkx/OpenSC.tokend,0x7678/OpenSC,OpenSC/OpenSC,ieugen/OpenSC,hhonkanen/OpenSC,philipWendland/OpenSC,frankmorgner/OpenSC,dengert/OpenSC,velter/OpenSC,jpki/OpenSC,AktivCo/OpenSC,mouse07410/OpenSC,martinpaljak/OpenSC,dirkx/OpenSC.tokend,viktorTarasov/OpenSC-SM,ieugen/OpenSC,financeX/OpenSC,metsma/OpenSC,marschap/pkg-opensc,fabled/OpenSC,germanblanco/OpenSC,kasparsd/opensc-latvia-id,OpenSC/OpenSC,0x7678/myOpenSC,dengert/OpenSC,0x7678/OpenSC,mouse07410/OpenSC,adminmt/OpenSC,frankmorgner/OpenSC,OpenSC/OpenSC,AktivCo/OpenSC,adminmt/OpenSC