mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-02 01:40:49 +02:00
commit bash-20070830 snapshot
This commit is contained in:
+4
-1
@@ -170,7 +170,10 @@ strsub (string, pat, rep, global)
|
||||
temp[templen++] = string[i++];
|
||||
}
|
||||
}
|
||||
temp[templen] = 0;
|
||||
if (temp)
|
||||
temp[templen] = 0;
|
||||
else
|
||||
temp = savestring (string);
|
||||
return (temp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user