Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Update
ode
ode-iso-cpp.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ode-iso-cpp.patch of Package ode
diff -Nur ode-0.13/ode/demo/demo_jointPR.cpp new/ode/demo/demo_jointPR.cpp --- ode-0.13/ode/demo/demo_jointPR.cpp 2013-08-19 19:48:05.000000000 +0200 +++ new/ode/demo/demo_jointPR.cpp 2017-06-18 18:48:14.510435890 +0200 @@ -329,7 +329,7 @@ { int j = i+1; if ( j+1 > argc || // Check if we have enough arguments - argv[j] == '\0' || // We should have a path here + argv[j] == NULL || // We should have a path here argv[j][0] == '-' ) // We should have a path not a command line Help(argv); else diff -Nur ode-0.13/ode/demo/demo_jointPU.cpp new/ode/demo/demo_jointPU.cpp --- ode-0.13/ode/demo/demo_jointPU.cpp 2013-12-06 22:52:14.000000000 +0100 +++ new/ode/demo/demo_jointPU.cpp 2017-06-18 18:48:27.954554880 +0200 @@ -579,7 +579,7 @@ if (0 == strcmp ("-t", argv[i]) || 0 == strcmp ("--texture-path", argv[i]) ) { int j = i+1; if ( j+1 > argc || // Check if we have enough arguments - argv[j] == '\0' || // We should have a path here + argv[j] == NULL || // We should have a path here argv[j][0] == '-' ) // We should have a path not a command line Help (argv); else diff -Nur ode-0.13/ode/demo/demo_piston.cpp new/ode/demo/demo_piston.cpp --- ode-0.13/ode/demo/demo_piston.cpp 2013-08-19 19:48:05.000000000 +0200 +++ new/ode/demo/demo_piston.cpp 2017-06-18 18:42:38.681453156 +0200 @@ -659,7 +659,7 @@ { int j = i+1; if ( j+1 > argc || // Check if we have enough arguments - argv[j] == '\0' || // We should have a path here + argv[j] == NULL || // We should have a path here argv[j][0] == '-' ) // We should have a path not a command line Help (argv); else
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