To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *1179 (-10)
  Re: memory leak in string handling
 
Jamie Obrien <jamien@interworx.com.au> wrote: You can't do this: (...) You probably meant char *d2 = dest; like the original author wrote. Here also: (...) You probably meant return dest; like the original author wrote. -Kekoa (24 years ago, 20-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: memory leak in string handling
 
(...) I don't know of any leaks, but this line includes the terminating \0 in the output string: (...) Try the following instead: while (*d2) d2++; Presumably if you allocated a buffer of exactly the right size for a correct strcat, you code would (...) (24 years ago, 20-Jun-00, to lugnet.robotics.rcx.legos)
 
  (canceled)
 
 
  Re: memory leak in string handling
 
(...) But strcat isn't implemented in legOS is it? At least I had trouble finding it when I needed it to use in a random number generator. But this was in 0.2.3, so I don't know about 0.2.4. Tobias (24 years ago, 20-Jun-00, to lugnet.robotics.rcx.legos)
 
  (canceled)
 
 
  memory leak in string handling
 
This is not, as far as I know, something that is the matter with legos, but rather with my C programming skills. I'm trying to write the function strcat, but apparantly I'm losing memory somewhere. If anyone can see any apparant leak, please let me (...) (24 years ago, 20-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.4 working under WinNT 4(SP5) and Win2K
 
"Luis Villa" <liv@duke.edu> wrote in message news:Pine.SOL.3.91.1...uke.edu... (...) This (...) It's a must, Luis... ;-) (...) file (...) Step (...) Strange (famous programming quotation)... ;-) Can I have your modification to test them on my (...) (24 years ago, 17-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: battery life indicator
 
(...) All you can figure out is an estimate of the power supply voltage, which I'd guess doesn't correlate all that robustly to battery life. -Kekoa (24 years ago, 17-Jun-00, to lugnet.robotics.rcx.legos)
 
  battery life indicator
 
Hello, Is there a way to find out the battery life on the RCX in legOS? I checked this group and the documentation, and I can't find this info. Thanks, Nils (24 years ago, 16-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.4 working under WinNT 4(SP5) and Win2K
 
(...) Right, I understood that part, but I geuss that I understood that you meant uploading via some other method besides firmdl3/dll. Sorry, yesterday was not a good day for my brain ... Nils (24 years ago, 16-Jun-00, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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