help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] [bug] posix/findexec.c/find_executable: path_max not ne


From: rrt
Subject: [Help-smalltalk] [bug] posix/findexec.c/find_executable: path_max not needed outside #ifdef
Date: Tue, 30 Oct 2012 04:50:49 -0700

Issue status update for http://smalltalk.gnu.org/node/665 Post a follow up: http://smalltalk.gnu.org/project/comments/add/665

Project:      GNU Smalltalk
Version:      <none>
Component:    VM
Category:     bug reports
Priority:     minor
Assigned to:  Unassigned
Reported by:  rrt
Updated by:   rrt
Status:       active

At the top of find_executable, path_max is defined, but it is only used
in the Darwin & Linux-specific code, not the general POSIX code, so
could usefully be ifdefed itself. And then knowing that you're on Darwin
or Linux, perhaps you can be more intelligent about getting the maximum
length of a filename.

I suppose even better, just use asprintf. (But AFAICS, GNU Smalltalk
appears not to use gnulib.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]