bug-buddy r2737 - in trunk: . gnome-breakpad



Author: cosimoc
Date: Sat Oct  4 00:54:21 2008
New Revision: 2737
URL: http://svn.gnome.org/viewvc/bug-buddy?rev=2737&view=rev

Log:
2008-10-04  Cosimo Cecchi  <cosimoc gnome org>

	* gnome-breakpad/gnome-breakpad.cc:
	Add a license header and remove commented code.


Modified:
   trunk/ChangeLog
   trunk/gnome-breakpad/gnome-breakpad.cc

Modified: trunk/gnome-breakpad/gnome-breakpad.cc
==============================================================================
--- trunk/gnome-breakpad/gnome-breakpad.cc	(original)
+++ trunk/gnome-breakpad/gnome-breakpad.cc	Sat Oct  4 00:54:21 2008
@@ -1,3 +1,23 @@
+/* bug-buddy bug submitting program
+ *
+ * Copyright (C) 2007 Fernando Herrera
+ *
+ * Authors: Fernando Herrera  <fherrera onirica com>
+ *          Cosimo Cecchi     <cosimoc gnome org>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ */
 
 #include <unistd.h>
 #include <cstdio>
@@ -71,35 +91,6 @@
 }
 #endif
 
-/*
-static char *
-get_logged_warnings_file (void)
-{
-	int tmp_fd;
-	char *actual_name = NULL;
-	GError *error = NULL;
-
-	if (log_string == NULL)
-		return NULL;
-
-	tmp_fd = g_file_open_tmp ("bug-buddy-XXXXXX", &actual_name, &error);
-	if (error) {
-		g_warning ("Unable to create a temp file: %s", error->message);
-		g_error_free (error);
-		return NULL;
-	}
-
-	write (tmp_fd, log_string->str, log_string->len);
-	write (tmp_fd, "\n", 1);
-	close (tmp_fd);
-
-	g_string_free (log_string, TRUE);
-	log_string = NULL;
-
-	return actual_name;
-}
-*/
-
 static void
 circ_buff_free (CircBuff *buff)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]