comparison libaudacious/vfs_stdio.c @ 1997:93c59698f5fd trunk

[svn] - NewVFS lives ;)
author nenolod
date Thu, 23 Nov 2006 20:06:19 -0800
parents 976da06332df
children
comparison
equal deleted inserted replaced
1996:1abdcfc557d8 1997:93c59698f5fd
51 51
52 if (file->handle) { 52 if (file->handle) {
53 if (fclose(file->handle) != 0) 53 if (fclose(file->handle) != 0)
54 ret = -1; 54 ret = -1;
55 } 55 }
56
57 g_free(file);
58 56
59 return ret; 57 return ret;
60 } 58 }
61 59
62 size_t 60 size_t
170 stdio_vfs_ftell_impl, 168 stdio_vfs_ftell_impl,
171 stdio_vfs_feof_impl, 169 stdio_vfs_feof_impl,
172 stdio_vfs_truncate_impl 170 stdio_vfs_truncate_impl
173 }; 171 };
174 172
175 #if 0
176 gboolean 173 gboolean
177 vfs_init(void) 174 vfs_init(void)
178 { 175 {
179 vfs_register_transport(&default_const); 176 vfs_register_transport(&default_const);
180 vfs_register_transport(&file_const); 177 vfs_register_transport(&file_const);
181 return TRUE; 178 return TRUE;
182 } 179 }
183 #endif 180