poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ios: replace `strerror' with `strerror_r' for dev-mmap


From: Bruno Haible
Subject: Re: [PATCH] ios: replace `strerror' with `strerror_r' for dev-mmap
Date: Mon, 26 Feb 2024 00:04:43 +0100

Mohammad-Reza Nabipoor wrote:
> I'm not sure using "Invalid argument" text in the tests is portable enough.

It is specific to an English or "C" locale. Try running the test in a
German locale, for example...

Assuming an English or "C" locale, the text "Invalid argument" should be
portable, yes. It's one of the oldest Unix error numbers.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]