Subversion Repositories SvarDOS

Rev

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

Rev 2207 Rev 2213
Line 607... Line 607...
607
    nls_output_err(255, 8); /* insufficient memory */
607
    nls_output_err(255, 8); /* insufficient memory */
608
    goto GAMEOVER;
608
    goto GAMEOVER;
609
  }
609
  }
610
 
610
 
611
  /* zero out glob_sortcmp_dat and init the collation table */
611
  /* zero out glob_sortcmp_dat and init the collation table */
612
  bzero(&glob_sortcmp_dat, sizeof(glob_sortcmp_dat));
612
  sv_bzero(&glob_sortcmp_dat, sizeof(glob_sortcmp_dat));
613
  for (i = 0; i < 256; i++) {
613
  for (i = 0; i < 256; i++) {
614
    glob_sortcmp_dat.sortownia[i] = i;
614
    glob_sortcmp_dat.sortownia[i] = i;
615
    /* sorting should be case-insensitive */
615
    /* sorting should be case-insensitive */
616
    if ((i >= 'A') && (i <= 'Z')) glob_sortcmp_dat.sortownia[i] |= 32;
616
    if ((i >= 'A') && (i <= 'Z')) glob_sortcmp_dat.sortownia[i] |= 32;
617
  }
617
  }
Line 685... Line 685...
685
  if (screenw < 80) buf->nls.thousep[0] = 0;
685
  if (screenw < 80) buf->nls.thousep[0] = 0;
686
 
686
 
687
  /*** PARSING COMMAND LINE STARTS *******************************************/
687
  /*** PARSING COMMAND LINE STARTS *******************************************/
688
 
688
 
689
  /* init req with some defaults */
689
  /* init req with some defaults */
690
  bzero(&req, sizeof(req));
690
  sv_bzero(&req, sizeof(req));
691
  req.attrfilter_may = DIR_ATTR_DEFAULT;
691
  req.attrfilter_may = DIR_ATTR_DEFAULT;
692
  req.format = DIR_OUTPUT_NORM;
692
  req.format = DIR_OUTPUT_NORM;
693
 
693
 
694
  /* process DIRCMD first (so it can be overidden by user's cmdline) */
694
  /* process DIRCMD first (so it can be overidden by user's cmdline) */
695
  {
695
  {