From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,769bc7b1925998af X-Google-Attributes: gid1164f8,public X-Google-Thread: fdd80,769bc7b1925998af X-Google-Attributes: gidfdd80,public X-Google-Thread: ffc31,8d2315bbfec7d11 X-Google-Attributes: gidffc31,public X-Google-Thread: 10cebf,55be15e14d3dee4e X-Google-Attributes: gid10cebf,public From: peter@baileynm.com (Peter da Silva) Subject: Re: RT-11/TSX-PLUS Year 2000 Compliant Application Programs Date: 1998/10/14 Message-ID: <702ok1$pb@web.nmti.com>#1/1 X-Deja-AN: 401057702 References: <3613A881.ED0E72FC@idirect.com> <362388D7.4E2BA351@trailing-edge.com> <701msk$ksc@web.nmti.com> <3624b343.0@news.wizvax.net> Organization: Bailey Network Management Newsgroups: alt.sys.pdp11,comp.sys.dec,comp.sys.dec.micro,vmsnet.pdp-11 In article <3624b343.0@news.wizvax.net>, John Wilson wrote: >In article <701msk$ksc@web.nmti.com>, >Peter da Silva wrote: >>Since the problem isn't "recompiling", it's finding where to add the two >>extra digits, I'm not sure that you're making the point you think you're >>making. If a bigger time_t is something that scares you, then you haven't >>done enough ports with MUCH bigger problems than that. >I hope you're picturing a port to a different OS with a bigger time_t, If "a different OS" includes "the same OS except for a bigger time_t", yes. >because if you're thinking of duplicate libraries and/or system calls >existing side by side on the same system with different sizes of time_t, >it isn't going to be as much fun as you make it sound. I've been through this for the change to off_t between 4.3 and 4.4BSD, including patching the kernel so that the 4.4 Netscape binary would run on the 4.3 system. I think I've still got the web page I set up for that patch online somewhere. New system calls were introduced for the new sized objects, with the old ones stubbing through to the new ones. New libraries that called the new calls with the original names, with a new major version number. It's not really difficult if you take a minimal amount of care... it's conceptually simple and the process can be highly automated. -- In hoc signo hack, Peter da Silva `-_-' "Heb jij vandaag je wolf al geaaid?" 'U` "Tell init(8) to lock-n-load, we're goin' zombie slaying!"