Skip to contentSkip to conversation

2.4.19-pre10, there is still bug in mkdep.c

PATCH Yaroslav Popovitch 2 participants 2 messages Jun 14, 2002 Kbuild

lore
Share & tools
lore
#0 lore raw

Rusty Russell sent a patch which fix PATH_MAX bug, but I checked and found that patch for mkdep.c was not applied For more info see:
http://www.cs.helsinki.fi/linux/linux-kernel/2002-02/0242.html

scripts/mkdep.c.mod Fri Jun 14 15:30:56 2002 renamed from scripts/mkdep.c Thu Jun 13 22:01:57 2002 +0 -0
@@ -218,7 +218,7 @@

void add_path(const char * name)

{
       struct path_struct *path;
-       char resolved_path[PATH_MAX+1];
+       char resolved_path[PATH_MAX];
       const char *name2;

       if (strcmp(name, ".")) {

Cheers,YP

Signature · 4 lines
Mr. Yaroslav Popovitch     			- tel. +372 6419975
SOT Finnish Software Engineering Ltd.   	- fax  +372 6419876
Kreutzwaldi 7-4, 10124  TALLINN         	- http://www.sot.com/
ESTONIA                                 	- http://sotlinux.net/