From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20089 invoked by alias); 26 Jun 2003 09:53:02 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 20079 invoked from network); 26 Jun 2003 09:53:00 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 26 Jun 2003 09:53:00 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19VTQn-0004VY-00 for ; Thu, 26 Jun 2003 11:52:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19VTQm-0004VO-00 for ; Thu, 26 Jun 2003 11:52:40 +0200 From: "Alex Vinokur" Subject: Re: assertion "ptr != MAP_FAILED" failed while using mmap Date: Thu, 26 Jun 2003 11:33:00 -0000 Message-ID: References: <3EFA8DC0.441238CB@dessent.net> X-Complaints-To: usenet@main.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-SW-Source: 2003-06/txt/msg01211.txt.bz2 "Brian Dessent" wrote in message news:3EFA8DC0.441238CB@dessent.net... > Alex Vinokur wrote: > > > > The program prints: > > === Error : 22 Invalid argument === > > > > Which argument? > > The flags argument requires at least one of MAP_SHARED or MAP_PRIVATE, I > think. > > Brian > It works fine with MAP_SHARED. Thanks. ===================================== Alex Vinokur mailto:alexvn@connect.to http://mathforum.org/library/view/10978.html ===================================== -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/