You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/03/14 17:44:45 UTC
cvs commit: apache-2.0/src/lib/apr/file_io/win32 open.c
rbb 00/03/14 08:44:45
Modified: src/lib/apr/file_io/win32 open.c
Log:
Remove the memset. We are using ap_pcalloc, which makes the memset
redundant.
Revision Changes Path
1.21 +0 -1 apache-2.0/src/lib/apr/file_io/win32/open.c
Index: open.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/open.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- open.c 2000/03/10 00:06:06 1.20
+++ open.c 2000/03/14 16:44:45 1.21
@@ -223,7 +223,6 @@
if ((*thefile) == NULL) {
return APR_ENOMEM;
}
- memset(*thefile, '\0', sizeof(struct file_t));
(*thefile)->filehand = GetStdHandle(STD_ERROR_HANDLE);
(*thefile)->cntxt = cont;
(*thefile)->fname = NULL;