Print

Print


Hi, Andy

The commited changes from June 6th seem to have created a portability problem 
on Darwin (powerpc-apple-darwin8.9.0).

I cannot find a dirent64 structure on Darwin which now is required by the 
XrdPosix files.

When looking at preprocessor outputs I see on the Mac only

struct dirent {
 ino_t d_ino;
 __uint16_t d_reclen;
 __uint8_t d_type;
 __uint8_t d_namlen;
 char d_name[255 + 1];
};

while on linux (with the current compilation settings both dirent and dirent64 
get defined to the same structure:

struct dirent
  {
    __ino64_t d_ino;
    __off64_t d_off;

    unsigned short int d_reclen;
    unsigned char d_type;
    char d_name[256];
  };


struct dirent64
  {
    __ino64_t d_ino;
    __off64_t d_off;
    unsigned short int d_reclen;
    unsigned char d_type;
    char d_name[256];
  };


BTW: I'll be on holiday for some time beginning on June 19th. Will only be 
back around middle of July.

Cheers,
Derek


-- 
Dr. Derek Feichtinger                   Tel:   +41 56 310 47 33
AIT Group                               email: [log in to unmask]
PSI
CH-5232 Villigen PSI