Logo
Explore SSH Host Keys Package Repositories Git Workflow Documentation Help
Sign In
pool/maelstrom
SHA256
17
0
Fork 1
You've already forked maelstrom
Code Issues Pull Requests Activity
Files
factory
maelstrom/maelstrom-3.0.6-controls.cpp.patch

12 lines
391 B
Diff
Raw Permalink Normal View History

Accepting request 252721 from home:nemysis - Change Desktop entry file - Remove leading article from Summary - Change URL - Remove obsolete patches - Add new patches from Gentoo, Fedora and my port in FreeBSD - Add patches, correct FSF Address add missing includes - Add BuildRequires for desktop-file-utils - Change description - Fix paths - Simplify installation handling - Use install-binPROGRAMS and normal Name for executables Maelstrom and Maelstrom-netd I maintain Maelstorm in FreeBSD. OBS-URL: https://build.opensuse.org/request/show/252721 OBS-URL: https://build.opensuse.org/package/show/games/maelstrom?expand=0&rev=8
2014-09-30 17:38:30 +00:00
--- controls.cpp.orig 2001-03-24 19:04:28.000000000 +0100
+++ controls.cpp 2014-09-28 13:06:02.007417655 +0200
@@ -83,7 +83,7 @@
if ( fname ) {
*fname = datafile;
}
- sprintf(datafile, "%s"DIR_SEP"%s", home, MAELSTROM_DATA);
+ snprintf(datafile, sizeof(datafile), "%s"DIR_SEP"%s", home, MAELSTROM_DATA);
if ( (data=fopen(datafile, mode)) == NULL )
return(NULL);
return(data);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 43ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API