The problem I'm trying to fix is with ttyname(). We have a terminal server
that uses reverse telnet. There are devices in /dev that have the same
major and minor numbers of /dev/ttyp* when you use reverse telnet and run
command tty, /dev/ttyp* is returned and I need /dev/termserverdevice(n)
returned instead. The problem is on SCO OS 5.0.5. the only fix I can think
of is to write a new ttyname.c and move it into SCO's libc libraries
removing the old ttyname.o. Is this possible?
-----Original Message-----
From: John M. Mills [mailto:">jmills@tga.com]
Sent: Wednesday, January 19, 2000 4:20 PM
To: Chris Fowler
Subject: Re: [ale] removing an object
Chris -
I haven't used it that way, but 'man ar' says you can use 'ar' to remove
and insert individual objects in a library. You might have to think about
the best placement for the new entry -- it probably matters to efficiency
-- and you will want to index the updated library, presumably with
'ranlib'. See 'info binutils' and 'man [ar|ranlib]'.
John Mills, Sr. Software Engineer
TGA Technologies, Inc.
100 Pinnacle Way, Suite 140
Norcross, GA 30071-3633
e-mail: ">jmills@tga.com
Phone: 770-441-2100 ext.124 (voice)
770-449-7740 (FAX)
On Wed, 19 Jan 2000, Chris Fowler wrote:
> ttyname.o is in libc.6.so for instance. I want to create my own ttyname
> routine and replace that on in libc.6.so. I do not have the original
source
> to libc.6.so. how can I move the new ttyname.o into libc.6.so without
> relinking the whole library?
>
> Thanks,
> Chris
> --
> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message
body.
>
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.