Nicolas Roche
ca07eaa4a9
Add workaround for -ec support needed for gnu make
...
Change-Id: I4fe7d96ade46d869f86d4dfd7c0c0a1aee8bb926
2022-10-27 12:02:44 +02:00
Nicolas Roche
4447e5011d
Remove reference to gnatpython
...
Part of TA02-032
Change-Id: Ib9967c17b3178def74d2be3ea886857565581380
2020-11-23 23:28:23 -08:00
Nicolas Roche
60ae59d489
Add gnu make 4.3-1 needed for gcc 10 builds
...
Part of TA19-053
Change-Id: Ib3ed37bcedd0ef0c96c5b851c7782c303f30d7e5
2020-10-28 10:14:12 -07:00
KONRAD Frederic
a63cddb973
posix_shell-commands_preprocessor.adb: use String_List_Access for Opt_Args
...
Opt_Args can't be anonymous, let's use System.String.String_List_Access for
that.
That fixes:
posix_shell-commands_preprocessor.adb:238:16: implicit conversion of
stand-alone anonymous access object not allowed
gprbuild: *** compilation phase failed
make: *** [Makefile:12: all] Error 4
Change-Id: I647b4e65da74c683bce35c35b5ecae2f7e406913
TN: T130-018
2020-02-04 10:55:21 +01:00
Nicolas Roche
1bddb17c6e
Previous checkin introduced a Python 2.x incompatibility
...
print('') should be used instead of print()
Change-Id: Idb8d623d16ad53f514baf6fd7a1010c2520e0638
2020-02-04 08:04:14 +01:00
Nicolas Roche
a3e9eaf934
Ensure unit_test_gen is Python 3.x compatible
...
Change-Id: I312e465739552e9fe23d8568e83d43748a90c809
2020-02-03 09:57:40 +01:00
Nicolas Roche
62081ee517
Remove duplicate definition for x86_64-windows
...
InterlockedAdd64 is already defined as a macro that points
to a gcc intrinsic
Part of R926-038
Change-Id: I9bcb244b52e89ee2a4d1904101481566b9787c85
2018-11-05 16:21:37 +02:00
Valentine Reboul
fa50c8f935
[R816-023] builtin 'read' behaviour
...
* read "-r" option (but currently ignored / no effects)
* introduce "is_cmd_scope" in the shell_state structure.
'read' is not a "special built-in" as defined in POSIX 2.14
therefore its evaluation does not allow the behaviour
of Special_Builtin_Matcher.
However, if the eval of the command induces the creation
of a scope, the variable created in this scope must nevertheless
be available and visible in the previous scope. this needed to
create a specific field in the shell_state structure to handle that
case.
Change-Id: I372b28348817371ee645987bc7fc54fb91423784
2018-10-30 16:09:41 +01:00
Nicolas Roche
0f10f98762
Adjust default code page
...
constant does not exist anymore with gcc 6.x
Change-Id: I09e2cb0ce71932c4830e610ad5b23af2b02bb45d
2016-07-29 12:23:11 +02:00
Nicolas Roche
13723fa978
Adjust review settings
...
Change-Id: Ia56e797bd5ac7b73f1fd943fbf72425e73338dfe
2016-07-29 12:21:41 +02:00
Nicolas Roche
2e296ff7ef
Needed to fix cp on Windows XP
2015-02-24 11:23:44 +01:00
Nicolas Roche
bf8f69e8f5
Don't use long path with CopyFile on Windows XP
...
It seems that long path starting with \?\ are not supported by
CopyFile on Windows XP. On this OS we don't use them and thus
max path length will be 262 instead of 32K.
Part of O217-005
Change-Id: I629eb08d6562790469d27451bb2515c35f382cbf
2015-02-24 10:31:50 +01:00
Nicolas Roche
c1846006bc
Minor reformating
...
Change-Id: I4a13a71854317c34673405f68c5c09ae0f283370
2015-02-04 15:16:25 +01:00
Nicolas Roche
956b78efa8
Needed for gcc builds
2015-02-03 16:10:07 +01:00
Nicolas Roche
523167f89a
Use specific system calls to copy files rather than System.OS_Lib.
...
This should fix some random issues on file copy encountered during
gcc build.
Part of O203-028
Change-Id: I82c0c3811c01303d98b3889e955a25ede5365f45
2015-02-03 15:54:28 +01:00
Nicolas Roche
7c120450c2
Needed to fix gcc builds
2015-02-03 11:19:08 +01:00
Nicolas Roche
59edf7dd6d
When doing cp retry discard completely attribute preservation
...
Change-Id: I4d28b5413fd649c04e2bfd70e51b308ba217a364
2015-02-03 11:17:42 +01:00
Nicolas Roche
171b6886fa
Needed to fix issue during gcc build
2015-02-03 10:00:39 +01:00
Nicolas Roche
628094d2da
Make several cp attempts in case of failure
...
It seems that we have sometimes issue copying files into a recent
directory. Try a second attempt in case of failure and also a third
one when -p us is used with attribute preservation.
Change-Id: Icd7d4959c0e2a3b21b37a22fc04b9edd7f0a32ed
2015-02-03 09:55:34 +01:00
Joel Brobecker
d549be9351
Small adjustments in Recursive_Make_Dir.
...
No code change.
Change-Id: Ia3b727c314292f1ded283e230e94d8ebc48b2408
2015-02-01 18:36:22 +04:00
Nicolas Roche
bf8669657d
Needed to avoid build failure during gcc build
2015-02-01 14:37:32 +01:00
Nicolas Roche
30f183f318
Improve handling of errors during directory creation
...
Change-Id: Ic906d51a3bdf52b0b67a08ac8844212723afe09d
2015-02-01 14:36:54 +01:00
Nicolas Roche
183a65d4fb
Needed for gdb head build
2015-01-30 17:42:06 +01:00
Nicolas Roche
7beffaf62a
Ensure status of assignment is set to 0 when necessary
...
When no command substitution is done during an assignment then status
should be set to 0.
Part of O130-029
Change-Id: I43458d32bb9788d362fed5c0d11ac5afadd249d4
2015-01-30 17:39:19 +01:00
Nicolas Roche
1be1f72062
Needed for gdb-head builds
2015-01-29 11:26:16 +01:00