This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Fri, Feb 08, 2008 at 11:05:24PM +0000, Dave Murphy wrote:
> -#ifdef __CYGWIN32__
> +#ifdef __WIN32__
> if ((file->size) && ((nr = read(fd, file->buffer, file->size)) <= 0)) {
> #else
> if ((nr = read(fd, file->buffer, file->size)) < file->size) {
What the heck does this accomplish, anyway? For either Cygwin or mingw32.
--
Daniel Jacobowitz
CodeSourcery
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |