[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/klaptopdaemon
From: Adriaan de Groot <groot () kde ! org>
Date: 2005-04-05 20:31:13
Message-ID: 20050405203113.064EC492 () office ! kde ! org
[Download RAW message or body]
CVS commit by adridg:
Use NULL, not 0, since (a) this is C (b) NULL is a pointer of the right size, for \
64-bit correctness; remove spurious /bin/sh invocation.
M +1 -1 acpi_helper.cpp 1.15
--- kdeutils/klaptopdaemon/acpi_helper.cpp #1.14:1.15
@@ -114,5 +114,5 @@ main(int argc, char **argv)
}
::setuid(::geteuid()); // otherwise \
bash will throw it away
- ::execl("/bin/sh", "-c", "/usr/sbin/hibernate", 0); // this is \
not KDE environment code + ::execl("/usr/sbin/hibernate", NULL); // \
this is not KDE environment code exit(0);
} else
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic