|
|
 | | Re: L3P v1.3 for Mac OSX
|
| (...) Essentially the \r make it one big line. L3P says it has the wrong number of fields. Maybe it reads the buffer limit and tries again because there is a variety of error messages per file. Now that you ask I don't know how one can use fgets for (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
| | |  | | Re: L3P v1.3 for Mac OSX
|
| (...) I wonder if this could be solved with something as simple as doing an fopen() with "wt" instead of just "w"? And... And... I just can't help myself here, sorry Lars... If the code were available you might get better, more helpful or accurate (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
| | |  | | Re: L3P v1.3 for Mac OSX
|
| (...) Well, I don't really know. As I said, James said to do this at the command line /Developer/Tools/SetFile -c "POV3" -t "TEXT" /Users/yourname/yourfile.pov and after doing that, the POV-Ray programs processed the files normally. I don't know why (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
| | |  | | Re: L3P v1.3 for Mac OSX
|
| (...) Sure, if you tell me what exactly what you want... /Lars (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
| | |  | | Re: L3P v1.3 for Mac OSX
|
| (...) How does it behave badly? Does it fail to read some lines? L3P uses fgets and then removes trailing \n and \r, but perhaps this fails on "old" mac files, which I believe use the CR ending. On MacOSX, \n is mapped to LF, so how do you read CR (...) (23 years ago, 5-Dec-02, to lugnet.cad.dev.mac)
| |