Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More correct fix previous bag #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

More correct fix previous bag #2

wants to merge 1 commit into from

Conversation

tonal
Copy link

@tonal tonal commented Nov 8, 2011

В одном из DBF-оф наткнулся на такую ситуацию, когда в поле после значения и \0 идут остатки прошлых данных.
К сожалению файл не сохранился.
Читалки на C никаких неудобств не испытывают, т. к. строка естественным образом обрывается \0

@jacobsvante
Copy link

Unfortunately I don't know Russion, but I do know that @tonal's branch works for me and the official pypi version does not. Are you the official author of ydbf, @j2a? And if so, could you merge in @tonal's changes and publish to pypi?

Thanks,
Jacob

@ghost ghost assigned y10h Jan 20, 2013
@y10h
Copy link
Owner

y10h commented Jan 20, 2013

Translation:

I have case when in one of the DBF files I see some weird data after \0, it seems like some garbage from previous entries. Unfortunately I don't have example. Eventually, DBF readers written in C doesn't have any issues because they stop reading string at null termination.

Jacob, it would be very helpful if you give me example of such file. Then I will write a test and merge this changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants