Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sschapiro:openstack:upstream
emacs
emacs-23.1-memmove.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File emacs-23.1-memmove.patch of Package emacs
diff -up emacs-23.1/lib-src/etags.c.memmove emacs-23.1/lib-src/etags.c --- emacs-23.1/lib-src/etags.c.memmove 2009-06-21 06:37:34.000000000 +0200 +++ emacs-23.1/lib-src/etags.c 2009-12-08 17:55:41.442792036 +0100 @@ -6695,13 +6695,13 @@ absolute_filename (file, dir) else if (cp[0] != '/') cp = slashp; #endif - strcpy (cp, slashp + 3); + memmove (cp, slashp + 3, strlen(slashp + 2)); slashp = cp; continue; } else if (slashp[2] == '/' || slashp[2] == '\0') { - strcpy (slashp, slashp + 2); + memmove (slashp, slashp + 2, strlen(slashp + 1)); continue; } }
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