ONykyf

Results 23 comments of ONykyf

@ThomasAdam @somiaj No more places affected by "multibyteness" found. Testing shows no problems. Please review.

Hope now the logic of the helper function is more straightforward and manageable enough by whoever will do this in the future.

@ThomasAdam Unsafe `strndup()` replaced with `fxstrndup() `analogous to `fxstrdup() `but truncated if necessary. In fact getpwuid.c also contains `strndup() `alongside `fxstrdup()`. Maybe replace it there as well?

> > @ThomasAdam Unsafe `strndup()` replaced with `fxstrndup() `analogous to `fxstrdup() `but truncated if necessary. > You may as well just remove this latest commit, and make the following adjustment:...

@ThomasAdam Are there any more adjustments to be made?

I'm afraid it will be more difficult than one could expect - I saw some code to move the cursor along the field, and one-byte UTF chars should be at...

Of course I can do this, but it will not be a minor change, hence zero chance to fit core developers' style, so one more local patch to keep in...

OK, I'll try to do it in as simple and non-intrusive way as possible.

@ThomasAdam please, take a look. [fvwm3-1.1.3-fvwmform.patch.gz](https://github.com/user-attachments/files/20717318/fvwm3-1.1.3-fvwmform.patch.gz)