Subversion Repositories SvarDOS

Rev

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

Rev 533 Rev 538
Line 29... Line 29...
29
#include <string.h>
29
#include <string.h>
30
 
30
 
31
#include <process.h>
31
#include <process.h>
32
 
32
 
33
#include "cmd.h"
33
#include "cmd.h"
34
#include "doserr.h"
-
 
35
#include "env.h"
34
#include "env.h"
36
#include "helpers.h"
35
#include "helpers.h"
37
#include "redir.h"
36
#include "redir.h"
38
#include "rmodinit.h"
37
#include "rmodinit.h"
39
#include "sayonara.h"
38
#include "sayonara.h"
Line 622... Line 621...
622
    pop ax
621
    pop ax
623
  }
622
  }
624
 
623
 
625
  /* printf("blen=%u filepos_cx=%u filepos_dx=%u\r\n", blen, filepos_cx, filepos_dx); */
624
  /* printf("blen=%u filepos_cx=%u filepos_dx=%u\r\n", blen, filepos_cx, filepos_dx); */
626
 
625
 
627
  if (errv != 0) outputnl(doserr(errv));
626
  if (errv != 0) nls_outputnl_doserr(errv);
628
 
627
 
629
  /* on EOF - abort processing the bat file */
628
  /* on EOF - abort processing the bat file */
630
  if (blen == 0) goto OOPS;
629
  if (blen == 0) goto OOPS;
631
 
630
 
632
  /* find nearest \n to inc batch offset and replace \r by NULL terminator
631
  /* find nearest \n to inc batch offset and replace \r by NULL terminator