public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-rpg/eternal-lands/files: eternal-lands-1.7.0-errors.patch
@ 2008-07-18  2:54 Richard Freeman (rich0)
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Freeman (rich0) @ 2008-07-18  2:54 UTC (permalink / raw
  To: gentoo-commits

rich0       08/07/18 02:54:13

  Added:                eternal-lands-1.7.0-errors.patch
  Log:
  fixed upstream segfault error
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.1                  games-rpg/eternal-lands/files/eternal-lands-1.7.0-errors.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands/files/eternal-lands-1.7.0-errors.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-rpg/eternal-lands/files/eternal-lands-1.7.0-errors.patch?rev=1.1&content-type=text/plain

Index: eternal-lands-1.7.0-errors.patch
===================================================================
--- errors.c.orig	2008-07-17 22:43:28.791326638 -0400
+++ errors.c	2008-07-17 22:44:37.258432153 -0400
@@ -68,12 +68,12 @@
 	time(&c_time);
 	l_time = localtime(&c_time);
 	strftime(logmsg, sizeof(logmsg), "[%H:%M:%S] ", l_time);
-	strcat(logmsg, errmsg);
+	strncat(logmsg, errmsg, sizeof(logmsg)-strlen(logmsg)-2);
 
 	if(message[strlen(message)-1] != '\n') {
 		strcat(logmsg, "\n");
 	}
-	fprintf(err_file, logmsg);
+	fputs(logmsg, err_file);
   	fflush (err_file);
 }
 



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-rpg/eternal-lands/files: eternal-lands-1.7.0-errors.patch
@ 2009-01-11  2:38 Richard Freeman (rich0)
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Freeman (rich0) @ 2009-01-11  2:38 UTC (permalink / raw
  To: gentoo-commits

rich0       09/01/11 02:38:12

  Removed:              eternal-lands-1.7.0-errors.patch
  Log:
  Version Bump - 254364
  (Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r7-rf82 x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-11  2:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-11  2:38 [gentoo-commits] gentoo-x86 commit in games-rpg/eternal-lands/files: eternal-lands-1.7.0-errors.patch Richard Freeman (rich0)
  -- strict thread matches above, loose matches on Subject: below --
2008-07-18  2:54 Richard Freeman (rich0)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox