Kaydet (Commit) c95f7248 authored tarafından Guido van Rossum's avatar Guido van Rossum

Script to regenerate FCNTL.py, IN.py, SOCKET.py

üst 01f5f624
#! /bin/sh
case `uname -sr` in
'SunOS 4.'*) ;;
*) echo Probably not on a SunOS 4 system 1>&2
exit 1;;
esac
set -v
h2py </usr/include/sys/fcntlcom.h >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
#! /bin/sh
case `uname -sr` in
'SunOS 4.'*) ;;
*) echo Probably not on a SunOS 4 system 1>&2
exit 1;;
esac
set -v
h2py </usr/include/sys/fcntlcom.h >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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment