1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Fix delete files from the complete directory.

PR: 22822
Submitted by: MAINTAINER
This commit is contained in:
Kevin Lo 2000-11-14 15:21:56 +00:00
parent c0a31816d5
commit 158116f623
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35144
4 changed files with 30 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= lopster
PORTVERSION= 0.9.6
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -0,0 +1,14 @@
--- src/resume.c.orig 2000/10/31 20:31:29 1.11
+++ src/resume.c 2000/11/09 14:25:15 1.12
@@ -230,9 +230,10 @@
void resume_list_remove(resume_t* resume) {
GList* dlist;
- resume = resume_clist_remove(resume);
if (!resume) return;
+ resume_clist_remove(resume);
+
dlist = g_list_first(resume->potentials);
while (dlist) {
destroy_file_row(dlist->data);

View File

@ -7,6 +7,7 @@
PORTNAME= lopster
PORTVERSION= 0.9.6
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -0,0 +1,14 @@
--- src/resume.c.orig 2000/10/31 20:31:29 1.11
+++ src/resume.c 2000/11/09 14:25:15 1.12
@@ -230,9 +230,10 @@
void resume_list_remove(resume_t* resume) {
GList* dlist;
- resume = resume_clist_remove(resume);
if (!resume) return;
+ resume_clist_remove(resume);
+
dlist = g_list_first(resume->potentials);
while (dlist) {
destroy_file_row(dlist->data);