Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beta-16 : prevent strange characters from model name #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
v0.3 beta16 (not yet released)
v0.3 beta17 (not yet released)
=============================
* --foreground added
* Fix some error messages wrongly ouput to stdout instead of stderr
Expand All @@ -7,6 +7,10 @@ v0.3 beta16 (not yet released)
is not present in hddtemp.db.
* Update config.{guess,sub}

v0.3 beta16 (not yet released)
=============================
* Fix invalid characters on the disk model name

v0.3 beta15
=============================
* --fahrenheit option removed and replace by --unit
Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@ fi

# Define the identity of the package.
PACKAGE=hddtemp
VERSION=0.3-beta15
VERSION=0.3-beta16


cat >>confdefs.h <<_ACEOF
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AC_CONFIG_HEADERS([config.h])
# Determine the host and build type. The target is always a PIC.
AC_CANONICAL_HOST

AM_INIT_AUTOMAKE(hddtemp, 0.3-beta15)
AM_INIT_AUTOMAKE(hddtemp, 0.3-beta16)

dnl Checks for programs.
AC_PROG_CC
Expand Down
2 changes: 1 addition & 1 deletion src/sata.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static const char *sata_model (int device) {
return strdup(_("unknown"));
else
{
sata_fixstring(identify + 54, 24);
sata_fixstring(identify + 54, 40);
return strdup(identify + 54);
}
}
Expand Down