Follow-up Comment #2, bug #59601 (project make):

Thanks for your report. Here is a patch.

diff --git a/src/main.c b/src/main.c
index 9066513..64e2529 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1364,7 +1364,7 @@ main (int argc, char **argv, char **envp)
         enum variable_export export = v_export;
         size_t len;
 
-        while (! STOP_SET (*ep, MAP_EQUALS))
+        while (! STOP_SET (*ep, MAP_EQUALS|MAP_NUL))
           ++ep;
 
         /* If there's no equals sign it's a malformed environment.  Ignore. 
*/


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59601>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to