Overview
| Artifact ID: | be743f2c16687c48bb2e1418c6b6e74b7248fd75 |
|---|---|
| Ticket: | 1001325fffffffffffffffffffffffffffffffff
readdir_r() is different on IRIX 5.3 |
| User & Date: | nobody on 2004-07-31 22:55:41 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
When compiling tcl 8.4.7 on IRIX 5.3 with --enable-threads one ends up with cfe: Error: ./../unix/tclUnixThrd.c, line 837: The number of arguments doesn't agree with the number in the declaration. if (readdir_r (dir, ent, &ent) != 0) { ------------------^ *** Error code 1 (bu21) This is because on IRIX 5.3 readdir_r() is struct dirent *readdir_r (DIR *dirp, struct dirent *res); unix/tclUnixThrd.c thushas to be changed on IRIX 5.3 into #ifdef HAVE_READDIR_R ent = &tsdPtr->rdbuf.ent; /* if (TclOSreaddir_r(dir, ent, &ent) != 0) { ent = NULL; } */ ent=TclOSreaddir_r(dir, ent); #else /* !HAVE_READDIR_R */ ideally the configure tools should detect which version of readdir_r is being used on a given platform. - foundin changed to: "obsolete: 8.4.7"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "49. Threading"
- title changed to: "readdir_r() is different on IRIX 5.3"
- type changed to: "Bug"