Thread (18 messages) flat view 18 messages, 2 authors, 2016-06-15

Re: [RFC PATCH 2/6] msvc: opendir: allocate enough memory

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:50:05

Erik Faye-Lund wrote:
quoted hunk ↗ jump to hunk
--- a/compat/msvc.c
+++ b/compat/msvc.c
@@ -5,12 +5,11 @@
 
 DIR *opendir(const char *name)
 {
-	int len;
+	int len = strlen(p->dd_name);
 	DIR *p;
Does this work?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help