openbsd-ports/x11/xfce4/xffm/patches/patch-libs_input_c
2005-11-10 22:57:37 +00:00

13 lines
546 B
Plaintext

$OpenBSD: patch-libs_input_c,v 1.2 2005/11/10 22:57:41 jolan Exp $
--- libs/input.c.orig Sat Nov 5 11:13:43 2005
+++ libs/input.c Thu Nov 10 06:08:22 2005
@@ -527,7 +527,7 @@ void ok_input (GtkTreeView * treeview)
/* XXX: probably should warn on overwritting */
if (fork()) wait(&status);
else {
- execlp("cp","cp","-f",oldname,newname,0);
+ execlp("cp","cp","-f",oldname,newname,(void *)NULL);
printf("DBG: should not be reached. fork failed!\n");
}
g_free(oldname); oldname=NULL;