It does on my buntu amd64.

Ido

On Feb 2, 2008 6:15 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote:
>
> I noticed that somewhere since baseunix times Linux/glibc updated all basic
> types that were still 16-bit to 32-bit. FPC didn't notice it, since the x86
> stat record is a typeless hack. However for e.g. the password functions this
> needs to be corrected.
>
> Does sb know when this conversion happened ? *or* if you have a fairly old  
> or 32-bit non
> x86 linux distro, try compiling + running the following program:
>
>
> #include <sys/types.h>
>
> int main()
> {
>   printf("%d %d %d",sizeof(uid_t),sizeof(gid_t),sizeof(mode_t));
> }
>
>
> It should print
> 4 4 4
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>



-- 
http://ik.homelinux.org/
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to