Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
gcal
gcal-3.01-gcc_twice_variable_use.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcal-3.01-gcc_twice_variable_use.patch of Package gcal
--- gcal-3.01/src/rc-check.c.orig 2000-06-14 03:00:01.000000000 +0200 +++ gcal-3.01/src/rc-check.c 2007-01-16 17:50:19.000000000 +0100 @@ -1000,7 +1000,10 @@ /* Swap the starting date of the event. */ - i ^= (j ^= (i ^= j)); + int swap; + swap = i; + i = j; + j = swap; d = tmp_d; m = tmp_m; y = tmp_y; --- gcal-3.01/src/rc-use.c.orig 2000-06-21 03:00:01.000000000 +0200 +++ gcal-3.01/src/rc-use.c 2007-01-16 17:49:54.000000000 +0100 @@ -1028,7 +1028,12 @@ */ if ( swap_flag || rc_backwards_flag) - day ^= (ed ^= (day ^= ed)); + { + int swap; + swap = ed; + ed = day; + day = swap; + } /* Correction in case date occurs during Gregorian Reformation period. */
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