bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in dirname loadable?


From: Ángel
Subject: Re: bug in dirname loadable?
Date: Sun, 06 Jan 2019 23:17:32 +0100

On 2018-12-26 at 12:35 -0500, Chet Ramey wrote:
> Yes, dirname should skip over a `--' denoting the end of options. Thanks
> for the report.

This was fixed on bash-20181226 snapshot (89b3a79), however with this
change on devel branch the basename builtin no longer compiles, as it
should have also included "bashgetopt.h".

Cheers

--- a/examples/loadables/basename.c
+++ b/examples/loadables/basename.c
@@ -30,6 +30,7 @@
 #include "builtins.h"
 #include "shell.h"
 #include "common.h"
+#include "bashgetopt.h"
 
 int
 basename_builtin (list)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]