The R Project SVN R

Rev

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

Rev 36082 Rev 36087
Line 368... Line 368...
368
    char *sub;
368
    char *sub;
369
    size_t inb, outb, res;
369
    size_t inb, outb, res;
370
    R_StringBuffer cbuff = {NULL, 0, MAXELTSIZE};
370
    R_StringBuffer cbuff = {NULL, 0, MAXELTSIZE};
371
    
371
    
372
    checkArity(op, args);
372
    checkArity(op, args);
-
 
373
#ifdef Win32
-
 
374
    iconv_Init();
-
 
375
#endif
373
    if(isNull(x)) {  /* list locales */
376
    if(isNull(x)) {  /* list locales */
374
#ifdef HAVE_ICONVLIST
377
#ifdef HAVE_ICONVLIST
375
	cnt = 0;
378
	cnt = 0;
376
	iconvlist(count_one, NULL);
379
	iconvlist(count_one, NULL);
377
	PROTECT(ans = allocVector(STRSXP, cnt));
380
	PROTECT(ans = allocVector(STRSXP, cnt));