File: 20_maxpathlen

package info (click to toggle)
yasr 0.6.9-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 1,332 kB
  • sloc: ansic: 4,842; sh: 4,099; makefile: 67; sed: 16
file content (11 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
--- a/yasr/config.c.orig	2011-11-28 03:56:58.764995828 +0100
+++ a/yasr/config.c	2011-11-28 03:57:00.048967703 +0100
@@ -60,7 +60,7 @@
   int args, arg[16], *argp;
   int i, key, ln = 0, mode = 0;
   char *home, *ptr, *s;
-  char confname[MAXPATHLEN];
+  char confname[strlen(PACKAGE_DATA_DIR) + 10 + 1];
 
   if ((home = getenv("HOME")) != NULL)
   {