13 lines
489 B
Plaintext
13 lines
489 B
Plaintext
$OpenBSD: patch-libs_misc_c,v 1.1.1.1 2005/05/12 04:38:37 jolan Exp $
|
|
--- libs/misc.c.orig Thu Jan 6 08:10:39 2005
|
|
+++ libs/misc.c Wed May 11 01:20:02 2005
|
|
@@ -655,7 +655,7 @@ void purge_cache_files(const gchar *cd){
|
|
fullpath = g_build_filename((gchar *)cache_dir, d->d_name,NULL);
|
|
if (strcmp(d->d_name,"..Wastebasket")==0){
|
|
if (fork()==0){
|
|
- execlp("rm","rm","-rf",fullpath,NULL);
|
|
+ execlp("rm","rm","-rf",fullpath,(void *)NULL);
|
|
_exit(123);
|
|
}
|
|
}
|