summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-20 07:00:35 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-20 07:00:35 +0000
commit8e5aa2e8de95e52d233d35dfa7c8f0cfc8b1795d (patch)
treeaa3a4a6c245bbf2c7a690e32c78b5a00d3ab1c87 /sys-apps/hdparm
parentVersion bump #144390 by Conrad Kostecki. (diff)
downloadhistorical-8e5aa2e8de95e52d233d35dfa7c8f0cfc8b1795d.tar.gz
historical-8e5aa2e8de95e52d233d35dfa7c8f0cfc8b1795d.tar.bz2
historical-8e5aa2e8de95e52d233d35dfa7c8f0cfc8b1795d.zip
make sure we force locale to C when checking error messages #144407 by Daniel Pielmeier
Package-Manager: portage-2.1.1_pre5-r2
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r--sys-apps/hdparm/Manifest14
-rw-r--r--sys-apps/hdparm/files/hdparm-init-72
2 files changed, 8 insertions, 8 deletions
diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest
index b96aa4612417..9cb4600f9487 100644
--- a/sys-apps/hdparm/Manifest
+++ b/sys-apps/hdparm/Manifest
@@ -5,10 +5,10 @@ AUX hdparm-conf.d.3 430 RMD160 2c075ab3bf51286999860e2fa08989327bbaa1e3 SHA1 994
MD5 7905eb90e421523aa0c7f32f3d16b1fe files/hdparm-conf.d.3 430
RMD160 2c075ab3bf51286999860e2fa08989327bbaa1e3 files/hdparm-conf.d.3 430
SHA256 e3d8ce9928385e25abd388cf2d169198e03129f41d3eca1f23c96fdbe54f3462 files/hdparm-conf.d.3 430
-AUX hdparm-init-7 3017 RMD160 93fc676ec01c255a49dea0ab4536a6854e523387 SHA1 31b7fb64737c0784d561e3fcc5fd28285717fda0 SHA256 a2ebb3b6e9c0438574b2c68b2a77373b949ebf08e729793203d2ea62d4d32878
-MD5 98f20543812ea2ae5eeacfefe03e8826 files/hdparm-init-7 3017
-RMD160 93fc676ec01c255a49dea0ab4536a6854e523387 files/hdparm-init-7 3017
-SHA256 a2ebb3b6e9c0438574b2c68b2a77373b949ebf08e729793203d2ea62d4d32878 files/hdparm-init-7 3017
+AUX hdparm-init-7 3035 RMD160 02bb3fe798bf06a92b8efecdac05ca0e1a93f6b4 SHA1 1efa001950e03a0d9d7d41612a226b33012d7680 SHA256 3fac7413db0114514d5bd98daa929eed24050e24218620112ce78e2abca3759a
+MD5 76c34a2d50f3729f2dafda7015c5ee6c files/hdparm-init-7 3035
+RMD160 02bb3fe798bf06a92b8efecdac05ca0e1a93f6b4 files/hdparm-init-7 3035
+SHA256 3fac7413db0114514d5bd98daa929eed24050e24218620112ce78e2abca3759a files/hdparm-init-7 3035
DIST hdparm-6.3.tar.gz 44052 RMD160 dff66236938b7d3f60fe43505b4c0d8f4dce2386 SHA1 013ebdf957bbbd53889e910012f552343eeff4b6 SHA256 08688a6a46ba495494bf838f8f26103e797584c1888eca94e43a171e1b37246d
DIST hdparm-6.6.tar.gz 45538 RMD160 714fbc5216bdb427c7e817649f3c4f5462620c13 SHA1 8d288e0c22d7ff5968f5fa507bbf56703b2f6ed9 SHA256 7e2db39a4e1f41bb327a9a8ef9e5e8359aaed0cc78e642a4ca67659629e3048b
EBUILD hdparm-6.3.ebuild 980 RMD160 11c3db030680e8b5c0276df08c0f15d34e580336 SHA1 31ebf531dd5145c33e641eccb806bd4e7cbaa976 SHA256 192af9cb347beb7b9ac72a280866ad845f7e6000af584b84ca15a28cba17665a
@@ -36,7 +36,7 @@ SHA256 ffaad577c213d99ad547fddf0d22ad6e096114ff29fbca4d39216acc73ac0e46 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-iD8DBQFE5+P3amhnQswr0vIRAgNTAJ0UqS0JbTFgkz7FZRVmMAbmXHZYsACcDX1+
-4ay4upu/QIRvniQRMRcp5hI=
-=zDzv
+iD8DBQFE6AjdamhnQswr0vIRAuL1AJwIgPtv2xatcssJt4Yvbx7IBx8qRACgiJBY
+XmhB08cm31rDWv9/eNj0IP0=
+=5aVI
-----END PGP SIGNATURE-----
diff --git a/sys-apps/hdparm/files/hdparm-init-7 b/sys-apps/hdparm/files/hdparm-init-7
index 7f43dfd5098e..72c16ed86532 100644
--- a/sys-apps/hdparm/files/hdparm-init-7
+++ b/sys-apps/hdparm/files/hdparm-init-7
@@ -121,7 +121,7 @@ scan_nondevfs() {
# check that the block device really exists by
# opening it for reading
local errmsg status
- errmsg=$(: 2>&1 <$device)
+ errmsg=$(export LC_ALL=C ; : 2>&1 <$device)
status=$?
if [[ -b $device ]] && \
[[ ${status} == 0 || ${errmsg} == *": No medium found" ]]