Thread View: comp.unix.shell
2 messages
2 total messages
Started by Donald S. Hearth
Wed, 10 Oct 1990 22:37
BASH for HP
Author: Donald S. Hearth
Date: Wed, 10 Oct 1990 22:37
Date: Wed, 10 Oct 1990 22:37
12 lines
1022 bytes
1022 bytes
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
--
***************************************************************************
* Donald S. Hearth * The Sacramento Kings only have one *
* UNIFY Corporation * thing on their minds, and I don't *
* Sacramento, CA * know what it is !! *
Re: BASH for HP
Author: Carl Edman
Date: Thu, 11 Oct 1990 03:23
Date: Thu, 11 Oct 1990 03:23
24 lines
1559 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads