diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 1998-12-16 10:24:55 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 1998-12-16 10:24:55 +0000 |
| commit | 0fba3a00059437a62d6ac727a35ae085dd5c6ff7 (patch) | |
| tree | 95f4593b8f98a8709937a30ae24fe79be97fd509 /lib/libfetch/file.c | |
| parent | e6799271cd44b3ab609cdd27f7242929d042c756 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/file.c')
| -rw-r--r-- | lib/libfetch/file.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libfetch/file.c b/lib/libfetch/file.c index 66a681f20cce..fb10f8acfd56 100644 --- a/lib/libfetch/file.c +++ b/lib/libfetch/file.c @@ -25,10 +25,10 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: file.c,v 1.1.1.1 1998/07/09 16:52:41 des Exp $ + * $Id: file.c,v 1.2 1998/11/06 22:14:08 des Exp $ */ -#include <sys/types.h> +#include <sys/param.h> #include <sys/stat.h> #include <stdio.h> #include <string.h> @@ -73,6 +73,7 @@ fetchStatFile(struct url *u, struct url_stat *us, char *flags) return -1; } us->size = sb.st_size; - us->time = sb.st_mtime; + us->atime = sb.st_atime; + us->mtime = sb.st_mtime; return 0; } |
