On Fri, Sep 14, 2012 at 2:26 AM, Viesturs Lācis
<viesturs.la...@gmail.com> wrote:
>
> But if it saves automatically, I do not want to overwrite previous
> files, especially if there have been several times LinuxCNC has been
> started in one day - for example, in the morning, then on lunch break

Maybe check if the file exists, and if it does, open in append mode;
otherwise open it normally for writing.

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to