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/sqlite/dbif.h

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

revision 3452 by tg, Wed Aug 8 16:14:20 2007 UTC revision 3453 by tg, Thu Aug 9 11:51:36 2007 UTC
# Line 129  __END_DECLS Line 129  __END_DECLS
129          char *str_nadd_ptr = (d), *str_nadd_newptr;     \          char *str_nadd_ptr = (d), *str_nadd_newptr;     \
130          size_t str_nadd_sz, str_nadd_addsz = (n);       \          size_t str_nadd_sz, str_nadd_addsz = (n);       \
131                                                          \                                                          \
132          str_nadd_sz = strlen(str_nadd_ptr);             \          str_nadd_sz = str_nadd_ptr ?                    \
133          str_nadd_newptr = xrealloc(str_nadd_ptr,        \              strlen(str_nadd_ptr) : 0;                   \
134              str_nadd_sz + str_nadd_addsz + 1);          \          str_nadd_newptr = str_nadd_ptr ?                \
135                xrealloc(str_nadd_ptr,                      \
136                str_nadd_sz + str_nadd_addsz + 1) :         \
137                xmalloc(str_nadd_addsz + 1);                \
138          str_nadd_ptr = str_nadd_newptr + str_nadd_sz;   \          str_nadd_ptr = str_nadd_newptr + str_nadd_sz;   \
139          memcpy(str_nadd_ptr, (s), str_nadd_addsz);      \          memcpy(str_nadd_ptr, (s), str_nadd_addsz);      \
140          str_nadd_ptr[str_nadd_addsz] = '\0';            \          str_nadd_ptr[str_nadd_addsz] = '\0';            \

Legend:
Removed from v.3452  
changed lines
  Added in v.3453

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