Am Mittwoch, 12. September 2007 14:15 schrieb Michael Riepe:
> [...]
> You can't #ifdef the locale, unfortunately, because it's chosen at run
> time. :-(
>
No, but I mean something like:

#ifndef __WIN32__
  stream << doc.toString();
#else
  stream << doc.toCString();
#endif

when writing the project file.
 
But I don't know if the r69-solution (with doc.toString) works on every Linux 
box or just on those having a UTF-8 locale... AND I have to check again if
it really does NOT work under Windows!

> [...]
>
> > PS: BTW,... the "svn diff"-patch from above does (of course) NOT change
> > back the $Id comment line with the version information... so the binary
> > is still called Rev70... just to avoid any confusion if someone wants to
> > try... ;-)
>
> It should change the $Id lines inside the source files. But that doesn't
> affect version.h because that file contains the latest entry. To reset
> the version string, just delete version.h and let the script re-generate
> it.

No, it does not... dvbcut.cpp still contains...
/* $Id: dvbcut.cpp 70 2007-09-07 09:37:12Z too-tired $ */

The patch created with "svn diff" does not contain any $Id lines, since that 
lines are NOT different in the repository! The keywords are just replaced by 
their appropriate values when checking out the normal way...  

ciao
ralph

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to