This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
lseek(0,...) in snapshot differs from b20.1
- To: cygwin-list <cygwin at sourceware dot cygnus dot com>
- Subject: lseek(0,...) in snapshot differs from b20.1
- From: Paul Berrevoets <paul at swi dot com>
- Date: Mon, 20 Sep 1999 12:42:12 -0400
- Organization: SWI Systemware/Halcyon Inc.
#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@sourceware.cygnus.com