projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a4c6d8
)
NULL terminate the g_build_filename args.
author
Iain Holmes
<iain@prettypeople.org>
Wed, 29 Oct 2003 12:04:54 +0000
(12:04 +0000)
committer
Iain Holmes
<iain@prettypeople.org>
Wed, 29 Oct 2003 12:04:54 +0000
(12:04 +0000)
Original commit message from CVS:
NULL terminate the g_build_filename args.
tools/gst-register.c
patch
|
blob
|
history
diff --git
a/tools/gst-register.c
b/tools/gst-register.c
index
a584015
..
087a0f8
100644
(file)
--- a/
tools/gst-register.c
+++ b/
tools/gst-register.c
@@
-62,7
+62,7
@@
spawn_all_in_dir(const char *dirname)
if (dir == NULL) return;
while( (file = g_dir_read_name (dir)) ){
- argv[0] = g_build_filename(dirname, file);
+ argv[0] = g_build_filename(dirname, file
, NULL
);
g_print("running %s\n",argv[0]);
g_spawn_sync (NULL, argv, NULL, G_SPAWN_FILE_AND_ARGV_ZERO, NULL, NULL, NULL, NULL, NULL, NULL);
g_free(argv[0]);