]> Kevux Git Server - fll/commitdiff
Bugfix: Add missing disable define for private_fll_execute_path_arguments_fixate().
authorKevin Day <Kevin@kevux.org>
Fri, 17 Jan 2025 05:03:15 +0000 (23:03 -0600)
committerKevin Day <Kevin@kevux.org>
Fri, 17 Jan 2025 05:03:15 +0000 (23:03 -0600)
level_2/fll_execute/c/private-execute.c
level_2/fll_execute/c/private-execute.h

index 50484c315b2869de7384a30c03098e6805ffb833..9131b439842347d13fad54aa372f350e66540a5f 100644 (file)
@@ -553,7 +553,7 @@ extern "C" {
   }
 #endif // !defined(_di_fll_execute_program_)
 
-#if !defined(_di_fll_execute_program_)
+#if !defined(_di_fll_execute_into_) || !defined(_di_fll_execute_program_)
   void private_fll_execute_path_arguments_fixate(const f_string_static_t program_path, const f_string_statics_t arguments, const f_string_t last_slash, const bool fixated_is, f_string_static_t program_name, f_string_t fixed_arguments[]) {
 
     memset(program_name.string, 0, sizeof(f_char_t) * (program_name.used + 1));
@@ -576,7 +576,7 @@ extern "C" {
       } // for
     }
   }
-#endif // !defined(_di_fll_execute_program_)
+#endif // !defined(_di_fll_execute_into_) || !defined(_di_fll_execute_program_)
 
 #ifdef __cplusplus
 } // extern "C"
index 3b4e4e2712a15b995474e0fff4814d6f38476b37..54ab2ff7e95fd341e8603106471c45dea0856236 100644 (file)
@@ -328,11 +328,12 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ * @see fll_execute_into()
  * @see fll_execute_program()
  */
-#if !defined(_di_fll_execute_program_)
+#if !defined(_di_fll_execute_into_) || !defined(_di_fll_execute_program_)
   extern void private_fll_execute_path_arguments_fixate(const f_string_static_t program_path, const f_string_statics_t arguments, const f_string_t last_slash, const bool fixated_is, f_string_static_t program_name, f_string_t fixed_arguments[]) F_attribute_visibility_internal_d;
-#endif // !defined(_di_fll_execute_program_)
+#endif // !defined(_di_fll_execute_into_) || !defined(_di_fll_execute_program_)
 
 #ifdef __cplusplus
 } // extern "C"