[vlc-devel] commit: vlc_execve: use _exit in case of failure ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Dec 29 19:34:13 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Dec 29 20:34:03 2009 +0200| [7868eb4ae83b5d195412eb6bca032ca37dd8d30d] | committer: Rémi Denis-Courmont 

vlc_execve: use _exit in case of failure

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7868eb4ae83b5d195412eb6bca032ca37dd8d30d
---

 src/extras/libc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/extras/libc.c b/src/extras/libc.c
index 368f01a..115bc09 100644
--- a/src/extras/libc.c
+++ b/src/extras/libc.c
@@ -628,7 +628,7 @@ int __vlc_execve( vlc_object_t *p_object, int i_argc, char *const *ppsz_argv,
              && ((psz_cwd == NULL) || (chdir (psz_cwd) == 0)))
                 execve (ppsz_argv[0], ppsz_argv, ppsz_env);
 
-            exit (EXIT_FAILURE);
+            _exit (EXIT_FAILURE);
         }
     }
 




More information about the vlc-devel mailing list