The R Project SVN R

Rev

Rev 49215 | Rev 77337 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 49215 Rev 59110
Line 212... Line 212...
212
     * the beginning of the path, transfer these to the output.
212
     * the beginning of the path, transfer these to the output.
213
     */
213
     */
214
    if (patnext == pattern && bufend - bufnext > 2 &&
214
    if (patnext == pattern && bufend - bufnext > 2 &&
215
	pattern[0] == BG_SEP2 && pattern[1] == BG_SEP2 &&
215
	pattern[0] == BG_SEP2 && pattern[1] == BG_SEP2 &&
216
	pattern[2] != BG_SEP2) {
216
	pattern[2] != BG_SEP2) {
217
	*bufnext += pattern[0];
217
	*bufnext++ = pattern[0];
218
	*bufnext += pattern[1];
218
	*bufnext++ = pattern[1];
219
	patnext += 2;
219
	patnext += 2;
220
    }
220
    }
221
#endif
221
#endif
222
 
222
 
223
    if (flags & GLOB_QUOTE) {
223
    if (flags & GLOB_QUOTE) {