Browse Source

increase timespec buffer len

master
Boian Bonev 2 months ago
parent
commit
73a7c7a5a2
2 changed files with 12 additions and 0 deletions
  1. +11
    -0
      debian/patches/increase-timespec-len.patch
  2. +1
    -0
      debian/patches/series

+ 11
- 0
debian/patches/increase-timespec-len.patch View File

@@ -0,0 +1,11 @@
--- a/timespec.h
+++ b/timespec.h
@@ -160,7 +160,7 @@ static inline void TS_NORM( struct times
(ts)->tv_nsec = (long)((ms % 1000000) * 1000L); \
} while (0)
-#define TIMESPEC_LEN 22 /* required length of a timespec buffer */
+#define TIMESPEC_LEN 42 /* required length of a timespec buffer */
extern const char *timespec_str(const struct timespec *, char *, size_t);

+ 1
- 0
debian/patches/series View File

@@ -8,3 +8,4 @@ spelling1
spelling2
desktop-add-keywords
change-table-format
increase-timespec-len.patch

Loading…
Cancel
Save