mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 16:38:01 +00:00
16 lines
425 B
Diff
16 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;
|
|
|