Menu

#4 pipe error if space in pathname

closed
None
5
2009-01-03
2006-06-01
No

In the procedure ObexFile::obexfileio, if the path to
the obexftp executable stored in
ObexConfig(obexftp,command) has a space in it, then the
open command in the line:

set infile [open $pipecmd "r"]

will fail.

The line:

set pipecmd "|$obexecute $params"

should be:

set pipecmd "|[list $obexecute] $params"

in order to ensure that the proper parameters are
passed to the open command.

Pathnames can have spaces in them, even on Unix.

Discussion

  • Gerhard Reithofer

    • assigned_to: nobody --> exgerhardr
     
  • Gerhard Reithofer

    • status: open --> closed
     

Log in to post a comment.