[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] [trunk] nfs_proc_symlink in dmesg



Hi Henrik,

This works fine (no more kernel messages).
Thank you for the solution.


Olivier


On 19/01/2009 10:46, Henrik Størner wrote:

You can probably avoid it by modifying bbdisplay/pagegen.c

Index: bbdisplay/pagegen.c
===================================================================
--- bbdisplay/pagegen.c	(revision 5898)
+++ bbdisplay/pagegen.c	(working copy)
@@ -786,7 +786,7 @@
 			sprintf(filename, "bb%s", htmlextension);
 			sprintf(rssfilename, "bb%s", rssextension);
 			sprintf(indexfilename, "index%s", htmlextension);
-			symlink(filename, indexfilename);
+			unlink(indexfilename); symlink(filename, indexfilename);
 			dbgprintf("Symlinking %s -> %s\n", filename, indexfilename);
 		}
 		else {