Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 21 Nov 2000 19:41:42 -0500 Message-Id: <200011220041.TAA22145@envy.delorie.com> X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f From: DJ Delorie To: zackw AT Stanford DOT EDU CC: Kelley DOT Cook AT home DOT com, GCC-Bugs AT gcc DOT gnu DOT org, GCC-patches AT gcc DOT gnu DOT org, Cygwin AT sources DOT redhat DOT com In-reply-to: <20001121162522.G17712@wolery.stanford.edu> (zackw@Stanford.EDU) Subject: Re: Reason for cygwin GCC 2.97 non-bootstrap found References: <200011211839 DOT eALIdOd15553 AT ahmlir2 DOT mail DOT eds DOT com> <20001121162522 DOT G17712 AT wolery DOT stanford DOT edu> > Could you [since Kelley is out of town till Sunday, this "you" is > anyone with a convenient cygwin installation] please compile and run > the appended test program under cygwin? It should either exit > successfully, or crash; I need to know which. It runs OK. > #include > #include > #include > #include > > #define PAGEPROT PROT_READ|PROT_WRITE > #define MAPFLAGS MAP_PRIVATE|MAP_ANONYMOUS > > int main(void) > { > size_t pagesize = getpagesize(); > char *base; > > base = mmap(0, 16*pagesize, PAGEPROT, MAPFLAGS, -1, 0); > memset(base, 0xAB, 16*pagesize); > > munmap(base + 4*pagesize, pagesize); > > memset(base, 0xCD, 4*pagesize); > memset(base + 5*pagesize, 0xCD, 10*pagesize); > > return 0; > } -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com