diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-05 12:22:07 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-05 12:22:07 +0000 |
commit | 81bd031a0e62167edea6145d2c961a19a7162c05 (patch) | |
tree | 61675636d84fde9f39e4d6d9be1965f063668248 /kde-base/klaptopdaemon/files | |
parent | Copyright Header change (diff) | |
download | historical-81bd031a0e62167edea6145d2c961a19a7162c05.tar.gz historical-81bd031a0e62167edea6145d2c961a19a7162c05.tar.bz2 historical-81bd031a0e62167edea6145d2c961a19a7162c05.zip |
Remove old file.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'kde-base/klaptopdaemon/files')
-rw-r--r-- | kde-base/klaptopdaemon/files/acpi_helper.diff | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/kde-base/klaptopdaemon/files/acpi_helper.diff b/kde-base/klaptopdaemon/files/acpi_helper.diff deleted file mode 100644 index e826c047e5b6..000000000000 --- a/kde-base/klaptopdaemon/files/acpi_helper.diff +++ /dev/null @@ -1,53 +0,0 @@ -cvs -f log -N -r1.13 acpi_helper.cpp - -RCS file: /home/kde/kdeutils/klaptopdaemon/acpi_helper.cpp,v -Working file: acpi_helper.cpp -head: 1.13 -branch: -locks: strict -access list: -keyword substitution: kv -total revisions: 14; selected revisions: 1 -description: ----------------------------- -revision 1.13 -date: 2005/01/09 18:47:02; author: mueller; state: Exp; lines: +3 -3 -do not allow to overwrite files outside /proc -CCBUG: 96644 -============================================================================= -cvs -f diff -bp -u -r1.12 -r1.13 acpi_helper.cpp -Index: acpi_helper.cpp -=================================================================== -RCS file: /home/kde/kdeutils/klaptopdaemon/acpi_helper.cpp,v -retrieving revision 1.12 -retrieving revision 1.13 -diff -b -p -u -r1.12 -r1.13 ---- klaptopdaemon/acpi_helper.cpp 19 Aug 2003 21:16:36 -0000 1.12 -+++ klaptopdaemon/acpi_helper.cpp 9 Jan 2005 18:47:02 -0000 1.13 -@@ -123,7 +123,7 @@ main(int argc, char **argv) - i++; - if (i >= argc) - break; -- if (strlen(argv[i]) > 50) -+ if (strlen(argv[i]) > 50 || strchr(argv[i], '/')) - break; - snprintf(tmp, sizeof(tmp), "/proc/acpi/processor/%s/throttling", argv[i]); - tmp[sizeof(tmp)-1] = 0; -@@ -151,7 +151,7 @@ main(int argc, char **argv) - i++; - if (i >= argc) - break; -- if (strlen(argv[i]) > 50) -+ if (strlen(argv[i]) > 50 || strchr(argv[i], '/')) - break; - snprintf(tmp, sizeof(tmp), "/proc/acpi/processor/%s/performance", argv[i]); - tmp[sizeof(tmp)-1] = 0; -@@ -206,7 +206,7 @@ main(int argc, char **argv) - if (strncmp(argv[i], "--cpufreq", 9) == 0 || strncmp(argv[i], "-cpufreq", 8) == 0) { - if ((i+1) >= argc) - break; -- if (strlen(argv[i+1]) > 50) -+ if (strlen(argv[i+1]) > 50 || strchr(argv[i+1], '/')) - break; - int val; - char tmp[256]; |