From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076333621275.tru64-unix-managers.marc@archive.invalid> From: nagu () amteva ! com Date: Mon, 10 Jun 1996 20:38:20 +0000 To: tru64-unix-managers Subject: Help with readdir_r() X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076333621275 hi, I am porting software to OSF1/alpha. One of my programs gives this error and dumps core on a readdir_r() call. Unaligned access pid=8104 va=5555555555555555 pc=3ff804b77b0 ra=3ff804b77a4 type=ldq The trace is: 0 __rec_mutex_lock(0x5555555555555555, 0x73616d7000000004, 0x2, 0x140005608,0x6972747400000000) [0x3ff804b77b0] 1 __readdir_r(0xc734031b5ff0d, 0x30040813930, 0x1000002000, 0x801700000000, 0x300008176e8) [0x3ff804df4e0] ... ... I tested my readdir_r() separately and that seemed to be ok. The man page prototype for readdir_r is different from that in the header file(dirent.h) Are there any known problems with readdir_r()? The prototype and return values are different from that of Unixware. Thanks in advance, nagu ------------------------------------------------------------------------------ Nagendran Parasu email: nagu@amteva.com Amteva Technologies Inc., Phone: 804-762-5514 5040, Sadler Road, Fax: 804-762-5542 Glen Allen, VA 23060 ------------------------------------------------------------------------------