On 23 September 2010 21:08, Johannes Sixt <j6t@xxxxxxxx> wrote: > On Donnerstag, 23. September 2010, Erik Faye-Lund wrote: >> @@ -297,7 +297,7 @@ int mingw_open (const char *filename, int oflags, ...) >> Â Â Â mode = va_arg(args, int); >> Â Â Â va_end(args); >> >> - Â Â if (!strcmp(filename, "/dev/null")) >> + Â Â if (filename && !strcmp(filename, "/dev/null")) >> Â Â Â Â Â Â Â filename = "nul"; >> >> Â Â Â fd = open(filename, oflags, mode); > > Good catch, thank you! > > Acked-by: Johannes Sixt <j6t@xxxxxxxx> > > -- Hannes Applied to devel and pushed. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html