delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/16/04:59:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <003501c1b6d0$5f9c0dc0$0100a8c0@daniel>
From: "Dani P." <danielpa AT wanadoo DOT es>
To: <cygwin AT cygwin DOT com>
Subject: Core dumped just only with strcat!
Date: Sat, 16 Feb 2002 10:57:40 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

I have installed recently cygwin in order to compile a piece of code
which compiled an d worked fine in Linux, using Gtk and MySQL libraries.
It compiles fine, but it dumps a core just only with a "strcat". I do the
following:

char request[500];
request[0]=3D'\0';
strcat(request,"SELECT * FROM data");

And in that last instruction, it dumps a core.

Could you help me?

Thanks,

Dani P.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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