[Coco] error in direct.h

Gene Heskett gheskett at wdtv.com
Wed Aug 13 20:22:19 EDT 2014


On Wednesday 13 August 2014 19:45:01 Bob Devries did opine
And Gene did reply:
> On 14/08/2014 8:57 AM, Gene Heskett wrote:
> > On Wednesday 13 August 2014 15:15:32 Tormod Volden did opine
> > 
> > And Gene did reply:
> >> On Wed, Aug 13, 2014 at 1:34 PM, Gene Heskett wrote:
> >>> On Tuesday 12 August 2014 23:17:39 Bob Devries did opine
> >>> 
> >>> And Gene did reply:
> >>>> Hi all,
> >>>> 
> >>>> I just came across an error/typo in the file defs/direct.h
> >>>> 
> >>>> Line 21 in the section of struct ddsect
> >>>> 
> >>>>       char dd_tsk;
> >>>> 
> >>>> It should be:
> >>>>       char dd_tks;
> >>>> 
> >>>> as per the manual page 5-2 (OS-9 Technical reference.
> >>>> 
> >>>> I'm just a bit surprised that I haven't caught this one before. I
> >>>> realise that it would not be good to change it now; it would break
> >>>> too many source files.
> >>> 
> >>> This could be the source of some long standing bugs too. And
> >>> because src code is editable AND this define file, according to
> >>> locate here, is only use in nitros9 ONCE (although I do get many
> >>> hits from my linux kernel trees)
> >> 
> >> Well, it can break other code outside of the NitrOS-9 distribution
> >> that is assembled against the system header files. But that
> >> shouldn't stop us from fixing it. We should mention it in the
> >> changelog / announcement for the next release.
> >> 
> >>> I did some grepping here, without finding anything but that typu:
> >>> 
> >>> To see what might be affected by fixing it:
> >>> gene at coyote:/opt/nitros9$ grep -R direct.h *
> >>> 3rdparty/packages/sierra/convutils/picpatch.c:#include <direct.h>
> >>> 3rdparty/packages/sierra/convutils/cc3snd.c:#include <direct.h>
> >>> 3rdparty/packages/sierra/convutils/sndpatch.c:#include <direct.h>
> >>> 3rdparty/packages/uucpbb/src/cnvrtmail.c:#include <direct.h>
> >>> 3rdparty/packages/uucpbb/src/chown.c:#include <direct.h>
> >>> 3rdparty/packages/uucpbb/src/uuclean.c:#include <direct.h>
> >>> 3rdparty/packages/uucpbb/src/rmail.c:#include <direct.h>
> >>> 3rdparty/packages/uucpbb/src/readnews.c:#include <direct.h>
> >>> 3rdparty/packages/uucpbb/src/expgroup.c:#include <direct.h>
> >>> 3rdparty/packages/uucpbb/src/rnews.c:#include <direct.h>
> >>> 3rdparty/packages/uucpbb/src/recvmail.c:#include <direct.h>
> >>> /* Added - BAS */
> >>> docs/articles/os9software.article:time applications, where there is
> >>> no need for direct human interaction.
> >>> level1/cmds/asm.asm:L080B    lbsr  L09C6          Generic
> >>> indexed/extended/direct handler???
> >> 
> >> 8>
> >> 
> >> grep -R 'direct\.h' * would save you from the false positives :)
> >> 
> >> Regards,
> >> Tormod
> > 
> > Thanks for the tip.
> > 
> > But I think you may over estimate the amount of C code ever built
> > that used that header as an include.  As a sometime C programmer
> > familiar with what I wrote/rewrote, pf doesn't use it, bru doesn't
> > use it, eclipse doesn't use it, cntx in any version doesn't.
> > 
> > Can anyone here name a C source pgm that does use it?
> > 
> > Cheers, Gene Heskett
> 
> Yup, I can [grin]
> My lsn0 uses it.
> 
> Regards, Bob Devries
> Dalby, QLD, Australia

I have not seen it, and can only guess at what it can do, other than a 
super-dooper os9 disk type reporter. ;-)

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS


More information about the Coco mailing list