SOURCES: GwifiMeter-user_path.patch (NEW) - dirty patch

wolvverine wolvverine at pld-linux.org
Mon May 8 14:10:48 CEST 2006


Author: wolvverine                   Date: Mon May  8 12:10:47 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- dirty patch

---- Files affected:
SOURCES:
   GwifiMeter-user_path.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/GwifiMeter-user_path.patch
diff -u /dev/null SOURCES/GwifiMeter-user_path.patch:1.1
--- /dev/null	Mon May  8 14:10:47 2006
+++ SOURCES/GwifiMeter-user_path.patch	Mon May  8 14:10:42 2006
@@ -0,0 +1,12 @@
+diff -uNr GwifiMeter.orig/callback.c GwifiMeter/callback.c
+--- GwifiMeter.orig/callback.c	2006-05-02 09:57:45.000000000 +0200
++++ GwifiMeter/callback.c	2006-05-08 13:51:23.000000000 +0200
+@@ -176,7 +176,7 @@
+ char *user;
+ user = readfunc("whoami",NULL,NULL,1);
+ pdata->user = g_realloc(pdata->user,strlen(user)+19);
+-strcpy(pdata->user,"/home/");
++strcpy(pdata->user,"/home/users/");
+ strcat(pdata->user,user);
+ strcat(pdata->user,"/.gwifimeter");
+ //printf("%s\n",pdata->user);
================================================================


More information about the pld-cvs-commit mailing list