home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11533 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.4 KB  |  40 lines

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