www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/16/04:21:24

From: "Florian X" <dos DOT fire AT aon DOT at>
Newsgroups: comp.os.msdos.djgpp
Subject: BCD bug fix
Date: Sun, 16 Apr 2000 10:22:55 +0200
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Lines: 39
Message-ID: <38f97869$0$81878@SSP1NO17.highway.telekom.at>
NNTP-Posting-Host: 212.183.88.237
X-Trace: newsreader.vienna.highway.telekom.at 955873385 81878 212.183.88.237
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I found a bug in bcd 1.4:

This line in bcd.c

static int cur_drive_no;/* index of current drive - for use by programmer */


must be replaced:

int cur_drive_no;/* index of current drive - for use by programmer */

!!

Then you can use cur_drive_no in your program, because bcd.h includes

extern int cur_drive_no


I don't know, how I could email this bug, so I posted it here.

Bye, Florian






--
Seal -  free desktop enviroment for (Free)DOS
http://www.seal.cx
http://members.aon.at/seal
----------------------------------------------------------------------------
---
Na des Lebn is ka Spaß
Und des Pflosta is haaß
Bei mia in da Gassn!!



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019