#8481: strncpy doesn't pad the destination string with NULs ---------------------------------+---------------------------- Reporter: hamish | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/libroot.so | Version: R1/Development Resolution: | Keywords: strncpy Blocked By: | Blocking: Has a Patch: 1 | Platform: All ---------------------------------+---------------------------- Comment (by tqh): Interesting probably hard to do better, maybe align writes on four bytes to ease up on the write combining. Btw I've been looking at {{{-D__NO_STRING_INLINES}}} as a build parameter, which from what I can tell, tells gcc to not trust glib with inlining but do it in gcc. This might be the wrong assumption though as it is very poorly documented. -- Ticket URL: <http://dev.haiku-os.org/ticket/8481#comment:8> Haiku <http://dev.haiku-os.org> Haiku - the operating system.