mkfifo() on OS/2 is a dummy, even it returns a wrong value on error.
Do not use it on OS/2.
* src/makeint.h (JOBSERVER_USE_FIFO): Do not define on OS/2.
---
src/makeint.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/makeint.h b/src/makeint.h
index
Hi/2.
KO Myung-Hun wrote:
> OS/2 kLIBC has a declaration, but has not implemented.
>
...
> + if (type == HANDTYPE_DEVICE)
> +{
> + if ((attr & 3) == 3)
> +return (char *) "/dev/con";
> +
> + if ((attr & 4)
OS/2 kLIBC has a declaration, but has not implemented.
* Makefile.am [OS/2]: define OS2ENV.
* configure.ac [OS/2]: define os2_SRCS.
* src/os2_ttyname.c: Implement ttyname() for OS/2.
---
Makefile.am | 6 ++
configure.ac | 9
src/os2_ttyname.c | 53
Paul Smith wrote:
> On Tue, 2023-01-17 at 01:38 +0900, KO Myung-Hun wrote:
>> What I meant is checking the existence of a rule for a target not a
>> real file built for a target.
>
> But how do you check for a "rule for a target"?
>
> What i
Hi/2.
Paul Smith wrote:
> On Mon, 2023-01-16 at 22:14 +0900, KO Myung-Hun wrote:
>>> But this does not seem like an easy thing to accomplish, at all.
>>> What if there is a "%.exe" pattern rule, not an explicit rule for
>>> "foo.exe"?
>>
Hi/2.
Paul Smith wrote:
> On Mon, 2023-01-16 at 00:15 +0900, KO Myung-Hun wrote:
>> Then, this patch is acceptable? Or MSYS is a special case ?
>
> I don't think this patch is a good idea. I said in my initial email:
>
>> I don't think I like this change. I u
Hi/2.
Eli Zaretskii wrote:
>> Date: Sun, 15 Jan 2023 00:57:56 +0900
>> From: KO Myung-Hun
>> CC: bug-make@gnu.org
>>
>>> How do you mean "make of mingw does not require $(EXEEXT)"? AFAICT,
>>> if the Makefile defines a target FOO, and t
Hi/2.
Eli Zaretskii wrote:
>> Date: Sat, 14 Jan 2023 23:40:57 +0900
>> From: KO Myung-Hun
>> CC: bug-make@gnu.org
>>
>>> Please describe the use case in detail. This situation exists on
>>> other platforms, not just of OS/2, and we don't do anything li
Hi/2.
Paul Smith wrote:
> On Fri, 2023-01-13 at 22:27 +0900, KO Myung-Hun wrote:
>> This pattern is usually used on UNIX. However, on OS/2, gcc creates
>> foo.exe not foo when an extension is not present, and Make check foo
>> only. Therefore Make tries to build foo whenever
Hi/2.
Eli Zaretskii wrote:
>> From: KO Myung-Hun
>> Date: Fri, 13 Jan 2023 22:27:43 +0900
>>
>> For example,
>>
>> foo: foo.c
>> gcc $@ $<
>>
>> This pattern is usually used on UNIX. However, on OS/2, gcc creates
>> foo.exe not f
For example,
foo: foo.c
gcc $@ $<
This pattern is usually used on UNIX. However, on OS/2, gcc creates
foo.exe not foo when an extension is not present, and Make check foo
only. Therefore Make tries to build foo whenever called.
* src/remake.c (f_mtime) [EMX]: Check a target again by
Hi/2.
Paul Smith wrote:
> On Sun, 2022-11-20 at 23:42 +0900, KO Myung-Hun wrote:
>> These patches fix compilation on OS/2.
>
> I have applied some of these patches as-is, and modified others, but I
> believe all the changes needed have been pushed to Git.
I've confirmed tha
Paul Smith wrote:
> On Fri, 2022-11-18 at 20:34 +0900, KO Myung-Hun wrote:
>> Downloaded: 10 files, 546K in 1.9s (283 KB/s)
>> ./bootstrap: autopull.sh failed.
>> -
>>
>> Any idea?
>
> I'm not sure why it fails but looking at the script it seems you
* src/main.c (main) [__EMX__]: Type cast explicitly.
---
src/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index eec93656..af3ce702 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2782,7 +2782,7 @@ main (int argc, char **argv, char **envp)
* src/job.c (construct_command_argv_internal) [__EMX__]: Just reuse
variables.
---
src/job.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/job.c b/src/job.c
index 9f1e4a3b..800f3b30 100644
--- a/src/job.c
+++ b/src/job.c
@@ -3553,9 +3553,9 @@
* src/job.c (construct_command_argv_internal) [__EMX__]: Use a buffer
allocated in a stack.
---
src/job.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/job.c b/src/job.c
index b78f279c..aa848f0e 100644
--- a/src/job.c
+++ b/src/job.c
@@ -3226,7 +3226,11 @@
lib/fnmatch.c tests a HAVE___STRCHRNUL macro to implement an alternative
__strchrnul().
Without this, compilation fails on OS/2 kLIBC due to duplicated
declarations of __strchrnul() like this:
-
gcc -DHAVE_CONFIG_H -I. -I../src -D__ST_MT_ERRNO__ -Wno-cast-qual
-Wno-conversion
* src/dir.c (dir_contents_file_exists_p) [__EMX__]: Use a buffer
allocated in a stack.
* src/job.c (exec_command) [__EMX__]: Type cast explicitly.
---
src/dir.c | 6 +-
src/job.c | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/dir.c b/src/dir.c
index
* src/getopt.c (_getopt_initialize): Use statements without any effect.
* src/posixos.c (set_blocking): Declare parameters with UNUSED.
* src/remake.c (f_mtime) [__EMX__]: Declare adjustment with UNUSED.
---
src/getopt.c | 3 +++
src/posixos.c | 2 +-
src/remake.c | 1 +
3 files changed, 5
Hi/2.
These patches fix compilation on OS/2.
And these are based on git repo.
Review, please...
* src/getopt.c (_getopt_internal): Insert explicit braces.
---
src/getopt.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/src/getopt.c b/src/getopt.c
index fc7cead4..1535a3d5 100644
--- a/src/getopt.c
+++ b/src/getopt.c
@@ -680,16 +680,18 @@
* README.OS2: Apply the latest environment.
---
README.OS2 | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.OS2 b/README.OS2
index 82f496e0..e9be44a5 100644
--- a/README.OS2
+++ b/README.OS2
@@ -73,7 +73,7 @@ III. * COMPILATION AND INSTALLATION *
To
Hi/2.
Paul Smith wrote:
> On Mon, 2022-11-14 at 13:29 +0900, KO Myung-Hun wrote:
>> ./autopull.sh: getting translations into po/.reference for make...
>> ERROR: cannot verify translationproject.org's certificate, issued by
>> 'CN=R3,O=Let\'s Encrypt,C=US':
>> Iss
`--no-check-certificate'.
./bootstrap: autopull.sh failed.
-
What should I do?
--
KO Myung-Hun
Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v6.1.40 on Intel Core i7-3615QM 2.30GHz with 12GB RAM
Korean OS/2 User Community : http://www.os2.kr/
Hi/2.
Paul Smith wrote:
> On Wed, 2022-11-09 at 22:45 +0900, KO Myung-Hun wrote:
>> OS/2 kLIBC has __strchrnul(). But HAVE___STRCHRNUL is undefined.
>> 'static' declarion of __strchrnul() causes an error with gcc4 because
>> OS/2 kLIBC declares __strchrnul() as public
OS/2 kLIBC has __strchrnul(). But HAVE___STRCHRNUL is undefined.
'static' declarion of __strchrnul() causes an error with gcc4 because
OS/2 kLIBC declares __strchrnul() as public.
-
gcc -DHAVE_CONFIG_H -I. -I../src -D__ST_MT_ERRNO__ -Wno-cast-qual
-Wno-conversion -Wno-float-equal
-
gcc -DHAVE_CONFIG_H -Isrc -I./src -Ilib -I./lib
-DLIBDIR=\"/usr/local/lib\" -DLOCALEDIR=\"/usr/local/share/locale\"
-D__ST_MT_ERRNO__ -O2 -Zomf -Zmt -MT src/job.o -MD -MP -MF $depbase.Tpo -c -o
src/job.o src/job.c &&\
mv -f $depbase.Tpo $depbase.Po
src/job.c: In function
Hi/2.
Paul Smith wrote:
> On Mon, 2022-11-07 at 20:40 +0900, KO Myung-Hun wrote:
>> May I take over OS/2 port maintenance ?
>> For this, what should I do ?
>
>1. Subscribe to this mailing list and announce your intention to
> work on this (to prevent possib
>
>
* WARNING: Deprecation! The following systems are deprecated in
> this release: - OS/2 (EMX) - AmigaOS - Xenix - Cray In the NEXT
> release of GNU Make, support for these systems will be removed. If
> you want to see them continue to be supported, contact
> .
>
May I tak
29 matches
Mail list logo