Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1
zsh
zsh-4.3.12-ksh-emulation-syntax-checking.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zsh-4.3.12-ksh-emulation-syntax-checking.patch of Package zsh
diff -ruN zsh-4.3.12-orig/Src/subst.c zsh-4.3.12/Src/subst.c --- zsh-4.3.12-orig/Src/subst.c 2011-05-23 18:48:19.000000000 +0200 +++ zsh-4.3.12/Src/subst.c 2011-06-29 13:44:13.000000000 +0200 @@ -245,7 +245,10 @@ if (endchar == Outpar && str2[1] == '(' && str[-2] == ')') { /* Math substitution of the form $((...)) */ str[-2] = '\0'; - str = arithsubst(str2 + 2, &str3, str); + if (isset(EXECOPT)) + str = arithsubst(str2 + 2, &str3, str); + else + strncpy(str3, str2, 1); setdata(node, (void *) str3); 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