patch for control-center 1.2.4
- From: Christian Marillat <marillat christian wanadoo fr>
- To: gnome-devel-list gnome org
- Subject: patch for control-center 1.2.4
- Date: 02 Mar 2001 13:33:58 +0100
Hi,
Here is a patch because the debian version can be testing/unstable and the
buffer is too short.
Christian
--- control-center/splash.c.orig Mon Jan 15 15:31:30 2001
+++ control-center/splash.c Mon Jan 15 15:32:30 2001
@@ -107,11 +107,11 @@
/* Identify distribution (really this could be compiled in) */
if (g_file_exists("/etc/debian_version")) {
FILE * f;
- gchar buf[10];
+ gchar buf[20];
f = fopen("/etc/debian_version", "r");
if (f) {
- fscanf(f, "%8s", buf);
+ fscanf(f, "%16s", buf);
info[si_distribution] = g_strdup(buf);
fclose(f);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]