Commit 434b0e5
committed
Make "fbc -print x" print just the exeext again (e90b3d3 regression)
Since e90b3d3, -print x was broken: "fbc -print x" now gave
unnamed[.exe] instead of just [.exe], because the -print option handling
was moved behind the code that sets fbc.mainname (fbcInit2() back then, now
fbcDetermineMainName()), and no longer made a difference between whether input
files were given or not.
However, -print x without input files should not do fbcDetermineMainName(),
so fbc.outname ends up being only the .exe extension.1 parent 31ea57c commit 434b0e5
2 files changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3353 | 3353 | | |
3354 | 3354 | | |
3355 | 3355 | | |
3356 | | - | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
3357 | 3360 | | |
3358 | 3361 | | |
3359 | 3362 | | |
| |||
3365 | 3368 | | |
3366 | 3369 | | |
3367 | 3370 | | |
| 3371 | + | |
| 3372 | + | |
| 3373 | + | |
| 3374 | + | |
| 3375 | + | |
3368 | 3376 | | |
3369 | 3377 | | |
3370 | 3378 | | |
| |||
3373 | 3381 | | |
3374 | 3382 | | |
3375 | 3383 | | |
| 3384 | + | |
| 3385 | + | |
3376 | 3386 | | |
3377 | | - | |
3378 | | - | |
3379 | | - | |
3380 | | - | |
| 3387 | + | |
3381 | 3388 | | |
3382 | 3389 | | |
3383 | 3390 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments