seed r215 - in trunk: libseed tests
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r215 - in trunk: libseed tests
- Date: Sat, 8 Nov 2008 13:58:45 +0000 (UTC)
Author: racarr
Date: Sat Nov 8 13:58:45 2008
New Revision: 215
URL: http://svn.gnome.org/viewvc/seed?rev=215&view=rev
Log:
Force including stdio.h...in some circumstances (read: Systems besides the ones I tested on) readline.h seems to not include it, and everything dies.
Modified:
trunk/libseed/seed-builtins.c
trunk/tests/out-test.js
Modified: trunk/libseed/seed-builtins.c
==============================================================================
--- trunk/libseed/seed-builtins.c (original)
+++ trunk/libseed/seed-builtins.c Sat Nov 8 13:58:45 2008
@@ -20,6 +20,7 @@
*/
#include "seed-private.h"
+#include <stdio.h>
#include <readline/readline.h>
#include <readline/history.h>
#include <string.h>
Modified: trunk/tests/out-test.js
==============================================================================
--- trunk/tests/out-test.js (original)
+++ trunk/tests/out-test.js Sat Nov 8 13:58:45 2008
@@ -1,4 +1,4 @@
-#!/usr/local/bin/seed
+#!/usr/bin/env seed
// Returns: 0
// STDIN:
// STDOUT:5 100
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]