time_t changed from long to int, AIX 4.2 -> 4.3

time_t changed from long to int, AIX 4.2 -> 4.3

Post by Craig Rodrigue » Tue, 14 Sep 1999 04:00:00



Hi,

Can anyone tell me why in /usr/include/time.h

the following in AIX 4.2:
#ifndef _TIME_T
#define _TIME_T
typedef long            time_t;
#endif

changed to the following in AIX 4.3:

#ifndef _TIME_T
#define _TIME_T
typedef int             time_t;
#endif

Thanks.
--
Craig Rodrigues        
http://www.gis.net/~craigr    

 
 
 

time_t changed from long to int, AIX 4.2 -> 4.3

Post by Jens-Uwe Mag » Wed, 15 Sep 1999 04:00:00



>Can anyone tell me why in /usr/include/time.h

>the following in AIX 4.2:
>#ifndef _TIME_T
>#define _TIME_T
>typedef long            time_t;
>#endif

>changed to the following in AIX 4.3:

>#ifndef _TIME_T
>#define _TIME_T
>typedef int             time_t;
>#endif

I would suppose so the value stays the same size if you compile for 64 bit
memory model where long is 64 bits and int is 32 bits.

--
Jens-Uwe Mager  <pgp-mailto:62CFDB25>

 
 
 

1. pthreads AIX 4.2 --> AIX 4.3

Hi there,

I have a problem using pthreads.
I've compiled my program under AIX 4.2 and i used
the call pthread_init(). This worked great. But
now i've upgraded to AIX 4.3 and the function
pthread_init() doesn't exist anymore.
Now my program is coring.

I know that the call to pthread_init() under AIX
4.2 was because of a bug and pthreads don't work
without it. Does anybody knows the solution or
any other comment?

Thanx...


Pascal Loonen.

Sent via Deja.com http://www.deja.com/
Before you buy.

2. vi (locking a file)

3. Default Kernel Tuning Changes - AIX 4.1 - 4.2 - 4.3 ???

4. X with ATI Ultra Pro EISA

5. is anyone aware of pthread related changes in AIX 4.3 from 4.2

6. Quake3 problem

7. AIX 4.3 -> 4.2 noitargim (migration) [programming]

8. make difficulties

9. Problem : anyone aware of pthread related changes in AIX 4.3 from 4.2

10. Need help! AIX 4.2 -> 4.3 upgrade

11. pthread AIX 4.2.x --> 4.3.x

12. AIX 4.2 vs AIX 4.3

13. Good GUI designer under AIX 4.2 AIX 4.3