🙃The world is full of pain, but we can fix it with love!
Libc/POSIX Function "Extensions"
|
272 words
Recently, I’ve been working on porting some libraries to GNU/Hurd. Many (old)
libraries use *_MAX constants on POSIX system
interfaces
to calculate buffer sizes. However, the GNU/Hurd maintainers urge against the
blind use of them and refuse to define them in system headers. When old APIs are
gone, compatibility problems come. To make my life easier, I’ll put some
reusable code snippets here to help fix *_MAX bugs.