Help with readdir_r()

From: <nagu_at_amteva.com>
Date: Mon, 10 Jun 1996 16:38:20 -0400 (EDT)

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 <MSG_SYNC> 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_at_amteva.com
Amteva Technologies Inc., Phone: 804-762-5514
5040, Sadler Road, Fax: 804-762-5542
Glen Allen, VA 23060
------------------------------------------------------------------------------
Received on Mon Jun 10 1996 - 22:53:46 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT