delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/04/03/14:00:32

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <38E8DA49.4F1565CB@vinschen.de>
Date: Mon, 03 Apr 2000 19:52:09 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: Permission denied with makeinfo from texinfo-4.0
References: <20000402204634 DOT D23469 AT cygnus DOT com> <200004030110 DOT UAA11749 AT hp2 DOT xraylith DOT wisc DOT edu> <20000402212045 DOT A24086 AT cygnus DOT com> <20000402221700 DOT A25094 AT cygnus DOT com> <38E89EB5 DOT 65FC1A41 AT vinschen DOT de> <20000403133546 DOT C1678 AT cygnus DOT com>

Chris Faylor wrote:
> [...]
> That's not quite the same thing.  The behavior as I understand it is
> something like this:
> 
> #include <sys/types.h> etcetera...
> [...]
>   lseek (fd, (off_t) -2, SEEK_END);
>   bytes = read (fd, buf1 + (64000 - 2), 40000);
>   printf ("read: %d, err: %d, %s\n", bytes, errno, strerror(errno));
> [...]
> This supposedly works on UNIX and fails on Cygwin.

I had checked this either and it's really the same. It doesn't
work and it results in error EFAULT.

Corinna

- Raw text -


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