Subversion Repositories SvarDOS

Rev

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

Rev 1739 Rev 1740
Line 475... Line 475...
475
  /* zero out glob_sortcmp_dat and init the collation table */
475
  /* zero out glob_sortcmp_dat and init the collation table */
476
  bzero(&glob_sortcmp_dat, sizeof(glob_sortcmp_dat));
476
  bzero(&glob_sortcmp_dat, sizeof(glob_sortcmp_dat));
477
  for (i = 0; i < 256; i++) {
477
  for (i = 0; i < 256; i++) {
478
    glob_sortcmp_dat.sortownia[i] = i;
478
    glob_sortcmp_dat.sortownia[i] = i;
479
    /* sorting should be case-insensitive */
479
    /* sorting should be case-insensitive */
480
    if ((i >= 'A') && (i <='a')) glob_sortcmp_dat.sortownia[i] |= 32;
480
    if ((i >= 'A') && (i <= 'Z')) glob_sortcmp_dat.sortownia[i] |= 32;
481
  }
481
  }
482
 
482
 
483
  i = nls_getpatterns(&(buf->nls));
483
  i = nls_getpatterns(&(buf->nls));
484
  if (i != 0) nls_outputnl_doserr(i);
484
  if (i != 0) nls_outputnl_doserr(i);
485
 
485