[Gimp-developer] [PATCH] MAXPATHLEN bug on GNU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello!

MAXPATHLEN is used unconditionaly in gimp's sources. POSIX allows
not to define it, so systems that don't have a path length limit,
like GNU, break on building the gimp.

please apply this little patch to fix it:

--- gimp1.2-1.2.3/app/app_procs.c.old   2003-03-29 19:39:54.000000000 +0100
+++ gimp1.2-1.2.3/app/app_procs.c       2003-03-29 19:40:26.000000000 +0100
@@ -132,7 +132,11 @@
 static gint logo_area_width   = 0;
 static gint logo_area_height  = 0;
 static gint show_logo         = SHOW_NEVER;
+#ifdef MAXPATHLEN
 static gint max_label_length  = MAXPATHLEN;
+#else
+static gint max_label_length  = 0;
+#endif
                                                                                
                                                                                
 void

-- 
Robert Millan

make: *** No rule to make target `war'.  Stop.

Another world is possible - Just say no to genocide

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux