English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Diff of /branches/common-nfo/tools/nfotiser/pfile.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3473 by tg, Thu Aug 9 16:41:19 2007 UTC revision 3474 by tg, Thu Aug 9 16:43:04 2007 UTC
# Line 221  do_varexpand(struct parser_result *head) Line 221  do_varexpand(struct parser_result *head)
221          CIRCLEQ_FOREACH(entry, head, e) {          CIRCLEQ_FOREACH(entry, head, e) {
222                  if ((cp = entry->value) == NULL)                  if ((cp = entry->value) == NULL)
223                          continue;                          continue;
224                    if (strchr(cp, '\\') == NULL)
225                            continue;
226                  /* unescape backslashes */                  /* unescape backslashes */
227                  tp = dp = str_save(cp);                  tp = dp = str_save(cp);
228                  while ((ch = *cp++)) {                  while ((ch = *cp++)) {
# Line 230  do_varexpand(struct parser_result *head) Line 232  do_varexpand(struct parser_result *head)
232                  }                  }
233                  free(entry->value);                  free(entry->value);
234                  entry->value = str_nsave(dp, tp - dp);                  entry->value = str_nsave(dp, tp - dp);
235                    free(dp);
236          }          }
237  }  }
238    

Legend:
Removed from v.3473  
changed lines
  Added in v.3474

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20