From: Guido van Rossum Date: Tue, 17 May 1994 09:28:58 +0000 (+0000) Subject: Script to regenerate FCNTL.py, IN.py, SOCKET.py X-Git-Tag: v1.1~339 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c95f7248d6866640160e7bf6620b0448a9e02ef7;p=thirdparty%2FPython%2Fcpython.git Script to regenerate FCNTL.py, IN.py, SOCKET.py --- diff --git a/Lib/plat-sunos4/regen b/Lib/plat-sunos4/regen new file mode 100755 index 000000000000..f1482db5272f --- /dev/null +++ b/Lib/plat-sunos4/regen @@ -0,0 +1,11 @@ +#! /bin/sh +case `uname -sr` in +'SunOS 4.'*) ;; +*) echo Probably not on a SunOS 4 system 1>&2 + exit 1;; +esac +set -v +h2py FCNTL.py +echo "O_ACCMODE = (O_RDONLY|O_WRONLY|O_RDWR)" >>FCNTL.py +h2py /usr/include/sys/socket.h +h2py -i '(u_long)' /usr/include/netinet/in.h diff --git a/Lib/sunos4/regen b/Lib/sunos4/regen new file mode 100755 index 000000000000..f1482db5272f --- /dev/null +++ b/Lib/sunos4/regen @@ -0,0 +1,11 @@ +#! /bin/sh +case `uname -sr` in +'SunOS 4.'*) ;; +*) echo Probably not on a SunOS 4 system 1>&2 + exit 1;; +esac +set -v +h2py FCNTL.py +echo "O_ACCMODE = (O_RDONLY|O_WRONLY|O_RDWR)" >>FCNTL.py +h2py /usr/include/sys/socket.h +h2py -i '(u_long)' /usr/include/netinet/in.h