mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-22 09:27:32 -08:00
17 lines
425 B
Diff
17 lines
425 B
Diff
https://cgit.freebsd.org/ports/tree/databases/libodbc++/files/patch-src-datetime.cpp
|
|
https://bugs.gentoo.org/855887
|
|
|
|
(Given the source, possibly fixes libcxx too?)
|
|
--- a/src/datetime.cpp
|
|
+++ b/src/datetime.cpp
|
|
@@ -272,7 +272,7 @@
|
|
# endif
|
|
#endif
|
|
,ODBCXX_STRING_CONST("%09d"),nanos_);
|
|
- buf[9] = NULL;// Terminate string
|
|
+ buf[9] = '\0';// Terminate string
|
|
ret+=ODBCXX_STRING(buf);
|
|
}
|
|
return ret;
|
|
|