| delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net comp.os.msdos.djgpp:5163 |
| From: | Joern Sierwald <Sierwald AT tu-harburg DOT d400 DOT de> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | findfirst bug? |
| Date: | Wed, 19 Jun 1996 13:30:41 +0200 |
| Organization: | Technische Universitaet Hamburg-harburg |
| Lines: | 11 |
| Message-ID: | <31C7E4E1.5ABB@tu-harburg.d400.de> |
| NNTP-Posting-Host: | hp03.rz.tu-harburg.de |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
The find_t struct in dos.h is supposed to be packed. It is full of (packed) attributes. For some strange reason, it isn't packed until I put an #pragma pack(1) in front of it. (#pragma pack() behind it). The findfirst/findnext functions don't work until I modify the headers. Is this a known bug? I'm using V 2.00. Joern
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |