changeset 13653:0ee1b81a0538

Added PATH_MAX define.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Wed, 24 Aug 2011 00:16:53 +0200
parents 3d4f5cf3ca34
children c67f7d390a1a
files gui/src/terminal/KPty.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/src/terminal/KPty.cpp	Tue Aug 23 21:53:52 2011 +0200
+++ b/gui/src/terminal/KPty.cpp	Wed Aug 24 00:16:53 2011 +0200
@@ -29,6 +29,7 @@
 #include <pty.h>
 #include <utmp.h>
 
+#define PATH_MAX 1024
 
 /* for HP-UX (some versions) the extern C is needed, and for other
    platforms it doesn't hurt */
@@ -100,8 +101,6 @@
 
   d->ownMaster = true;
 
-  QByteArray ptyName;
-
   // Find a master pty that we can open ////////////////////////////////
 
   // Because not all the pty animals are created equal, they want to