From 84c66c5b2d302c8e49bb4a879b4c6c8c8ebca93b Mon Sep 17 00:00:00 2001 From: jhering <jhering@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Wed, 4 Jun 2008 10:13:58 +0000 Subject: [PATCH] now support QNX Target for C++ git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2573 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/.cvsignore | 1 + sm5/CHANGELOG | 19 +++++++++++-------- sm5/NEWS | 4 ++-- sm5/smartctl.cpp | 3 ++- 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/sm5/.cvsignore b/sm5/.cvsignore index be96c9ff4..5fafb7f89 100644 --- a/sm5/.cvsignore +++ b/sm5/.cvsignore @@ -45,3 +45,4 @@ stamp-h.in stamp-h1 writelog.c SMART +.project diff --git a/sm5/CHANGELOG b/sm5/CHANGELOG index cf03dbd50..e106d4a90 100644 --- a/sm5/CHANGELOG +++ b/sm5/CHANGELOG @@ -1,28 +1,28 @@ CHANGELOG for smartmontools -$Id: CHANGELOG,v 1.685 2008/05/30 19:35:04 chrfranke Exp $ +$Id: CHANGELOG,v 1.686 2008/06/04 10:13:57 jhering Exp $ The most recent version of this file is: http://smartmontools.cvs.sourceforge.net/smartmontools/sm5/CHANGELOG?view=markup Maintainers / Developers Key: [BA] Bruce Allen -[EB] Erik Inge Bols� +[EB] Erik Inge Bols� [SB] Stanislav Brabec [PC] Peter Cassidy [MC] Matthieu Castet [YD] Yuri Dario [CD] Casper Dik [CF] Christian Franke -[GF] Guilhem Fr�zou +[GF] Guilhem Fr�zou [DG] Douglas Gilbert [GG] Guido Guenther [GK] Geoff Keating [DK] Dr. David Kirkby [JH] Joerg Hering -[KM] Kai M�kisara +[KM] Kai M�kisara [EM] Eduard Martinescu -[FM] Fr�d�ric L. W. Meunier +[FM] Fr�d�ric L. W. Meunier [KS] Keiji Sawada [DS] David Snyder [SS] Sergey Svishchev @@ -37,6 +37,9 @@ NOTES FOR FUTURE RELEASES: see TODO file. <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> + [JH] now C++ Support for QNX Target + allready tested for QNX 6.3.2 on x86 and armle target + [CF] Allow to set BUILD_INFO from make command line. [CF] Windows: Add MSVC8 support, remove MSVC6 project files. @@ -95,7 +98,7 @@ NOTES FOR FUTURE RELEASES: see TODO file. descriptor. The descriptor is otherwise leaked to other applications (mail sender) which may be considered a security risk and may result in AVC messages on SELinux-enabled systems. - Thanks to: Tom� Smetana" <tsmetana@redhat.com>. + Thanks to: Tom� Smetana" <tsmetana@redhat.com>. [BA] smartd: when sending email, to gather information about the host for the body of the email, eliminate gethostbyname() @@ -104,7 +107,7 @@ NOTES FOR FUTURE RELEASES: see TODO file. http://udrepper.livejournal.com/16116.html and here http://people.redhat.com/drepper/userapi-ipv6.html - Thanks to: Tom� Smetana" <tsmetana@redhat.com>. + Thanks to: Tom� Smetana" <tsmetana@redhat.com>. Smartmontools developers: please check that smartd still LINKS properly on your systems. @@ -429,7 +432,7 @@ smartmontools 5.37 Experimental Release and T series. [GG] Add CCISS (Compaq Smart Array Controller) support with contributions - from Praveen Chidambaram, Douglas Gilbert, Guido Guenther and Fr�d�ric + from Praveen Chidambaram, Douglas Gilbert, Guido Guenther and Fr�d�ric BOITEUX [PW] Drive database: added Hitachi Deskstar T7K250 and Hitachi diff --git a/sm5/NEWS b/sm5/NEWS index bc3683e7d..636ba9db7 100644 --- a/sm5/NEWS +++ b/sm5/NEWS @@ -1,6 +1,6 @@ smartmontools NEWS ------------------ -CVS ID: $Id: NEWS,v 1.35 2008/03/10 10:44:30 ballen4705 Exp $ +CVS ID: $Id: NEWS,v 1.36 2008/06/04 10:13:58 jhering Exp $ The most up-to-date version of this file is: http://smartmontools.cvs.sourceforge.net/smartmontools/sm5/NEWS?view=markup @@ -10,7 +10,7 @@ Summary: smartmontools release 5.38 (STABLE) -------------------------------------------- This is a stable release of smartmontools. In addition to changes below, it includes: - + - now C++ Support for QNX Target, allready tested for QNX 6.3.2 on x86 and armle target - Libata/Marvell driver devices no longer need explicit '-d' switch - DEVICESCAN automatically detects libata/marvell driver SATA devices - Fixed auto-offline/autosave support in FreeBSD diff --git a/sm5/smartctl.cpp b/sm5/smartctl.cpp index fa73da28f..877133919 100644 --- a/sm5/smartctl.cpp +++ b/sm5/smartctl.cpp @@ -42,6 +42,7 @@ #if defined(__QNXNTO__) #include <unistd.h> +#include <new> #endif @@ -62,7 +63,7 @@ extern const char *os_solaris_ata_s_cvsid; extern const char *cciss_c_cvsid; #endif extern const char *atacmdnames_c_cvsid, *atacmds_c_cvsid, *ataprint_c_cvsid, *knowndrives_c_cvsid, *os_XXXX_c_cvsid, *scsicmds_c_cvsid, *scsiprint_c_cvsid, *utility_c_cvsid; -const char* smartctl_c_cvsid="$Id: smartctl.cpp,v 1.178 2008/04/30 18:53:28 mat-c Exp $" +const char* smartctl_c_cvsid="$Id: smartctl.cpp,v 1.179 2008/06/04 10:13:58 jhering Exp $" ATACMDS_H_CVSID ATAPRINT_H_CVSID CONFIG_H_CVSID EXTERN_H_CVSID INT64_H_CVSID KNOWNDRIVES_H_CVSID SCSICMDS_H_CVSID SCSIPRINT_H_CVSID SMARTCTL_H_CVSID UTILITY_H_CVSID; // This is a block containing all the "control variables". We declare -- GitLab