xffm changes

edscott wilson garcia edscott at imp.mx
Tue Jan 28 00:44:32 CET 2003


El lun, 27-01-2003 a las 12:07, Jens Luedicke escribió:

> I saw you changed:
> 	wastepath = g_strconcat (filepath, "/..Wastebasket/", NULL);
> into:
> 	wastepath = g_strconcat (filepath, "/..Wastebasket","/", NULL);
> 
> and used later: 
> 
> 	new_name(wastepath,"/",filename)); 

Which is a mistake, since new_name() only takes 2 arguments and expects
neither to have a trailing slash. See what I mean when I say that the
trailing slash causes confusion and bugs?

> 
> 
> 1) why not at once -> "/..Wastebasket/", <- ?
> 
> 2) iirc accepts the new_name function only two arguments?

yep, it's a mistake. It won't compile. 

EWG


> 
>   
> -- 
> Jens Luedicke <jens at irs-net.com>
> 
> "Never offend people with style when you can offend them with
> substance."
> --Sam Brown
> 
> 
> 
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at moongroup.com
> http://moongroup.com/mailman/listinfo/xfce4-dev
> 





More information about the Xfce4-dev mailing list