To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / *10185 (-10)
  Re: L3P v1.3 for Mac OSX
 
(...) Umm, fgets already does what 2) says above (unless you mean when end of file is reached and the function returns NULL). I'm not actually sure what goes into the string when fgets returns NULL. If no line ending is found (either due to EOF (...) (22 years ago, 11-Dec-02, to lugnet.cad.dev.mac)
 
  Re: L3P v1.3 for Mac OSX
 
(...) Thanks. I thought we had that under control - just wanted to be sure. Chris (22 years ago, 11-Dec-02, to lugnet.cad.dev.mac)
 
  Re: L3P v1.3 for Mac OSX
 
Yes, the CR endings are my fault. When you download the LDRAW.sit file from my website you're getting a copy of what I have on my working disk. I've fixed mine since trying L3P but haven't uploaded it. I think I will just point to the Linux (...) (22 years ago, 11-Dec-02, to lugnet.cad.dev.mac)
 
  Re: L3P v1.3 for Mac OSX
 
(...) Chris, There are no Mac "official" parts. LDMC ((URL) points people to download the linux parts: www.ldraw.org/refere...ary.tar.gz The parts with mac-style endings are coming from Erik Olson's parts which one downloads when they download (...) (22 years ago, 11-Dec-02, to lugnet.cad.dev.mac)
 
  Re: L3P v1.3 for Mac OSX
 
(...) I guess what I was trying to say (without actually saying it) was "Can I have the latest version of L3Input.cpp?" Don (22 years ago, 11-Dec-02, to lugnet.cad.dev.mac)
 
  Re: L3P v1.3 for Mac OSX
 
(...) I have put it in L3Input.cpp because I only used fgets there, but if you can benefit from L3fgets() elsewhere you can put it in L3fgets.c or in platform.c as you wish... /Lars (22 years ago, 11-Dec-02, to lugnet.cad.dev.mac)
 
  Re: L3P v1.3 for Mac OSX
 
(...) Hey, thanks Lars. Where should I put it? L3Input.cpp, or a separate file like platform.c? Don (22 years ago, 11-Dec-02, to lugnet.cad.dev.mac)
 
  Re: L3P v1.3 for Mac OSX
 
(...) If it is possible for you to identify the problem files, could you let me know the names of the bad files. Steve and I try to make sure that everything in the official library has DOS-style line endings. If there are official parts with (...) (22 years ago, 11-Dec-02, to lugnet.cad.dev.mac)
 
  Re: L3P v1.3 for Mac OSX
 
(...) I do consider it an error. I have now made an L3fgets that can handle any line ending. I have uploaded an update (URL) try it on the original problem files. /Lars PS. Here is L3fgets, You can use it in ldglite if you like. As Paul DiLascia (...) (22 years ago, 11-Dec-02, to lugnet.cad.dev.mac)
 
  Update to Ldraw Viewer (Dev 0.3.1)
 
Last night up uploaded to my .Mac site Ldraw Viewer Development Version 0.3.1 This is mainly a bug fix initiated by the save file routine which could corrupt files. I recomend users of Development Version 0.3 change to this one. Other fixes include, (...) (22 years ago, 10-Dec-02, to lugnet.cad.dev.mac)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR