[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [Bug 726828] Re: xgsch2pcb breaks with spaces in filenames



Proposed fix on gsch2pcb side:
* keep a GList of .sch files instead lumping them into a single string
* allow contents of schematics option to be quoted (use g_shell_parse_argv() for that)
* replace g_spawn_command_line_sync with a helper function allowing to eliminate shell interpretation of the command line

Patch set is attached.

** Attachment added: "gsch2pcb-spaces-in-filenames.tgz"
   https://bugs.launchpad.net/geda/+bug/726828/+attachment/1895137/+files/gsch2pcb-spaces-in-filenames.tgz

** Changed in: geda
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/726828

Title:
  xgsch2pcb breaks with spaces in filenames

Status in GPL Electronic Design Automation tools:
  In Progress

Bug description:
  When creating a project (in this case from a template), with a space
  in the project name, the template copied schematics to names which had
  a space in them. The resulting .gsch2pcb file was not suitably quoted,
  and the file-names were broken at the space.


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug