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

Iconv: Grow buffer size to continue iconv if output buffer is shortage #1094

Merged
merged 1 commit into from Jan 21, 2023

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented Jan 21, 2023

出力バッファの長さが不足したときサイズを拡大してiconvの変換処理を続行するように修正します。
出力バッファの初期サイズは入力に対して2倍以上の長さを確保します。
修正前は出力バッファの長さが不足したとき変換処理を中断して途中結果を返していました。

関連のissue: #76

出力バッファの長さが不足したときサイズを拡大してiconvの変換処理を
続行するように修正します。出力バッファの初期サイズは入力に対して
2倍以上の長さを確保します。修正前は出力バッファの長さが不足したとき
変換処理を中断して途中結果を返していました。

Co-authored-by: JD Project <jd.project@acc574344b8506f1335297eaa7f74be0f7ea992b>
@ma8ma ma8ma added the feature 機能の追加と削除 label Jan 21, 2023
@ma8ma ma8ma merged commit e487b73 into master Jan 21, 2023
@ma8ma ma8ma deleted the iconv-grow-buffer-size branch January 21, 2023 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 機能の追加と削除
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant