http://bugs.winehq.org/show_bug.cgi?id=18170
Summary: regedit should accept CR-separated lines Product: Wine Version: 1.1.19 Platform: PC OS/Version: Linux Status: NEW Keywords: source, testcase Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: fgouget@codeweavers.com
I have a program that runs regedit on a file where lines are separated by CR characters on their own (no LFs anywhere!).
On Windows XP this works but in Wine it fails as regedit considers this to be all one big line.
To reproduce one could use the following perl script to create a suitable test file: --- #!/usr/bin/perl print "REGEDIT4\r"; print "\r"; print "[HKEY_LOCAL_MACHINE\Software\Foo]\r"; print ""Name"="Val"\r"; ---
http://bugs.winehq.org/show_bug.cgi?id=18170
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #1 from Austin English austinenglish@gmail.com 2009-10-29 15:13:59 --- Is this still an issue in current (1.1.32 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=18170
--- Comment #2 from Austin English austinenglish@gmail.com 2009-10-29 15:26:29 --- Is this still an issue in current (1.1.32 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=18170
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com 2010-06-23 15:33:33 --- Created an attachment (id=29087) --> (http://bugs.winehq.org/attachment.cgi?id=29087) Process reg files which use \r line endings
Here's a patch which fixes this. It was submitted to wine-patches, but never moved past "pending." I will resubmit after 1.2.
http://bugs.winehq.org/show_bug.cgi?id=18170
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |aeikum@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=18170
--- Comment #4 from Andrew Eikum aeikum@codeweavers.com 2010-07-29 13:30:14 --- In reply to this patch, Julliard suggested adding a testsuite for regedit. So this patch will probably have to stay on hold until a testsuite is created.
http://bugs.winehq.org/show_bug.cgi?id=18170
--- Comment #5 from Andrew Eikum aeikum@codeweavers.com 2010-08-02 11:29:35 --- Should be fixed by this commit:
commit 8851a4eb1f51fa56e5ac55d4a1d4a762abb21e3b Author: Andrew Eikum aeikum@codeweavers.com Date: Fri Jul 30 16:02:36 2010 -0500
regedit: Process reg files which use \r line endings.
Please retest to confirm.
http://bugs.winehq.org/show_bug.cgi?id=18170
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #6 from Andrew Eikum aeikum@codeweavers.com 2010-08-19 07:53:28 --- Fixed by 8851a4eb1f51fa56e5ac55d4a1d4a762abb21e3b.
http://bugs.winehq.org/show_bug.cgi?id=18170
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2010-08-20 12:38:54 --- Closing bugs fixed in 1.3.1.