public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Aaron W. LaFramboise" <aaronavay62@aaronwl.com>
To: gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org
Subject: [PATCH] Small libgfortran/intrinsics/system.c fix
Date: Wed, 27 Oct 2004 20:55:00 -0000	[thread overview]
Message-ID: <41800613.5030500@aaronwl.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

This patch fixes one place that was missed in
<http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01619.html> involving an
itoa() conflict with MinGW's headers.

OK?

Aaron W. LaFramboise


[-- Attachment #2: gcc-mainline-20041025-libgfsys.patch --]
[-- Type: text/plain, Size: 825 bytes --]

Index: gcc/libgfortran/intrinsics/system.c
===================================================================
RCS file: /cvs/gcc/gcc/libgfortran/intrinsics/system.c,v
retrieving revision 1.1
diff -c -3 -p -r1.1 system.c
*** gcc/libgfortran/intrinsics/system.c	4 Oct 2004 21:30:32 -0000	1.1
--- gcc/libgfortran/intrinsics/system.c	25 Oct 2004 06:53:20 -0000
*************** Software Foundation, 59 Temple Place - S
*** 29,35 ****
  02111-1307, USA.  */
  
  #include "config.h"
- #include "libgfortran.h"
  
  #ifdef HAVE_STRING_H
  #include <string.h>
--- 29,34 ----
*************** Software Foundation, 59 Temple Place - S
*** 38,43 ****
--- 37,44 ----
  #include <stdlib.h>
  #endif
  
+ #include "libgfortran.h"
+ 
  void
  prefix(system_sub) (const char * fcmd, GFC_INTEGER_4 * status,
  		    gfc_charlen_type cmd_len)

             reply	other threads:[~2004-10-27 20:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-27 20:55 Aaron W. LaFramboise [this message]
2004-10-28 21:45 ` Steven Bosscher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41800613.5030500@aaronwl.com \
    --to=aaronavay62@aaronwl.com \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).