> > So anybody able to see this bug with current CVS ?
> 
> As in my previous post: I do!!

The new undo code in CVS seems to have fixed it for me with fedora 7.
Before hand it as 100% reproducible in windows and linux. Here's the 
debugging i did anyway, and a tcl hack to get around the issue is attached.
-----------------------------------------------------------
The short header special case seems to be handled with truncation:

game.cpp::Game::TruncateStart

  // we need to switch off short header style or PGN parsing will not work
  uint  old_style = GetPgnStyle ();
  if (PgnStyle & PGN_STYLE_SHORT_HEADER)
  SetPgnStyle (PGN_STYLE_SHORT_HEADER, false);
  WriteToPGN (&tb);
  Init();
  PgnParser parser (tb.GetBuffer());
  parser.ParseGame (this);
  SetPgnFormat (gfmt);
  MoveToPly(0);
  if (old_style & PGN_STYLE_SHORT_HEADER)
  SetPgnStyle (PGN_STYLE_SHORT_HEADER, true);

But not with stripping

tkscid.cpp::sc_game_strip

  if (parser.ParseGame (scratchGame)) {
    return errorResult (ti, "Error: unable to strip this game.");
  }


      
__________________________________________________________________________________
Win 1 of 4 Sony home entertainment packs thanks to Yahoo!7.
Enter now: http://au.docs.yahoo.com/homepageset/

Attachment: SCID_3-line-header_hack.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to