Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Guillaume_G:WSL
mingw64-gdb
gdb-11.1-fix-python-compile-eol.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gdb-11.1-fix-python-compile-eol.patch of Package mingw64-gdb
--- gdb-11.1/gdb/python/lib/gdb/__init__.py.orig 2022-01-11 11:01:54.626307059 +0100 +++ gdb-11.1/gdb/python/lib/gdb/__init__.py 2022-01-11 11:02:18.286218353 +0100 @@ -141,7 +141,7 @@ with open(filepath, "r") as file: # We pass globals also as locals to match what Python does # in PyRun_SimpleFile. - compiled = compile(file.read(), filepath, "exec") + compiled = compile(file.read().replace('\r\n','\n'), filepath, 'exec') exec(compiled, globals, globals) finally: if set_file:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor