🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1460

Re: BASH for HP

#1460
From: Carl Edman
Date: Thu, 11 Oct 1990 03:23
24 lines
1559 bytes
In article <t6a14bz@Unify.Com> hearth@Unify.Com (Donald S. Hearth) writes:

	Hello.  I have almost completed a port of bash to my HP 9000/375. I
    have run into one problem, however. One file refers to a function called
    getdtablesize.  Can anyone that has successfully ported bash tell me how
    they got around this function? Any suggestions would be appreciated!

					      Don

Yes, this is a common problem with programms ported from BSD to HPUX.
My understanding (gained from analyzing several sources which contain
getdtablesize()) is that it returns the size of the file descripitor
table i.e. the maximum number of open files. This can (and should)
be emulated with a sysconf(_SC_OPEN_MAX) call (try 'man sysconf').
I have put this into my BSD-compatibility library and it works
just fine.

	Carl Edman


Theorectial Physicist,N.:A physicist whose   | Send mail
existence is postulated, to make the numbers |  to
balance but who is never actually observed   | cedman@golem.ps.uci.edu
in the laboratory.                           | edmanc@uciph0.ps.uci.edu
Technical Details
Message-ID: <CEDMAN.90Oct10202316@lynx.ps.uci.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!usc!orion.oac.uci.edu!cedman
References: <t6a14bz@Unify.Com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!usc!orion.oac.uci.edu!cedman
From: cedman@lynx.ps.uci.edu (Carl Edman)
Newsgroups: comp.unix.shell
Subject: Re: BASH for HP
Message-ID: <CEDMAN.90Oct10202316@lynx.ps.uci.edu>
Date: 11 Oct 90 03:23:13 GMT
References: <t6a14bz@Unify.Com>
Distribution: na
Organization: non serviam
Lines: 24
Nntp-Posting-Host: lynx.ps.uci.edu
In-reply-to: hearth@Unify.Com's message of 10 Oct 90 22:37:04 GMT