On Wed, Dec 01, 2010 at 12:49:52PM +0200, Slavko Kocjancic wrote: > Hello... > > I was trying to change behaviour of (LOGOPEN, filename) feature to not > truncate file when oppened (to add) > As my knowledge with C is not good I can't manage to do in way I like > and to be good for others too. > My idea was to use (LOGOPEN, filename) as is and (LOGOPEN, filename, > append) to append to file. > But I can't find a way to do it. So After little twigeling I manage like > this: > > (LOGOPEN, filename) as is > (LOGOPEN, _filename) to append to the file. (filename start's with > underscore)
Since _ is a valid character in a filename (as is comma) I don't really care for either of these. Perhaps a separate magic comment like LOGAPPEND? > What is 'correct' way to post such changes?! As git patches: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Git#Share_your_changes_with_others ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers