diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2016-02-18 05:04:32 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2016-02-18 05:04:32 +0000 |
commit | 98695da4d893ba7ece51ec517a605780dd655b0a (patch) | |
tree | b9d2dc97ed0492b674d89702d1fab02e60af4635 | |
parent | a615ba91bae0b9c2653ae7ef3c1d909ecf055530 (diff) | |
download | sg3_utils-98695da4d893ba7ece51ec517a605780dd655b0a.tar.gz |
fixes found while releasing 1.42
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@664 6180dd3e-e324-4e3e-922d-17de1ae2f315
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | README.win32 | 10 | ||||
-rw-r--r-- | src/sg_compare_and_write.c | 4 |
3 files changed, 15 insertions, 4 deletions
@@ -2,6 +2,9 @@ Each utility has its own version number, date of last change and some description at the top of its ".c" file. All utilities in the main directory have their own "man" pages. There is also a sg3_utils man page. +Changelog for sg3_utils-1.43 [20160218] [svn: r664] + - bump version + Changelog for sg3_utils-1.42 [20160217] [svn: r663] - sg_timestamp: new, to report or set timestamp - sg_read_attr: new, supported by tape drives @@ -23,7 +26,7 @@ Changelog for sg3_utils-1.42 [20160217] [svn: r663] Minimum and Threshold percentage fields - rework lto tape vendor VPD pages - sg_inq+sg_vpd+sg_xcopy: add support for locally - assigned UUIDs in VPD page 0x83 (15-267r2) + assigned UUIDs in VPD page 0x83 (spc5r08) - sg_sanitize: add --znr option (sbc4r07) - sg_rep_zones: add --partial option (zbc-r04) - sg_format: add ffmt option (sbc4r10) diff --git a/README.win32 b/README.win32 index cfce3ed3..264a8458 100644 --- a/README.win32 +++ b/README.win32 @@ -48,12 +48,15 @@ Here is a list of utilities that have been ported: sg_prevent sg_raw sg_rdac + sg_read_attr sg_read_block_limits sg_read_buffer sg_read_long sg_readcap sg_reassign sg_referrals + sg_rep_zones + sg_reset_wp sg_requests sg_rmsn sg_rtpg @@ -61,13 +64,16 @@ Here is a list of utilities that have been ported: sg_sanitize sg_sat_identify sg_sat_phy_event + sg_sat_read_gplog sg_sat_set_features sg_scan [this is Windows specific] sg_senddiag sg_ses + sg_ses_microcode sg_start sg_stpg sg_sync + sg_timestamp sg_turs sg_unmap sg_verify @@ -76,6 +82,8 @@ Here is a list of utilities that have been ported: sg_write_buffer sg_write_long sg_write_same + sg_write_verify + sg_zones Most utility names are indicative of the main SCSI command that they execute. Some utilities are slightly higher level, for example sg_ses fetches SCSI @@ -230,4 +238,4 @@ mode" with the setmode() Windows command. Douglas Gilbert -24th September 2014 +17th February 2016 diff --git a/src/sg_compare_and_write.c b/src/sg_compare_and_write.c index c274403f..02f91067 100644 --- a/src/sg_compare_and_write.c +++ b/src/sg_compare_and_write.c @@ -29,7 +29,6 @@ */ #ifndef __sun -#define _XOPEN_SOURCE 500 #ifndef _GNU_SOURCE #define _GNU_SOURCE 1 #endif @@ -38,6 +37,7 @@ #include <unistd.h> #include <fcntl.h> #include <stdlib.h> +#include <stdio.h> #include <string.h> #include <errno.h> #define __STDC_FORMAT_MACROS 1 @@ -53,7 +53,7 @@ #include "sg_unaligned.h" #include "sg_pr2serr.h" -static const char * version_str = "1.14 20160121"; +static const char * version_str = "1.15 20160217"; #define DEF_BLOCK_SIZE 512 #define DEF_NUM_BLOCKS (1) |