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/nfohelpr.h

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

revision 3470 by tg, Thu Aug 9 13:44:30 2007 UTC revision 3471 by tg, Thu Aug 9 16:28:02 2007 UTC
# Line 124  __END_DECLS Line 124  __END_DECLS
124          (str_nadd_newptr);                              \          (str_nadd_newptr);                              \
125  })  })
126    
127    #define xasprintf(fmt, ...) ({                          \
128            char *xasprintf_ptr;                            \
129                                                            \
130            if (asprintf(&xasprintf_ptr, (fmt),             \
131                ##__VA_ARGS__) < 0)                         \
132                    xasprintf_ptr = NULL;                   \
133            if (xasprintf_ptr == NULL)                      \
134                    err(255, "cannot asprintf");            \
135            (xasprintf_ptr);                                \
136    })
137    
138  #endif  #endif

Legend:
Removed from v.3470  
changed lines
  Added in v.3471

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