From: SourceForge.net <no...@so...> - 2006-09-22 12:14:49
|
Bugs item #1563459, was opened at 2006-09-22 14:14 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1563459&group_id=4664 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Tobias Klauser (tklauser) Assigned to: Nobody/Anonymous (nobody) Summary: Does not handle DOS file format correctly Initial Comment: This bug was reported by a user of the cscope package in the Debian [1] distribution. As I'm the maintainer of this packages, I'm reporting this bug here as I consider it an upstream bug. You can find the original bug report at [2] [1] http://www.debian.org [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325713 When using files with DOS linebreaks (CR+LF) the following features do not work as expected: - "Find this C symbol" does find the symbol but always shows <global> as the containing function - "Find functions called by this function" does not find any function even if they're present in the source file(s) - "Find functions calling this function" does not find anything even if the function is called somewhere in the source file(s) - "Find this text string" show empty lines (as many as the occurence of the string in the source file(s) containig DOS linebreaks) When using files with UNIX linebreaks this bug did not show up. This bug was reproduced with the most recent CVS checkout from [3] [3] http://cscope.cvs.sourceforge.net/cscope/ Attached is the source files of my test case in the DOS file format (created with 'unix2dos -a' from a source file in UNIX format) Please let me know if I can provide any additional information. Tobias ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1563459&group_id=4664 |