delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/23/04:35:49

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=LZxPwACY2+9xDtWnKHMcdO9ciVLOdg4AokiJaNMSKA8=;
b=qzo9o1LIvdSZsqRGUKovle8aYerKevyjWFFTpSpEJemyY6ch9lKuMpDwrd4W237NFs
K9tHz2YTL1IuM5t3QrQZFtrnN8d9PJolKFBcvjjGJrRLhvSVh1YINLgokWAcMdSXwz2O
qN0/x5Pn61VNcJh4D8lO4dULas8dcHRBr5nC/aXCQX5laCcCkWsP/12q0R9zbFMU2C6G
/Dzpfu9786mgjNBRf+2KVVV2BT0lY/ErLjE4t5Sw2kB/frLwjSgXInzKz0g5+xVRhvng
bhzZs9y3wYJvZRNhcaTOkLhgmoOkGkcxGCtPlqXqD1QB1p3z9uTn2JjIniOvlKSbfDSG
MAhA==
MIME-Version: 1.0
X-Received: by 10.43.125.200 with SMTP id gt8mr8854669icc.90.1432370138022;
Sat, 23 May 2015 01:35:38 -0700 (PDT)
In-Reply-To: <201505042003.t44K3odg011007@delorie.com>
References: <201505042003 DOT t44K3odg011007 AT delorie DOT com>
Date: Sat, 23 May 2015 11:35:37 +0300
Message-ID: <CAA2C=vCW81FB9VpU99AjtrRzbmZs048JzET91RzYt8Xbqw0aZg@mail.gmail.com>
Subject: Re: ANNOUNCE: DJGPP 2.05 beta 1
From: "Ozkan Sezer (sezeroz AT gmail DOT com)" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Applied the following to doprnt.c:

doprnt.c: removed the CHARINT case from the ARG macro.
  (char basetype) seems wrong and the case is handled
  with the generic case already.

Index: src/libc/ansi/stdio/doprnt.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/ansi/stdio/doprnt.c,v
retrieving revision 1.36
diff -u -r1.36 doprnt.c
--- src/libc/ansi/stdio/doprnt.c	10 Jan 2014 18:21:56 -0000	1.36
+++ src/libc/ansi/stdio/doprnt.c	23 May 2015 00:21:23 -0000
@@ -48,7 +48,6 @@
   flags & LONGDBL  ? va_arg(argp, long long basetype) :   \
   flags & LONGINT  ? va_arg(argp, long basetype) :        \
   flags & SHORTINT ? (short basetype)va_arg(argp, int) :  \
-  flags & CHARINT  ? (char basetype)va_arg(argp, int) :   \
   (basetype)va_arg(argp, int)

 #define CONVERT(type, value, base, string, case)               \

- Raw text -


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