1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/x11-wm/fluxconf/files/patch-src-fluxconf.c
Pav Lucistnik 96b0cee588 - Update to 0.9.8
PR:		ports/79758
Submitted by:	Ports Fury
2005-04-10 14:33:41 +00:00

22 lines
621 B
C

--- 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);