<feed xmlns='http://www.w3.org/2005/Atom'>
<title>skalibs/src/libenvexec/envalloc_merge.c, branch main</title>
<subtitle>The skarnet.org C programming library</subtitle>
<id>https://git.skarnet.org/cgit/skalibs/atom/src/libenvexec/envalloc_merge.c?h=main</id>
<link rel='self' href='https://git.skarnet.org/cgit/skalibs/atom/src/libenvexec/envalloc_merge.c?h=main'/>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/'/>
<updated>2023-10-28T13:15:55Z</updated>
<entry>
<title>Fix envalloc_merge</title>
<updated>2023-10-28T13:15:55Z</updated>
<author>
<name>Josiah Frentsos via skaware</name>
<email>skaware@list.skarnet.org</email>
</author>
<published>2023-10-19T17:01:43Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=83ff0ca30e725c25b8b7e6d78ff17246caf29cf8'/>
<id>urn:sha1:83ff0ca30e725c25b8b7e6d78ff17246caf29cf8</id>
<content type='text'>
Currently, envalloc_merge incorrectly passes the total number of
environment entries to env_mergen as the number of modifs.

Signed-off-by: Josiah Frentsos &lt;jfrent@tilde.team&gt;
</content>
</entry>
<entry>
<title> Complete revamp of the pathexec functions</title>
<updated>2020-11-24T21:45:56Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2020-11-24T21:45:56Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=18e43565574b700befc832ed4d25d25e40951f68'/>
<id>urn:sha1:18e43565574b700befc832ed4d25d25e40951f68</id>
<content type='text'>
- pathexec_run is now called exec_ae
    a for provided file name (default: argv[0])
    e for provided envp (default: environ)
- pathexec is now called mexec. m for merge environment. Option letters are:
    a for provided file name (default: argv[0])
    e for provided envp (default: environ)
    f for provided envp *and* length of the envp
    m for provided modif string plus its length (the length is always needed
because the modifs are null-terminated)
    n for provided modif string, length *and* number of modifs
- functions have a foo0 version for _exit(0) when argv[0] is null
- functions have a xfoo version to die if the exec fails
- and a xfoo0
- Compatibility #defines and #includes are there until the next major bump
</content>
</entry>
</feed>
