forked from SDL-Hercules-390/hyperion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix day-1 CTCI/LCS bug found by Vince Weaver [[email protected]]
git-svn-id: file:///home/jj/hercules.svn/trunk@4426 956126f8-22a0-4046-8f4a-272fa8102e63
- Loading branch information
Fish (David B Trout)
committed
Jul 29, 2007
1 parent
87bb403
commit 58d1bbf
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
28 Jul 2007 Fix day-1 CTCI/LCS bug - Vince Weaver [[email protected]] by Fish | ||
24 Jul 2007 Force command-reject (until we can get it coded right) | ||
for 3590 Medium Sense (x'C2') and Mode Sense (x'CF') - Fish | ||
24 Jul 2007 Default to --blkid-32 and --no-erg for 3590 SCSI - Fish | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,9 @@ | |
// $Id$ | ||
// | ||
// $Log$ | ||
// Revision 1.67 2007/07/29 00:24:43 fish | ||
// (comment change only) | ||
// | ||
// Revision 1.66 2007/06/23 00:04:05 ivan | ||
// Update copyright notices to include current year (2007) | ||
// | ||
|
@@ -711,7 +714,9 @@ void CTCI_Read( DEVBLK* pDEVBLK, U16 sCount, | |
|
||
STORE_HW( pFrame->hwOffset, 0x0000 ); | ||
|
||
iLength = pCTCBLK->iFrameOffset + sizeof( CTCIHDR ) + 2; | ||
// (fix for day-1 bug offered by Vince Weaver [[email protected]]) | ||
// iLength = pCTCBLK->iFrameOffset + sizeof( CTCIHDR ) + 2; | ||
iLength = pCTCBLK->iFrameOffset + sizeof( CTCIHDR ); | ||
|
||
if( sCount < iLength ) | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ | |
// $Id$ | ||
// | ||
// $Log$ | ||
// Revision 1.64 2007/06/23 00:04:05 ivan | ||
// Update copyright notices to include current year (2007) | ||
// | ||
// Revision 1.63 2007/02/25 15:05:46 fish | ||
// Fix crash in LCS close if devinit of incomplete group | ||
// | ||
|
@@ -780,7 +783,9 @@ void LCS_Read( DEVBLK* pDEVBLK, U16 sCount, | |
// Terminate the frame buffer | ||
STORE_HW( pFrame->hwOffset, 0x0000 ); | ||
|
||
iLength = pLCSDEV->iFrameOffset + 2; | ||
// (fix for day-1 bug offered by Vince Weaver [[email protected]]) | ||
// iLength = pLCSDEV->iFrameOffset + 2; | ||
iLength = pLCSDEV->iFrameOffset; | ||
|
||
if( sCount < iLength ) | ||
{ | ||
|