From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3870 invoked by alias); 26 Jun 2002 06:15:28 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 3862 invoked from network); 26 Jun 2002 06:15:27 -0000 Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27) by sources.redhat.com with SMTP; 26 Jun 2002 06:15:27 -0000 Received: (qmail 19402 invoked by uid 417); 26 Jun 2002 06:15:21 -0000 Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12) by shunt-smtp-out-0 with SMTP; 26 Jun 2002 06:15:21 -0000 Received: from liptak.isdd.sk ([213.151.209.10]) by softhome.net with esmtp; Wed, 26 Jun 2002 00:15:18 -0600 Date: Tue, 25 Jun 2002 23:15:00 -0000 From: "m." To: gcc-help@gcc.gnu.org Subject: sscanf problem Message-Id: <20020626081341.716e61df.michal017@SoftHome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2002-06/txt/msg00221.txt.bz2 I'm having problems with sscanf() on tru64 v5.1 osf1 when I do: sscanf(array,"%[^<]",whatever) and the array contains more than 1024 chars different from '<' the sscanf() returns 1 but 'whatever' contains only 1024 chars.. I use gcc 3.0.4 the same example works correctly on linux gcc 2.96.. is it because of some tru64 limitation? thanks m.