tis 2018-11-13 klockan 12:47 +0100 skrev Paul B Mahol: > On 11/13/18, Tomas Härdin <tjop...@acc.umu.se> wrote: > > mån 2018-11-12 klockan 21:41 +0100 skrev Nicolas George: > > > Tomas Härdin (2018-11-12): > > > > Why not set locale instead? > > > > > > That would conflict with the wishes of the application. A library > > > should > > > never change global state. > > > > > > (Of course, the core of the problem is that locales are global > > > state, > > > this is braindead design.) > > > > So fork() instead. This is a horrible solution > > Look at rest of functions, we already have av_isspace and etc. > And saying its horrible solution is disgrace to me.
That was probably uncalled for, sorry. It just irks me how awful libc is that one should have to reimplement everything it does.. /Tomas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel