[Pkg-wmaker-commits] [wmbattery] 74/241: * Minor bug fix to acpi code, don't skip over dotfiles.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:37:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmbattery.
commit 86270c2599f556b35369e04c685587f90531690b
Author: joey <joey at a4a2c43b-8ac3-0310-8836-e0e880c912e2>
Date: Thu Jan 25 03:19:15 2007 +0000
* Minor bug fix to acpi code, don't skip over dotfiles.
---
acpi.c | 4 ++--
debian/changelog | 6 ++++++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/acpi.c b/acpi.c
index 1d96d11..d9433fb 100644
--- a/acpi.c
+++ b/acpi.c
@@ -168,8 +168,8 @@ int find_items (char *itemname, char infoarray[ACPI_MAXITEM][128],
if (dir == NULL)
return 0;
while ((ent = readdir(dir))) {
- if (!strncmp(".", ent->d_name, 1) ||
- !strncmp("..", ent->d_name, 2))
+ if (!strcmp(".", ent->d_name) ||
+ !strcmp("..", ent->d_name))
continue;
devices[num_devices]=strdup(ent->d_name);
diff --git a/debian/changelog b/debian/changelog
index 5a867ad..42bb321 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+wmbattery (2.27) UNRELEASED; urgency=low
+
+ * Minor bug fix to acpi code, don't skip over dotfiles.
+
+ -- Joey Hess <joeyh at debian.org> Wed, 24 Jan 2007 22:18:51 -0500
+
wmbattery (2.26) unstable; urgency=medium
* Add missing build dep on libxt-dev. Closes: #379247
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbattery.git
More information about the Pkg-wmaker-commits
mailing list