summaryrefslogtreecommitdiffstats
path: root/Lib/plat-beos5
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-06 16:11:21 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-06 16:11:21 (GMT)
commit02776adab84476b40f091a6c11356b68ef9938e0 (patch)
treebf8f2789b97c6fc3af42e7368fc7f09c50de6d48 /Lib/plat-beos5
parentb59c4603f016dc2c3d9da470d7c710777fcb7adb (diff)
downloadcpython-02776adab84476b40f091a6c11356b68ef9938e0.zip
cpython-02776adab84476b40f091a6c11356b68ef9938e0.tar.gz
cpython-02776adab84476b40f091a6c11356b68ef9938e0.tar.bz2
Donn Cave <donn@u.washington.edu>:
Script to regenerate platform-specific modules of constants. [I moved common paths to variables for easier reading by humans. -- FLD] This closes SourceForge patch #101781.
Diffstat (limited to 'Lib/plat-beos5')
-rwxr-xr-xLib/plat-beos5/regen10
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/plat-beos5/regen b/Lib/plat-beos5/regen
new file mode 100755
index 0000000..aa1912f
--- /dev/null
+++ b/Lib/plat-beos5/regen
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+H2PY=../../Tools/scripts/h2py.py
+HEADERS=/boot/develop/headers
+
+set -v
+python $H2PY $HEADERS/posix/fcntl.h
+python $H2PY $HEADERS/be/net/socket.h
+python $H2PY -i '(u_long)' $HEADERS/be/net/netinet/in.h
+python $H2PY $HEADERS/posix/termios.h