summaryrefslogtreecommitdiff
path: root/x11-wm/fluxconf/files/patch-src-fluxconf.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-04-10 14:33:41 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-04-10 14:33:41 +0000
commit96b0cee58812c913469b8e1fdc44376ca6f484c6 (patch)
tree92d92d5b2e7c841b9ab89dce940be1bbbb4c9265 /x11-wm/fluxconf/files/patch-src-fluxconf.c
parent- Update to 20050410 (diff)
- Update to 0.9.8
PR: ports/79758 Submitted by: Ports Fury
Diffstat (limited to 'x11-wm/fluxconf/files/patch-src-fluxconf.c')
-rw-r--r--x11-wm/fluxconf/files/patch-src-fluxconf.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-wm/fluxconf/files/patch-src-fluxconf.c b/x11-wm/fluxconf/files/patch-src-fluxconf.c
new file mode 100644
index 000000000000..282587ae4a04
--- /dev/null
+++ b/x11-wm/fluxconf/files/patch-src-fluxconf.c
@@ -0,0 +1,21 @@
+--- src/fluxconf.c.orig Thu Dec 9 01:58:37 2004
++++ src/fluxconf.c Mon Mar 21 18:10:27 2005
+@@ -146,7 +146,9 @@
+ void sauver(GtkButton * button, char **laliste) /* FIXME without first parameter function hangs ... */
+ {
+ int n, x;
++ int source_fd, dest_fd, rdlen;
+ char *fullpath = NULL;
++ char tmp_buff[BUFSIZ + 1], * ptr = NULL;
+ FILE *file = NULL;
+ GList *widlist = NULL;
+ GtkWidget *tmpwid, *smallwin;
+@@ -166,8 +168,6 @@
+ /*
+ * try to make a backup
+ */
+- char tmp_buff[BUFSIZ + 1], * ptr = NULL;
+- int source_fd, dest_fd, rdlen;
+
+ memset(tmp_buff, 0, BUFSIZ + 1);
+