home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!gumby!destroyer!ubc-cs!newsserver.sfu.ca!sfu.ca!epang
- From: epang@fraser.sfu.ca (Eugene Pang)
- Subject: IDCMP flags fixed! (Re: GadToolsBox 1.3)
- Message-ID: <epang.711880696@sfu.ca>
- Sender: news@sfu.ca
- Organization: Simon Fraser University, Burnaby, B.C., Canada
- References: <20175@sbsvax.cs.uni-sb.de>
- Date: Thu, 23 Jul 1992 08:38:16 GMT
- Lines: 28
-
- rzsaj@sbusol.rz.uni-sb.de (Andreas Jung) writes:
- >The problem with the IDCMP flags is known but you can use the intuition
- >function ModifyIDCMP().
-
- Here's a patch to the 37.111 sources which fixes the IDCMP flags bug. GTB's
- author transposed the args to setmem(). I'll try and come up with a binary
- patch (for LPatch), if anyone's interested.
-
- # This is a shell archive. Remove anything before this line,
- # then unpack it by saving it in a file and typing "sh file"
- # Created Thu Jul 23 01:36:53 1992
- #
- # This archive contains:
- # patchfile
- echo "Creating patchfile"
- cat > patchfile <<"***EOF patchfile***"
- --- /orig/genc.c Sat Apr 18 16:48:52 1992
- +++ genc.c Thu Jul 23 01:33:47 1992
- @@ -208,7 +208,7 @@
- if ( mode ) c = '!';
- else c = '|';
-
- - setmem(( char * )&gc_Done[ 0 ], 0l, NUM_KINDS );
- + setmem(( char * )&gc_Done[ 0 ], NUM_KINDS, 0L );
-
- for ( eng = pw->pw_Gadgets.gl_First; eng->en_Next; eng = eng->en_Next ) {
- if ( NOT gc_Done[ eng->en_Kind ] ) {
- ***EOF patchfile***
-