delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/09/17:27:50

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200106092127.XAA09338@mother.ludd.luth.se>
Subject: Re: Compiler options for djdev build
To: djgpp-workers AT delorie DOT com
Date: Sat, 9 Jun 2001 23:27:33 +0200 (MEST)
In-Reply-To: <5137-Sat09Jun2001232113+0300-eliz@is.elta.co.il> from "Eli Zaretskii" at Jun 09, 2001 11:21:14 PM
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019