12 lines
287 B
Diff
12 lines
287 B
Diff
--- mdopen.c
|
|
+++ mdopen.c
|
|
@@ -88,7 +88,7 @@
|
|
if (chmod(name, stb2.st_mode & 07777))
|
|
perror("chmod");
|
|
} else {
|
|
- snprintf(sym, 10000, "%s%s%d", orig, odig?"p":"", i);
|
|
+ snprintf(sym, 1024, "%s%s%d", orig, odig?"p":"", i);
|
|
symlink(sym, name);
|
|
}
|
|
stat(name, &stb2);
|