|
|
1.1 ! root 1: # Install modified versions of certain ANSI-incompatible system header files ! 2: # which are fixed to work correctly with ANSI C ! 3: # and placed in a directory that GNU C will search. ! 4: # This works properly on a Sun in system version 3.4; ! 5: # for other versions, you had better check. ! 6: ! 7: mkdir /usr/local/lib/gcc-include ! 8: mkdir /usr/local/lib/gcc-include/sys ! 9: cp /usr/include/sys/ioctl.h /usr/local/lib/gcc-include/sys/ioctl.h ! 10: chmod +w /usr/local/lib/gcc-include/sys/ioctl.h ! 11: ex /usr/local/lib/gcc-include/sys/ioctl.h <<EOF ! 12: g/_IO/s/(\(.\),/('\1',/ ! 13: g/#define._IO/s/'x'/x/g ! 14: wq ! 15: EOF ! 16: ! 17: cp /usr/include/sys/ttychars.h /usr/local/lib/gcc-include/sys/ttychars.h ! 18: chmod +w /usr/local/lib/gcc-include/sys/ttychars.h ! 19: ex /usr/local/lib/gcc-include/sys/ttychars.h << EOF ! 20: g/CTRL/s/(\(.\))/('\1')/ ! 21: g/#define.CTRL/s/'c'/c/g ! 22: wq ! 23: EOF
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.