[Libreoffice-commits] online.git: Branch 'libreoffice-5-4' - tools/map.cpp
Tor Lillqvist
tml at collabora.com
Thu Jan 25 23:13:23 UTC 2018
tools/map.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cb1bdf3a7325bc9be4cc4cb965a77aa1c40817d7
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Oct 26 12:02:28 2017 +0300
Avoid warning: ā%sā directive output may be truncated writing up to 255 bytes
... into a region of size 58
Change-Id: I725c537ed21553e9dc34ba006a39917e1549b6a7
(cherry picked from commit a0b82c9fdb8bc4db967d1f589092a99d72f657e7)
Reviewed-on: https://gerrit.libreoffice.org/48628
Reviewed-by: Tor Lillqvist <tml at collabora.com>
Tested-by: Tor Lillqvist <tml at collabora.com>
diff --git a/tools/map.cpp b/tools/map.cpp
index 9ed47193..e5e16777 100644
--- a/tools/map.cpp
+++ b/tools/map.cpp
@@ -21,7 +21,7 @@
#include <locale.h>
#define MAP_SIZE 20
-#define PATH_SIZE 64
+#define PATH_SIZE 1000 // No harm in having it much larger than strictly necessary. Avoids compiler warning.
#define BUFFER_SIZE 9600
static int read_buffer(char *buffer, unsigned size,
More information about the Libreoffice-commits
mailing list