Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.os2.programmer.misc > #1887
| From | Paul Edwards <mutazilah@gmail.com> |
|---|---|
| Newsgroups | comp.os.os2.programmer.misc |
| Subject | Re: BSS |
| Date | 2024-03-02 16:01 +0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <urumcf$1p9kd$1@dont-email.me> (permalink) |
| References | <uruf3b$1o06i$1@dont-email.me> |
On 02/03/24 13:56, Paul Edwards wrote: > Whose responsibility is it to clear BSS? > > I assume it is the operating system. > > I am now able to open and read/write files, > but during testing (on PDOS/386) I found an > issue which I believe is due to uninitialized BSS. I changed malloc to calloc in exeload.c and the problem was resolved. I didn't notice a specific BSS section in the LX header so will leave any refining of that to another day. My theory of how I could get files working for DOSCALLS appears to be correct - I can indeed turn them around back into FILE accesses, except if the handle is less than 3. Quite neat result for 200 lines of code so far. I will defer fleshing out DosDevIOCtl in terms of setvbuf plus others until some other things are resolved (bug reports, compiler, pdld, microemacs makefile). New pdos.zip etc uploaded. BFN. Paul.
Back to comp.os.os2.programmer.misc | Previous | Next — Previous in thread | Next in thread | Find similar
BSS Paul Edwards <mutazilah@gmail.com> - 2024-03-02 13:56 +0800
Re: BSS Paul Edwards <mutazilah@gmail.com> - 2024-03-02 16:01 +0800
Re: BSS Marcel Mueller <news.5.maazl@spamgourmet.org> - 2024-03-04 19:32 +0100
Re: BSS Marcel Mueller <news.5.maazl@spamgourmet.org> - 2024-03-04 19:29 +0100
csiph-web