[Pkg-acpi-devel] Bug#609276: acpi-support: use a smaller canon (no forks) to edit /tmp/.X11-unix/* file paths

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sat Jan 8 00:48:32 UTC 2011

Package: acpi-support
Version: 0.138-6
Severity: normal
Tags: patch

General case:

	for x in /tmp/.X11-unix/*; do
		displaynum=`echo $x | sed s#/tmp/.X11-unix/X##`

replaced with:

	for x in $d/*; do

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpi-support depends on:
ii  acpi-fakekey                  0.138-6    tool to generate fake key events
ii  acpi-support-base             0.138-6    scripts for handling base ACPI eve
ii  acpid                         1:2.0.7-1  Advanced Configuration and Power I
ii  lsb-base                      3.2-26     Linux Standard Base 3.2 init scrip
ii  pm-utils                      1.3.0-3    utilities and scripts for power ma
ii  x11-xserver-utils             7.5+2      X server utilities

Versions of packages acpi-support recommends:
ii  dbus                          1.2.24-4   simple interprocess messaging syst
pn  radeontool                    <none>     (no description available)
ii  vbetool                       1.1-2      run real-mode video BIOS code to a
pn  xscreensaver | gnome-screensa <none>     (no description available)

Versions of packages acpi-support suggests:
ii  rfkill                        0.4-1      tool for enabling and disabling wi
ii  xinput                        1.5.3-1    Runtime configuration and test of

-- no debconf information


-------------- next part --------------
A non-text attachment was scrubbed...
Name: get-displaynum-in-a-more-efficient-manner.patch
Type: text/x-diff
Size: 2548 bytes
URL: <http://lists.alioth.debian.org/pipermail/pkg-acpi-devel/attachments/20110108/933faf3d/attachment.patch>

More information about the Pkg-acpi-devel mailing list