[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Fwd: PATCH: bugs 20369 and 20389
From: |
Eli Zaretskii |
Subject: |
Re: [Bug-wget] Fwd: PATCH: bugs 20369 and 20389 |
Date: |
Sat, 04 Mar 2017 17:30:13 +0200 |
> From: Vijo Cherian <address@hidden>
> Date: Fri, 3 Mar 2017 11:33:05 -0800
> Cc: address@hidden
>
> bool
> file_exists_p (const char *filename, file_stats_t *fstats)
> {
> struct stat buf;
>
> #if defined(WINDOWS) || defined(__VMS)
> return stat (filename, &buf) >= 0;
> #else
This leaves fstats untouched on Windows. At least access_err should
be set, I think.