Overview
| Artifact ID: | 4119ea0fef33b0e51ea50b73448bc209239d86da |
|---|---|
| Ticket: | 1240568fffffffffffffffffffffffffffffffff
Wrong # args detected for readdir_r on AIX |
| User & Date: | tww-china on 2005-07-18 23:04:42 |
Changes
- assignee changed to: "mdejong"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl 8.4.11 incorrectly detects the number of arguments for readdir_r() on AIX. It detects 2 while the correct number is 3. The AIX compiler simply issues a warning rather than an error. $ cat test.c #include <stdlib.h> #include <sys/types.h> #include <dirent.h> int main (void) { readdir_r(NULL, NULL); } $ xlc test.c "test.c", line 7.12: 1506-098 (E) Missing argument(s). $ echo $? 0 Test on Solaris 2.6-10/SPARC, HP-UX 10.20, 11.00, 11.11, AIX 4.3.3, 5.1, 5.2, Tru64 UNIX 4.0D, 5.1, IRIX 6.5, RH 7.1, 9, RHEL 2.1, 3, 4. - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "tww-china"
- subsystem changed to: "53. Configure and Build Tools"
- title changed to: "Wrong # args detected for readdir_r on AIX"
- type changed to: "Patch"