mdb@silvlis.com (Mark D. Baushke) (11/23/88)
Index: gcc 1.31, SunOS 3.4, Sun 3/50 /usr/include/sundev/vuid_event.h The fixincludes script modifies /usr/include/sundev/vuid_event.h incorrectly. The lines #define SHIFT_LEFTCTRL (VKEY_FIRSTSHIFT+4) /* 32532 */ #define SHIFT_RIGHTCTRL (VKEY_FIRSTSHIFT+5) /* 32533 */ get changed to #define SHIFT_LEFTCTRL (VKEY_FIRSTSHIFT+'4') /* 32532 */ #define SHIFT_RIGHTCTRL (VKEY_FIRSTSHIFT+'5') /* 32533 */ which gives incorrect values to SHIFT_LEFTCTRL and SHIFT_RIGHTCTRL. The rest of the changes to the _IOW and _IOR values in that file are correct. Fix: *** gcc-1.31/fixincludes-dist Mon Nov 21 23:58:22 1988 --- gcc-1.31/fixincludes Tue Nov 22 09:07:16 1988 *************** *** 49,55 **** if [ -r ${LIB}/sundev/vuid_event.h ]; then ! echo Fixing sundev/vuid_event.h comment ex ${LIB}/sundev/vuid_event.h <<EOF g/doesn't/s/doesn't/doesn''t/ wq EOF --- 49,56 ---- if [ -r ${LIB}/sundev/vuid_event.h ]; then ! echo Fixing sundev/vuid_event.h comment, SHIFT_LEFTCTRL, and SHIFT_RIGHTCTRL ex ${LIB}/sundev/vuid_event.h <<EOF g/doesn't/s/doesn't/doesn''t/ + g/VKEY_FIRSTSHIFT+'/s/'\(.\)'/\1/ wq EOF ------------------------------------------------------------------------------ Mark D. Baushke Internet: mdb%silvlis.com@sun.com Silvar-Lisco, Inc. Nameservers: mdb@silvlis.com 1080 Marsh Road Usenet: {pyramid,sun}!silvlis!mdb Menlo Park, CA 94025-1053 Telephone: +1 415 853-6411 / +1 415 969-8328