Tee KOBAYASHI aba375cf7e Revert "exiv2: Use source from current HEAD of main branch"
This reverts commit 81ceda4949e238b3801cc01ee60d3e433316561b.
2022-05-01 16:31:30 +09:00

12 lines
386 B
Diff

--- ../exiv2json.cpp.orig 2019-05-31 21:32:41.319959442 +0200
+++ ./samples/exiv2json.cpp 2019-05-31 21:33:11.399959231 +0200
@@ -236,7 +236,7 @@
{
Jzon::Object& fs = (Jzon::Object&) nfs;
fs.Add("path",path);
- char resolved_path[2000]; // PATH_MAX];
+ char resolved_path[PATH_MAX];
fs.Add("realpath",realpath(path,resolved_path));
struct stat buf;