]> Kevux Git Server - fll/commitdiff
Bugfix: The stream is locked again rather than unlocked after being locked.
authorKevin Day <thekevinday@gmail.com>
Tue, 17 Jan 2023 03:30:28 +0000 (21:30 -0600)
committerKevin Day <thekevinday@gmail.com>
Tue, 17 Jan 2023 03:30:28 +0000 (21:30 -0600)
level_3/fake/c/private-build-load.c

index bb69665e12c2144391128c5d713363a14c528b06..ca4b7423124f4d1e1309bf7056516797d94ea1e1 100644 (file)
@@ -52,7 +52,7 @@ extern "C" {
           fl_print_format("%[%r%]", data->main->error.to.stream, data->main->error.notable, fake_build_setting_name_environment_s, data->main->error.notable);
           fl_print_format("%[' is too large.%]%r", data->main->error.to.stream, data->main->error.context, data->main->error.context, f_string_eol_s);
 
-          flockfile(data->main->error.to.stream);
+          funlockfile(data->main->error.to.stream);
         }
 
         *status = F_status_set_error(F_array_too_large);