rpms/cdogs-sdl/devel cdogs-sdl-0.4-open.patch,NONE,1.1
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Sun Aug 12 08:32:10 UTC 2007
Author: jwrdegoede
Update of /cvs/extras/rpms/cdogs-sdl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2334
Added Files:
cdogs-sdl-0.4-open.patch
Log Message:
* Sun Aug 12 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.4-2
- Update License tag for new Licensing Guidelines compliance
- Fix building with new glibc open() argument checking
cdogs-sdl-0.4-open.patch:
--- NEW FILE cdogs-sdl-0.4-open.patch ---
diff -up cdogs-sdl-0.4/src/files.c~ cdogs-sdl-0.4/src/files.c
--- cdogs-sdl-0.4/src/files.c~ 2007-08-12 10:26:02.000000000 +0200
+++ cdogs-sdl-0.4/src/files.c 2007-08-12 10:26:02.000000000 +0200
@@ -340,7 +340,7 @@ int SaveCampaign(const char *filename, T
int f;
int i;
- f = open(filename, O_WRONLY | O_CREAT | O_TRUNC);
+ f = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0644);
if (f >= 0) {
i = CAMPAIGN_MAGIC;
write(f, &i, sizeof(i));
More information about the fedora-extras-commits
mailing list