Issue93

classification
Title [BUG] No way to escape SEPCHAR in split_external_path
Type defect Module core documentation
Severity inconvenience Platform unix
Keywords needs doc Nosy List
explanation
process
These controls should only be changed by committers and tracker administrators.
Status done/needs work   Reason
Superseder   Submitted 2007-12-27.06:22:41
Priority normal   Assigned To

Created on 2008-01-19.04:58:06 by stephen, last changed 2008-01-22.07:56:23 by stephen.

Messages
msg456 [hidden] ([hidden]) Date: 2008-01-22.07:56:23
Need to document this.
msg338 [hidden] ([hidden]) Date: 2008-01-19.06:43:12
  Message-ID: <m2k5n0b9xy.fsf@xemacs.org>
>>>>> "Michael" == Michael Sperber <sperber@deinprogramm.de> writes:

Michael> Does the PATH environment variable, for instance, allow
Michael> escaping?

Glibc's implementation of execvp() doesn't allow escaping in PATH,
except for the case where '::' means the current directory, so I'd say
thay it doesn't.

Malcolm
msg117 [hidden] ([hidden]) Date: 2008-01-19.04:58:06
  Message-ID: <87sl1ov00d.fsf@uwakimon.sk.tsukuba.ac.jp>
Michael Sperber writes:

 > > I don't know if this is actually a bug or not, but apparently there is
 > > no way to escape the path separator character (typically ?/ on Unix,
 > > ?\\ on Windows) in split_external_path.

 > I always thought this was a general issue with this notation for paths
 > on Unix and Windows.  Does the PATH environment variable, for instance,
 > allow escaping?

If I knew, I would be telling, not asking. ;-)  

 > Anyway, this has, to my knowledge, never arisen in practice.  Is it
 > worth complicating the code for?

Probably not, but it should be documented.

_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta@xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
msg116 [hidden] ([hidden]) Date: 2008-01-19.04:58:05
  Message-ID: <87wsr0veq6.fsf@uwakimon.sk.tsukuba.ac.jp>
I don't know if this is actually a bug or not, but apparently there is
no way to escape the path separator character (typically ?/ on Unix,
?\\ on Windows) in split_external_path.  This means that if for some
reason one wanted to put something like packages in a directory named
something like "xemacs:stuff", that would get split into two
directories of a search path in many contexts such as "./configure
--with-late-packages=xemacs:stuff".

Any thoughts, Mike?

_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta@xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
History
Date User Action Args
2008-01-22 07:56:23stephensetstatus: chatting -> done/needs work
priority: normal
severity: inconvenience
keyword: + needs doc
platform: + unix
type: defect
messages: + msg456
module: + core documentation
2008-01-19 06:43:13malcolmpsetmessages: + msg338
2008-01-19 04:58:06stephensetstatus: new -> chatting
messages: + msg117
2008-01-19 04:58:06stephencreate