← Commit list

f3bd7c463

Glenn L McGrath
Glenn L McGrath
2003-03-09
SUCCESS Duration: 52s

Subject

Fix a delimiter matching bug i introduced.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

editors/sed.c+1 -0
@@ -193,6 +193,7 @@ static int get_address(char *delimiter, char *my_str, int *linenum, regex_t **re
else if (my_str[idx] == '/' || my_str[idx] == '\\') {
int idx_start = 1;
+ *delimiter = '/';
if (my_str[idx] == '\\') {
idx_start++;
*delimiter = my_str[++idx];