Re: about downloading Cygwin using linux

2020-01-11 Thread Chris Wagner
The first thing to consider is that Windows XP is no longer supported by the main Cygwin code base. https://cygwin.com/cygwin-ug-net/setup-net.html If you really need to install on XP, you'll have to find a snapshot of the last repository that supported it. That would be anything prior to

Re: pread() from /dev/sda fails with: Illegal seek

2020-01-11 Thread Enrique Perez-Terron
Den 2020-01-11 15:10, skrev David Balažic: pread on /dev/sda fails with Illegal seek. Confirmed on windows 10, 64-bit. My code: $ cat t.c #include #include #include #include #include int main(int argc, char *argv[]) { int fd = open("/dev/sda", O_RDONLY, 0); if (fd < 0) {

Re: [Attn. Maintainers] Reminder: Package updates needed for the pending switch to perl-5.30.1

2020-01-11 Thread Achim Gratz
Achim Gratz writes: > I'm going to update the Perl distributions in the perl-5.30 repository > that have bumped up their versions in the meantime on the weekend most > likely. I think it would be good if the remaining dependent packages > could be ready until the end of January so that the

pread() from /dev/sda fails with: Illegal seek

2020-01-11 Thread David Balažic
Hi! I'm porting an app from Linux to Cygwin and stumbled on this problem: pread on /dev/sda fails with Illegal seek. The simplified code is: #include #include #include #include int main(int argc, char *argv[]) { unsigned int sector_size = 512; void *buf = calloc(sector_size,1); int