Hello list.
Below You will find a micro-patch, which fixes ecalength's behaviour for
filenames containing characters, which need to be quoted or escaped (for
example: "audio file (remark).wav").
--- ecalength.c 2010-02-14 07:25:02.000000000 +0100
+++ ecalength.c.fixed 2010-02-14 07:24:07.000000000 +0100
@@ -211,7 +211,7 @@
eci_command(cmd);
eci_command("cs-connect");
if (strlen(eci_last_error()) == 0) {
- sprintf(cmd, "ai-select %s", argv[curarg]);
+ sprintf(cmd, "ai-select \"%s\"", argv[curarg]);
eci_command(cmd);
eci_command("ai-get-length");
curfilelength = eci_last_float();
Cheers.
Artur
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Sun Feb 14 12:15:02 2010
This archive was generated by hypermail 2.1.8 : Sun Feb 14 2010 - 12:15:02 EET