Commit Graph

24 Commits

Author SHA1 Message Date
dpgilbert 278dfc922e [SCSI]: more work for calling REPORT SUPPORTED OPERATION CODES [RSOC] command
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5393 4ea69e1a-61f1-4043-bf83-b5c94c648137
2022-05-29 05:08:10 +00:00
dpgilbert acf66f25c6 [SCSI]: prepare for calling REPORT SUPPORTED OPERATION CODES command and associated work
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5392 4ea69e1a-61f1-4043-bf83-b5c94c648137
2022-05-28 02:33:52 +00:00
samm-git 582ce40918 os_openbsd.cpp: fix SAT autodetection for the sd* devices (#1467)
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5215 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-04-07 06:42:07 +00:00
chrfranke 92bc2eeddd os_openbsd.cpp: Apply conversion to seconds for timeouts in scsi_pass_through
(#1466).

Patch by Martin Ziemer.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5214 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-03-24 16:55:04 +00:00
chrfranke c8e6494bfd os_openbsd.cpp: Use correct devicename for autodetection (#1465).
Patch by Martin Ziemer.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5213 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-03-24 16:52:01 +00:00
chrfranke 8c38911787 Add C++11 'override' specifier where applicable (cppcheck: missingOverride).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5198 4ea69e1a-61f1-4043-bf83-b5c94c648137
2021-02-01 20:36:02 +00:00
chrfranke aa1398de6f Remove all occurrences of the throw() specifier.
This specifier is deprecated since C++11.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5089 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-10-06 15:31:47 +00:00
samm-git 9c2f3a3806 Move os_openbsd.cpp to the new API (#102) and other related fixes
os_netbsd.cpp: fix timeout handling
os_openbsd.cpp (based on Marek Benc GH request):
 - Migrate to the new API (#102)
 - Fix for the ATA registries on the BE arc (GH PR #56)
 - Fix timeout handling (GH PR #56)


git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5063 4ea69e1a-61f1-4043-bf83-b5c94c648137
2020-06-05 09:53:42 +00:00
chrfranke c17163f257 Fix many typos.
Patch provided by Harry Mallon.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4842 4ea69e1a-61f1-4043-bf83-b5c94c648137
2018-12-02 16:07:26 +00:00
chrfranke 7676eaa74b Makefile.am: Remove define of 'HAVE_GETOPT_LONG'.
os*.cpp: Remove remaining checks for 'HAVE_GETOPT_LONG'.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4773 4ea69e1a-61f1-4043-bf83-b5c94c648137
2018-09-12 20:14:44 +00:00
chrfranke e391466f18 Add SPDX-License-Identifier to all files with GPL header (#919).
Remove GPL headers.  Remove outdated info about smartsuite.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4760 4ea69e1a-61f1-4043-bf83-b5c94c648137
2018-08-19 18:45:53 +00:00
chrfranke 85ce484ba3 Remove int64.h, use <inttypes.h> or <stdint.h> instead.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4746 4ea69e1a-61f1-4043-bf83-b5c94c648137
2018-08-04 19:09:46 +00:00
chrfranke 8d9baf5e62 Update smartmontools-support mailing list address.
Remove old mailing list address from all source files.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4431 4ea69e1a-61f1-4043-bf83-b5c94c648137
2017-08-08 19:38:15 +00:00
chrfranke 1ab2dfba39 os_openbsd.cpp: Compile fix (regression from r4156).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4321 4ea69e1a-61f1-4043-bf83-b5c94c648137
2016-05-10 13:43:10 +00:00
chrfranke 25c9760961 os_freebsd.cpp, os_netbsd.cpp, os_openbsd.cpp, os_solaris.cpp, utility.cpp:
Remove variable 'bytes'.  Only used for a memory leak check which was removed
in r2629 (2008-08-29).

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4253 4ea69e1a-61f1-4043-bf83-b5c94c648137
2016-03-26 19:47:47 +00:00
samm-git 71f1c3a358 fix some of the cppcheck warnings
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4205 4ea69e1a-61f1-4043-bf83-b5c94c648137
2016-01-22 15:22:53 +00:00
samm-git cdc9ee1cfe os_openbsd.cpp,os_netbsd.cpp,os_darwin.cpp - minor fixes related to error handling
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4190 4ea69e1a-61f1-4043-bf83-b5c94c648137
2015-12-18 11:24:55 +00:00
samm-git ade34b2d00 fixes suggested by cppcheck: check realloc result to avoid memory leak (memleakOnRealloc), Fix printf() signednsess (invalidPrintfArgType_sint)
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4156 4ea69e1a-61f1-4043-bf83-b5c94c648137
2015-10-18 12:20:40 +00:00
samm-git 8e19682846 Update homepage URL to the www.smartmontools.org
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4120 4ea69e1a-61f1-4043-bf83-b5c94c648137
2015-08-27 16:12:21 +00:00
samm-git de42d2085d Update FSF postal address in all files, patch by Stanislav Brabec
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@3727 4ea69e1a-61f1-4043-bf83-b5c94c648137
2012-12-13 17:23:06 +00:00
samm-git 671bcdda66 OpenBSD: remove dummy functions
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@3715 4ea69e1a-61f1-4043-bf83-b5c94c648137
2012-11-25 22:53:48 +00:00
chrfranke 7967ca094d os_netbsd.cpp, os_openbsd.cpp: Add missing <errno.h>
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@3265 4ea69e1a-61f1-4043-bf83-b5c94c648137
2011-02-21 16:21:14 +00:00
chrfranke 2156a75153 OpenBSD: Fix DEVICESCAN for OpenBSD >= 4.8 (Ticket #123).
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@3207 4ea69e1a-61f1-4043-bf83-b5c94c648137
2010-11-15 20:22:15 +00:00
chrfranke c0f7d1c3fd Rename trunk/sm5 to trunk/smartmontools.
git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@2841 4ea69e1a-61f1-4043-bf83-b5c94c648137
2009-07-17 14:31:11 +00:00