openbsd-ports/x11/xfce4/xffm/patches/patch-libs_input_c
2005-05-12 04:38:34 +00:00

13 lines
550 B
Plaintext

$OpenBSD: patch-libs_input_c,v 1.1.1.1 2005/05/12 04:38:37 jolan Exp $
--- libs/input.c.orig Wed Dec 29 15:51:17 2004
+++ libs/input.c Wed May 11 01:19:22 2005
@@ -528,7 +528,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;