[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, master, updated. v0.9.git20240714-15-gbafa5e5d
From: |
Samuel Thibault |
Subject: |
[SCM] Hurd branch, master, updated. v0.9.git20240714-15-gbafa5e5d |
Date: |
Sun, 8 Sep 2024 18:04:06 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via bafa5e5de0fa1f7e718ebb26d992bfa9abb6711b (commit)
from 5d29fe3f8f7ddb0feb7b961c69fb3b1ed9fdc3f0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bafa5e5de0fa1f7e718ebb26d992bfa9abb6711b
Author: Flavio Cruz <flaviocruz@gmail.com>
Date: Sun Jan 21 16:07:52 2024 -0500
Restructure argument setup in hashbang
We do a few things here:
- Move search_path to the scope where it is used to make dependencies
more clear.
- Have a separate variable to store the file name we eventually need to
free and move the free logic to happen in a single place.
Both of this allows us to still free the name even if a fault is generated
and
also avoids a compiler warning as we try to assign a 'const char*'
file_name_exec to a 'char *', making it more clear to what exactly we
need to free. I also believe 'error' in line 245 was not initialized in
case 'file_name_exec' is used and this fixes that too.
Message-ID: <20240121210757.1900938-1-flaviocruz@gmail.com>
-----------------------------------------------------------------------
Summary of changes:
exec/hashexec.c | 91 +++++++++++++++++++++++++++------------------------------
1 file changed, 43 insertions(+), 48 deletions(-)
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, master, updated. v0.9.git20240714-15-gbafa5e5d,
Samuel Thibault <=