mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
f1238fcce6e1dd9938170d94e447ce80053b1ab8
If you save a ride and then delete it. The re-import and save you will end up with two copies of the ride in the ride list. This is because when we save the first time the original file is renamed to e.g. ride.tcx.bak and the new ride.json is then created. All is well. But then delete the ride and it will rename ride.json to ride.json.bak. Again, All is well. Now, re-import the ride. We now have; ride.tcx.bak and ride.json.bak and ride.tcx. Again, all is well. But now, if you make changes and save it will attempt to rename ride.tcx to ride.tcx.bak AND FAIL. This is because the old ride.tcx.bak file is there. It will then create ride.json. All is NOT well, since we have two rides with the same date and time but different extensions. This patch fixes this by unlinking ride.ext.bak before trying to rename the file. [folded in manually from commit #1d135a in branch release_3.0.0dev]
To build cp src/gcconfig.pri.in src/gcconfig.pri cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri Edit both src/gcconfig.pri and qwt/qwtconfig.pri as necessary, then qmake make To uninstall the older FTDI VCP drivers on Mac OS X, open a Terminal and type: sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /tmp Type your password when prompted, then restart your computer.
Description
Languages
Standard ML
68.3%
C++
28.1%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%