Mail Archives: djgpp-workers/2001/06/09/17:27:50
Here a couple that I can't apply until winNt correction is in:
Index: src/libc/dos/process/dosexec.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/dos/process/dosexec.c,v
retrieving revision 1.13
diff -p -u -r1.13 dosexec.c
--- src/libc/dos/process/dosexec.c 2001/03/29 16:57:53 1.13
+++ src/libc/dos/process/dosexec.c 2001/06/09 21:22:27
@@ -941,7 +944,7 @@ __dosexec_command_exec(const char *progr
int i;
int was_quoted = 0; /* was the program name quoted? */
char real_program[FILENAME_MAX];
- int cmdline_len;
+ size_t cmdline_len;
char *cmdline_var = NULL;
if (!__solve_symlinks(program, real_program))
@@ -1031,7 +1034,7 @@ __dosexec_command_exec(const char *progr
if ((cmdline_len = strlen(cmdline)) > CMDLEN_LIMIT)
{
- unsigned int cmdline_limit;
+ size_t cmdline_limit;
cmdline_limit = _shell_cmdline_limit(comspec);
if (cmdline_limit == 0) /* unknown shell */
Index: src/libc/go32/dpmiexcp.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/go32/dpmiexcp.c,v
retrieving revision 1.7
diff -p -u -r1.7 dpmiexcp.c
--- src/libc/go32/dpmiexcp.c 1999/09/02 08:30:38 1.7
+++ src/libc/go32/dpmiexcp.c 2001/06/09 21:22:38
@@ -400,7 +401,7 @@ void
__djgpp_exception_toggle(void)
{
__dpmi_paddr except;
- int i;
+ size_t i;
for(i=0; i < EXCEPTION_COUNT; i++)
{
@@ -515,7 +516,7 @@ __djgpp_exception_setup(void)
{
__dpmi_paddr except;
__dpmi_meminfo lockmem;
- int i;
+ size_t i;
if (ScreenPrimary != 0xa0000)
{
Right,
MartinS
- Raw text -