rem: if ((src = open(srcFile, O_RDONLY)) == 0) {
add: if ((src = open(srcFile, O_RDONLY|O_BINARY)) == 0) {
context: fetchFile(char *toPath, char *srcFile, char *destFile){    int		src, dest;    int		n;    char	*tmp;    char	buf[BUFSIZE];        if ((src = open(srcFile, O_RDONLY)) == 0) {	wsyserror(_("Could not open %s"), srcFile);	return -1;    }        tmp = wstrconcat(toPath, destFile);    if ((dest = open( tmp, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH)) 	== 0) {	wsyserror(_("Could not create %s"), tmp);	wfree(tmp);	return -1;    }    wfree(tmp);            /* Copy the file */    while ((n = read(src, buf, BUFSIZE)) > 0)    {	if (write (dest, buf, n) != n)	{	    wsyserror(_("Write error on file %s"), destFile);	    return -1;	}    }        return 0;}