Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 916028
Collapse All | Expand All

(-)a/vfat.c (-2 / +1 lines)
Lines 127-133 static void autorename(char *name, Link Here
127
127
128
	tmp = name[dotpos];
128
	tmp = name[dotpos];
129
	if((bump && seqnum == 1) || seqnum > 1 || mtools_numeric_tail)
129
	if((bump && seqnum == 1) || seqnum > 1 || mtools_numeric_tail)
130
		sprintf(name+tildapos,"%c%d",tilda, seqnum);
130
		snprintf(name+tildapos,limit-tildapos,"%c%d",tilda, seqnum);
131
	if(dot)
131
	if(dot)
132
	    name[dotpos]=tmp;
132
	    name[dotpos]=tmp;
133
	/* replace the character if it wasn't a space */
133
	/* replace the character if it wasn't a space */
134
- 

Return to bug 916028