Searched refs:suf_pat (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/basename/
H A Dbasename.c48 char *suf_pat; local
130 suf_pat = malloc(suf_len);
131 if (suf_pat == NULL) {
136 suf_pat = suf_buf;
138 (void) strcpy(suf_pat, "\\(.*\\)");
139 (void) strcpy(suf_pat + 6, suffix);
140 *(suf_pat + suf_len - 1 - 1) = '$';
141 *(suf_pat + suf_len - 1) = '\0';
143 r = regcomp(&reg, suf_pat, 0);
147 suf_pat);
[all...]

Completed in 214 milliseconds