Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
gambas
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Custom issue tracker
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
3
Snippets
Groups
Projects
Show more breadcrumbs
Gambas
gambas
Compare revisions
d654019d8d142ff0a48c862752b5bc6cefcbcac4 to 4afeb276ba628ebc98788c1330739fd38ce5dcfb
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
gambas/gambas
Select target project
No results found
4afeb276ba628ebc98788c1330739fd38ce5dcfb
Select Git revision
Branches
AppImage
WorkSpace
cmake
evdev
exclamation-mark-completion
gb.chart2
gb.git
gb.joystick
gb.net.imap
gb.spreadsheet
gb.test
gb.test.tap
master
newdialogs
stable
Tags
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.12.0
3.12.1
3.12.2
3.13.0
3.14.0
3.14.1
3.14.2
3.14.3
3.15.0
3.15.1
3.15.2
3.16.0
3.16.1
3.16.2
3.16.3
3.17.0
3.17.1
3.17.2
3.17.3
3.18.0
3.18.1
3.18.2
3.18.3
3.18.4
3.19.0
3.19.1
3.19.2
3.19.3
3.19.4
3.19.5
3.19.6
3.20.0
3.20.1
3.20.2
3.20.3
help
v1.9.44
v1.9.45
v1.9.46
v1.9.47
v1.9.48
v1.9.49
v1.9.50
v1.9.51
v1.9.90
v1.9.91
v1.9.92
v2.0.0
v2.1
v2.1.1
v2.10
v2.10.1
v2.10.2
v2.11
v2.11.1
v2.12
v2.13
v2.13.1
v2.14
v2.15
v2.15.1
v2.15.2
v2.16.0
v2.17.0
v2.18.0
v2.19.0
v2.2
v2.2.1
v2.20.0
v2.20.1
v2.20.2
v2.21.0
v2.22.0
v2.23.0
v2.23.1
v2.24.0
v2.3
v2.4
v2.4.1
v2.5
v2.6
v2.7
v2.8
v2.8.1
v2.8.2
v2.9
v2.9.0
v2.99.1
v2.99.2
v2.99.3
v2.99.4
v2.99.5
v2.99.6
v2.99.7
v3.0.0
115 results
Swap
Target
gambas/gambas
Select target project
xmonader/gambas
gambas/gambas
gbWilly/gambas
dtardon/gambas
Davidmue/gambas
mmu_man/gambas
jguardon/gambas
tstueker/gambas
timsoft/gambas
yann64/gambas
Matthew-Collins/gambas
microhobby/gambas
ercoupeflyer/gambas
pebauer68/gambas
ptmarstech/gambas
christhal/gambas
tboege/gambas
christopherwoo/gambas
yusronarif/gambas
gen.braga/gambas
MelvinG24/gambas
Krischel/gambas
liang-wei/gambas
brucebruen/gambas
LibreDWG/gambas
SkyN9ne/gambas
zxMarce/gambas
lordheavy/gambas
ddabrahams76/gambas
GianluigiOr/gambas
rfc1394/gambas
wekan/gambas
bsteers4/gambas
fweimer-rh/gambas
CDCDCDCDCDCD/gambas
geekdu42/gambas
belmotek/gambas
jfrank1500/gambas
mfischerq/gambas
shiny0110/gambas
kk667788/gambas
bandali/gambas
64sys/gambas
justlostintime/gambas
aleasto/gambas
bgermann/gambas
linusky/gambas
47 results
d654019d8d142ff0a48c862752b5bc6cefcbcac4
Select Git revision
Branches
AppImage
WorkSpace
cmake
evdev
exclamation-mark-completion
gb.chart2
gb.git
gb.joystick
gb.net.imap
gb.spreadsheet
gb.test
gb.test.tap
master
newdialogs
stable
Tags
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.12.0
3.12.1
3.12.2
3.13.0
3.14.0
3.14.1
3.14.2
3.14.3
3.15.0
3.15.1
3.15.2
3.16.0
3.16.1
3.16.2
3.16.3
3.17.0
3.17.1
3.17.2
3.17.3
3.18.0
3.18.1
3.18.2
3.18.3
3.18.4
3.19.0
3.19.1
3.19.2
3.19.3
3.19.4
3.19.5
3.19.6
3.20.0
3.20.1
3.20.2
3.20.3
help
v1.9.44
v1.9.45
v1.9.46
v1.9.47
v1.9.48
v1.9.49
v1.9.50
v1.9.51
v1.9.90
v1.9.91
v1.9.92
v2.0.0
v2.1
v2.1.1
v2.10
v2.10.1
v2.10.2
v2.11
v2.11.1
v2.12
v2.13
v2.13.1
v2.14
v2.15
v2.15.1
v2.15.2
v2.16.0
v2.17.0
v2.18.0
v2.19.0
v2.2
v2.2.1
v2.20.0
v2.20.1
v2.20.2
v2.21.0
v2.22.0
v2.23.0
v2.23.1
v2.24.0
v2.3
v2.4
v2.4.1
v2.5
v2.6
v2.7
v2.8
v2.8.1
v2.8.2
v2.9
v2.9.0
v2.99.1
v2.99.2
v2.99.3
v2.99.4
v2.99.5
v2.99.6
v2.99.7
v3.0.0
115 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
The 'VERSION' file is taken into account again.
· 891edcee
gambas
authored
3 years ago
[COMPILER] * BUG: The 'VERSION' file is taken into account again.
891edcee
Merge branch 'master' into stable
· 4afeb276
gambas
authored
3 years ago
4afeb276
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/gbc/gbc_compile.c
+24
-8
24 additions, 8 deletions
main/gbc/gbc_compile.c
with
24 additions
and
8 deletions
main/gbc/gbc_compile.c
View file @
4afeb276
...
...
@@ -166,6 +166,7 @@ static void add_library_list_file(const char *path, bool ref)
ARCH_FIND
find
;
const
char
*
name
;
char
*
rpath
=
NULL
;
bool
is_file
=
FALSE
;
if
(
*
path
==
':'
)
{
...
...
@@ -188,9 +189,23 @@ static void add_library_list_file(const char *path, bool ref)
name
=
path
;
if
(
!
FILE_exist
(
path
))
path
=
NULL
;
/*
{
is_file = TRUE;
path = FILE_cat(FILE_get_dir(path), ".list", NULL);
if (!FILE_exist(path))
path = NULL;
}
*/
}
if
(
path
)
{
if
(
is_file
)
{
add_file_list
(
path
);
}
else
{
arch
=
ARCH_open
(
path
);
...
...
@@ -199,6 +214,7 @@ static void add_library_list_file(const char *path, bool ref)
ARCH_close
(
arch
);
}
}
else
ERROR_warning
((
ref
?
"cannot find reference: %s"
:
"cannot find library: %s"
),
name
);
...
...
@@ -271,7 +287,7 @@ static void startup_print(FILE *fs, const char *key, const char *def)
fprintf
(
fs
,
"%s
\n
"
,
def
);
}
/*
static char *find_version_in_file(void)
static
char
*
find_version_in_file
(
void
)
{
char
*
dir
,
*
pdir
;
FILE
*
fv
;
...
...
@@ -311,7 +327,7 @@ static void startup_print(FILE *fs, const char *key, const char *def)
len
--
;
line
[
len
]
=
0
;
return
STR_copy
(
line
);
}
*/
}
static
void
startup_print_version
(
FILE
*
fs
)
{
...
...
@@ -326,7 +342,7 @@ static void startup_print_version(FILE *fs)
if
(
read_line
(
fp
,
line
,
sizeof
(
line
)))
break
;
/*
if (line_begins_with(line, "VersionFile=", 12))
if
(
line_begins_with
(
line
,
"VersionFile="
,
12
))
{
if
(
line
[
12
]
==
'1'
)
{
...
...
@@ -334,7 +350,7 @@ static void startup_print_version(FILE *fs)
break
;
}
}
else
*/
if
(
line_begins_with
(
line
,
"Version="
,
8
))
else
if
(
line_begins_with
(
line
,
"Version="
,
8
))
{
version
=
STR_copy
(
&
line
[
8
]);
}
...
...
This diff is collapsed.
Click to expand it.