Skip to content

fix: change Len() return type from int to int64 to support large files#197

Merged
NGTmeaty merged 1 commit into
masterfrom
fix/spooledtempfile-len-int64
Jun 4, 2026
Merged

fix: change Len() return type from int to int64 to support large files#197
NGTmeaty merged 1 commit into
masterfrom
fix/spooledtempfile-len-int64

Conversation

@yzqzss

@yzqzss yzqzss commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@NGTmeaty NGTmeaty left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good to me! Will do a full review in a little bit but thank you again!

@willmhowes

willmhowes commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

@yzqzss If Zeno is compiled on a 64-bit system, doesn't it automatically use int64 for all instances of int?

EDIT: I asked the question above because I was doubtful the 64-bit int needed to be explicit, but @NGTmeaty pointed out to me that FileInfo uses Int64 and so it makes sense to me that we explicitly use the same Int type

@NGTmeaty

NGTmeaty commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

(And, to be fair, it took a bit to wrap my head around it to figure that out 😄 )

@NGTmeaty NGTmeaty merged commit 8ef271b into master Jun 4, 2026
6 checks passed
@NGTmeaty NGTmeaty deleted the fix/spooledtempfile-len-int64 branch June 4, 2026 22:18
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