Merge pull request #3971 from jasonKercher/os2-process-linux
os2 process linux implementation
This commit is contained in:
12 files changed
+902
-115
No files matched your search
@@ -2063,7 +2063,10 @@ replace :: proc(s, old, new: string, n: int, allocator := context.allocator, loc
|
||||
}
|
||||
|
||||
|
||||
t := make([]byte, len(s) + byte_count*(len(new) - len(old)), allocator, loc)
|
||||
t, err := make([]byte, len(s) + byte_count*(len(new) - len(old)), allocator, loc)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
was_allocation = true
|
||||
|
||||
w := 0
|
||||
|
||||
Reference in new issue
Block a user