Tom Hutto wrote:
> 
> Hmm,  back in the 'good old days' we used to write "self modifying"
> assembler code to take care of this kind of problem.  Guess you could do
> the same in C; just copy the appropriate struct into the exports area?
> 
> ----- Original Message -----
> From: "Corinna Vinschen" <[EMAIL PROTECTED]>
> | extern time_t _timezone __declspec(dllimport);
> |
> | #if defined (LINUX_PERSONALITY)
> | #define timezone _timezone
> | #elif defined (HODGE_PODGE_PERSONALITY)
> | char *_EXFUN(timezone, (void));
> | #endif

I just recalled another way of dealing with that. Does anybody remember
good ol' days when some vendors had so called `universes' in their UNIX
system? The user could change between them by universe(1):

        universe att

or

        universe bsd

or (on Siemens systems)

        universe sie

which started a new shell in the corresponding universe. So we define

        universe lin

and

        universe cyg

and all our problems will disappear at once! :-)

Corinna

--
Want to unsubscribe from this list?
Send a message to [EMAIL PROTECTED]

Reply via email to