[mango/django] Make the wrapper work
- From: Olav Vitters <ovitters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [mango/django] Make the wrapper work
- Date: Wed, 20 Jan 2010 09:04:36 +0000 (UTC)
commit 135ca740b923c989f8cfc0a56d6e619fcb28657c
Author: Olav Vitters <olav bkor dhs org>
Date: Wed Jan 20 10:04:20 2010 +0100
Make the wrapper work
...passwd-reset.c => mango-passwd-reset-wrapper.c} | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mango/mango-passwd-reset.c b/mango/mango-passwd-reset-wrapper.c
similarity index 85%
rename from mango/mango-passwd-reset.c
rename to mango/mango-passwd-reset-wrapper.c
index f11b2ae..aa9154e 100644
--- a/mango/mango-passwd-reset.c
+++ b/mango/mango-passwd-reset-wrapper.c
@@ -2,7 +2,7 @@
/* Written by Tobias Mueller <muelli cryptobitch de>
* for use by Mango
*
- * compile using: gcc mango-passwd-reset.c -o mango-passwd-reset
+ * compile using: gcc mango-passwd-reset-wrapper.c -o mango-passwd-reset-wrapper
*/
#define _GNU_SOURCE
@@ -31,7 +31,7 @@ main (int argc, char* argv[]) {
exit (EXIT_FAILURE);
}
- execle (program, buf, NULL, environment);
+ execle (program, buf, buf, NULL, environment);
/* Not reached */
return errno;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]