Share

Parallel Compositing Library

Tracker: Bugs

5 Reading pclib.conf created on Windows - ID: 2679266
Last Update: Comment added ( shreekumar )

Hi Shree,
We've had a report where pclib.conf could not be read. Turns out the
file was being created on a windows box(!) and then transferred to the
linux_64 system (the cc and tcp port options were being tested for the
user's firewall). I suspect this is going to be a very rare case (and a
dos2unix on the file would fix the problem) but can the following be added
to pcimpl.cpp at line 305 to catch any trailing DOS chars (getline()
removes the \n).

if(str[0]=='#' || str[0]=='\r')
continue;
if ( str[strlen(str)-1]=='\r' )
str[strlen(str)-1]='\0';

Thanks in advance
George


George Leaver ( georgel99 ) - 2009-03-10 15:09

5

Open

Accepted

Shree

None

None

Public


Comment ( 1 )




Date: 2009-03-16 04:54
Sender: shreekumarProject Admin

Hi George,

Sorry for the late response.

I've faced some dos2unix related problems myself in the past. Making this
change will be good - one less thing to take care of. I'll put in this
change in a couple of days & let you know. Hope that is acceptable.

Thanks
-- Shree


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
resolution_id None 2009-03-16 04:54 shreekumar
assigned_to nobody 2009-03-16 04:54 shreekumar