Mercurial > sdl-ios-xcode
annotate README.SVN @ 4137:be12463f31ea SDL-1.2
Date: Sat, 2 Feb 2008 22:08:05 +0100
From: Marcus von Appen
To: sdl@lists.libsdl.org
Subject: [SDL] [Patch] SDL-1.2 SDL_revcpy() asm patch for the cld flag
Hi,
as reported through the FreeBSD bug tracking system in SDL 1.2.13 (and
in the 1.2 branch, if I see that correctly) the SDL_revcpy() macro sets
the direction flag (std), but does not clear it afterwards (cld), which
is wrong according to the GCC and SYS V specs. This can cause some
weird side effects, which in turn can lead to memory corruption.
You can read the full report with a detailed description and test
program at http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/120052
Attached is the submitted patch, which fixes the issue.
Regards
Marcus
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 04 Feb 2008 17:22:56 +0000 |
parents | 1c291c47cf1e |
children | dc726b233f5f |
rev | line source |
---|---|
1652
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
1 |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
2 The latest development version of SDL is available via Subversion. |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
3 Subversion allows you to get up-to-the-minute fixes and enhancements; |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
4 as a developer works on a source tree, you can use svn to mirror that |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
5 source tree instead of waiting for an official release. Please look |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
6 at the Subversion website ( http://subversion.tigris.org/ ) for more |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
7 information on using svn, where you can also download software for |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
8 MacOS, Windows, and Unix systems. |
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
9 |
4041
1c291c47cf1e
Updated SVN checkout instructions
Sam Lantinga <slouken@libsdl.org>
parents:
1759
diff
changeset
|
10 svn checkout http://svn.libsdl.org/branches/SDL-1.2 |
1652
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
11 |
1759
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
12 If you are building SDL with an IDE, you will need to copy the file |
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
13 include/SDL_config.h.default to include/SDL_config.h before building. |
1652
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
14 |
1759
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
15 If you are building SDL via configure, you will need to run autogen.sh |
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
16 before running configure. |
1652
dc219ba4cf45
Info on Subversion repository access.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff
changeset
|
17 |
1759
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
18 There is a web interface to the subversion repository at: |
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
19 http://www.libsdl.org/cgi/viewvc.cgi |
724cca1bda2d
Added instructions for copying SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
1652
diff
changeset
|
20 |