Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Wed, 19 Feb 2014 14:56:24 UTC
Commit: 044120e87ce8ce021832868ae690d282f59d3b15
https://github.com/geany/geany/commit/044120e87ce8ce021832868ae690d282f59d3…
Log Message:
-----------
Windows: properly initialize errno before checking it
errno is never reset to 0 by the system libraries, so if we test
its value we need to reset it to 0 before the call that may change
it to something else.
Modified Paths:
--------------
src/win32.c
Modified: src/win32.c
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -1058,6 +1058,7 @@ gboolean win32_spawn(const gchar *dir, gchar **argv, gchar **env, GSpawnFlags fl
locale_command = g_strdup(command);
geany_debug("WIN32: actually running command:\n%s", command);
g_chdir(dir);
+ errno = 0;
ret = system(locale_command);
/* the command can return -1 as an exit code, so check errno also */
fail = ret == -1 && errno;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Wed, 19 Feb 2014 14:53:25 UTC
Commit: 5c893e9b0eac95cc26f35a5dc279872ff1588f27
https://github.com/geany/geany/commit/5c893e9b0eac95cc26f35a5dc279872ff1588…
Log Message:
-----------
Windows: fix spawning commands with spaces
Fix spawnning command under Windows when they contain spaces in both
the executable and the arguments. Apparently system() quoting is
unexpected, and doesn't work properly if there is more than 2 quotes
in the whole command.
To work this around, spawn the command through `cmd.exe /S /C`.
Modified Paths:
--------------
src/win32.c
Modified: src/win32.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -1050,7 +1050,7 @@ gboolean win32_spawn(const gchar *dir, gchar **argv, gchar **env, GSpawnFlags fl
return FALSE;
}
command = g_strjoinv(" ", argv);
- SETPTR(command, g_strdup_printf("%s >%s 2>%s",
+ SETPTR(command, g_strdup_printf("cmd.exe /S /C \"%s >%s 2>%s\"",
command, tmp_file, tmp_errfile));
g_chdir(dir);
ret = system(command);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Frank Lanitz <frank(a)frank.uvena.de>
Committer: Frank Lanitz <frank(a)frank.uvena.de>
Date: Sat, 15 Feb 2014 14:51:36 UTC
Commit: 3f7951782d84e15f272a2080cc7e6cdf6cf2d751
https://github.com/geany/talks/commit/3f7951782d84e15f272a2080cc7e6cdf6cf2d…
Log Message:
-----------
Adding a very first list of topics
Modified Paths:
--------------
de/html/index.html
Modified: de/html/index.html
16 files changed, 16 insertions(+), 0 deletions(-)
===================================================================
@@ -35,6 +35,22 @@
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
+ <section>
+ <h1>Best of Geany-FAQ</h1>
+ <h2>alles was ihr schon immer über den Editor wissen wolltet </h2>
+ <p>Frank Lanitz</p>
+ </section>
+ <section><h2>Einführung</h2></section>
+ <section><h2>Build-System</h2></section>
+ <section><h2>Dateitypen</h2></section>
+ <section><h2>Tags, Symbolbrowser und Autovervollständigung</h2></section>
+ <section><h2>Plugins</h2>
+ <!-- Unterfolien -->
+ <section><h2>GeanyVC</h2></section>
+ <section><h2>GeanyGDB</h2></section>
+ <section><h2>Misc</h2></section>
+ </section>
+
</div>
</div>
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).