www.delorie.com/djgpp/bugs/show.cgi   search  
Bug 000134

When Created: 02/02/1997 16:56:54
Against DJGPP version: 2.01
By whom: brennan@rt66.com
Abstract: _go32_info_block.size_of_transfer_buffer wrong when bufsize=64k
When stubedit is used to set the bufsize=64k,
_go32_info_block.size_of_transfer_buffer is set to 2160.

Tested with:
#include <go32.h>

int main() {
  printf("size of tb %d\n", _go32_info_block.size_of_transfer_buffer);
  exit(0);
}

stubedit a.exe bufsize=64k

C:\>a
size of tb 2160

This does not come up with bufsize 63k or any lower value k I can determine.
It does not matter if stubedit is in interactive mode or not.

Solution added: 04/12/1999 12:00:47
By whom: eliz@is.elta.co.il
Solved in v2.02.  64KB-large transfer buffer is impossible, so
v2.02 limits it instead of letting it wrap around...

Fixed in version on 04/12/1999 12:00:11
By whom: eliz@is.elta.co.il



  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2010   by DJ Delorie     Updated Jul 2010