bug-guix
[Top][All Lists]
Advanced

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

bug#56030: The guix pull profile is too big


From: (
Subject: bug#56030: The guix pull profile is too big
Date: Thu, 21 Jul 2022 16:03:19 +0100

On Thu Jul 21, 2022 at 3:52 PM BST, Maxime Devos wrote:
>   * Add a macro '#define system ...' that calls this variant and inserts
>     __guix_bin_sh as the shell executable

Would this not violate POSIX? Since, as far as I can see,
<https://pubs.opengroup.org/onlinepubs/9699919799/functions/system.html>
does not give the implementation license to implement system(3) as a
macro. We could do

```
int system(const char *command) {
        return __guix_run_in_shell(command, __guix_bin_sh);
}
```

though.

    -- (





reply via email to

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