texane/stlink — pull request #79 by WinterMute (2012-05-16 22:44:48+00:00)
Title: Mingw mmap reimplementation

The reply I got re: pread.c was "Implementing pread in terms of read is completely trivial, just write it yourself and don't worry about it."

So ... I've rewritten mmap.c & mmap.h and dispensed with pread.c since this is the only place it's used in this port. Also added COPYING to the repository to avoid license confusion with the autotools setup and nabbed a BSD implementation of timersub.