Author: Armin Rigo <[email protected]>
Branch:
Changeset: r637:cb4309ca5812
Date: 2012-07-13 19:56 +0200
http://bitbucket.org/cffi/cffi/changeset/cb4309ca5812/
Log: This 256 is better found out automatically.
diff --git a/demo/readdir2.py b/demo/readdir2.py
--- a/demo/readdir2.py
+++ b/demo/readdir2.py
@@ -15,7 +15,7 @@
struct dirent {
unsigned char d_type; /* type of file; not supported
by all file system types */
- char d_name[256]; /* filename */
+ char d_name[...]; /* filename */
...;
};
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit