delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/20/12:45:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37E663E4.E800145B@swi.com>
Date: Mon, 20 Sep 1999 12:42:12 -0400
From: Paul Berrevoets <paul AT swi DOT com>
Organization: SWI Systemware/Halcyon Inc.
X-Mailer: Mozilla 4.51 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-list <cygwin AT sourceware DOT cygnus DOT com>
Subject: lseek(0,...) in snapshot differs from b20.1

#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
int
main()
{
    int rc = lseek(0, (off_t)0, SEEK_CUR);
    printf("%d %d\n", rc, rc < 0 ? errno : 0);
    return 0;
}

Ouput using b20.1:
0 0

Output using snapshot 1999-09-17:
-1 9

If this change is intentional, could you please explain the rationale?
--
Regards,
Paul Berrevoets



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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