Hi,

Robert Millan <[EMAIL PROTECTED]> writes:

> 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.

generally, you should use Bugzilla (http://bugzilla.gnome.org/) to
report such problems. In this particular case, I'll take care of
fixing it right now, so there's no need to open a bug report for it.

> 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

well, actually this is just an initialization and MAXPATHLEN is a
rather bad choice anyway. I'll just change it to some sane fixed
value instead.


Salut, Sven
_______________________________________________
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to