Explorar el Código

Merge branch 'master' of https://github.com/odin-lang/Odin

gingerBill hace 3 años
padre
commit
2e89585c8c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      core/path/path.odin

+ 1 - 1
core/path/path.odin

@@ -150,7 +150,7 @@ join :: proc(elems: ..string, allocator := context.allocator) -> string {
 	context.allocator = allocator
 	for elem, i in elems {
 		if elem != "" {
-			s := strings.join(elems[i:], "/")
+			s := strings.join(elems[i:], "/", context.temp_allocator)
 			return clean(s)
 		}
 	}