[comp.unix.xenix] does Doug Gwyn's dir-lib work with Xenix?

marks@mgse.UUCP (Mark Seiffert) (08/16/89)

Has anyone been able to get Doug Gywn's dir-lib to compile?

I have the version from the net, with one patch, and the
newest version from him, and they both compile with a 
warning. The warning varies, it depends on what memory
model is being used at the time. The test program from
the net version does not find and files at all, and
the test program in the new version from him, dumps
core.

Working with the net version, when i compile with the
large model i get a "conversion of long address to
short address", and with the medium or small model i get
"conversion of near pointer to long integer". All of this
is in getdents.c in line 276.

Does someone have a patch for the dir-lib routines for 
Xenix. The system is Xenix 286 rel 2.2.1. with the 2.2
Development system.
-- 
Mark Seiffert,  Metairie, LA.
uucp:           rex!mgse!marks
bitnet:         marks%mgse@REX.CS.TULANE.EDU
internet:       marks%mgse@rex.cs.tulane.edu

jfh@rpp386.Dallas.TX.US (John F. Haugh II) (08/20/89)

In article <987@mgse.UUCP> marks@mgse.UUCP (Mark Seiffert) writes:
>Has anyone been able to get Doug Gywn's dir-lib to compile?

Yes, I have a very old version [ with a file descriptor bug
fixed ] and it passes all of the tests Doug included.

I can't say I compiled it on a 286, since I own a 386 ;-),
but it has never not worked ...

For the uninformed, it is in rpp386!/usr/archive/directory/dirent.shar.Z
the login is 'uucp', no password.  The phone number is in the
.signature.
-- 
John F. Haugh II                        +-Quote of the month club: ------------
VoiceNet: (512) 832-8832   Data: -8835  | "Chocolate Teddy Grahams are just
InterNet: jfh@rpp386.cactus.org         |  reincarnated Space Food Sticks."
UUCPNet:  {texbell|bigtex}!rpp386!jfh   +------------     -- Richard Sexton ---