- Timestamp:
- Feb 9, 2011, 10:59:56 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- 3f82515
- Parents:
- 8061a6a
- git-author:
- David Benjamin <davidben@mit.edu> (02/06/11 23:01:14)
- git-committer:
- David Benjamin <davidben@mit.edu> (02/09/11 22:59:56)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
util.c
r0290b2a r6965867 115 115 char quote; 116 116 117 argv = g_ptr_array_new _with_free_func(owl_free);117 argv = g_ptr_array_new(); 118 118 len=strlen(line); 119 119 curarg = g_string_new(""); … … 176 176 /* check for unbalanced quotes */ 177 177 if (quote!='\0') { 178 /* TODO: when we move to requiring glib 2.22+, use 179 * g_ptr_array_new_with_free_func. */ 180 g_ptr_array_foreach(argv, (GFunc)owl_free, NULL); 178 181 g_ptr_array_free(argv, true); 179 182 *argc = -1;
Note: See TracChangeset
for help on using the changeset viewer.