search for: a4e024d8

Displaying 3 results from an estimated 3 matches for "a4e024d8".

2019 Jan 25
0
[klibc:update-dash] [CD] support drive letters on Cygwin
...Eric Blake <eblake at redhat.com> Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/cd.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/usr/dash/cd.c b/usr/dash/cd.c index 2d9d4b52..a4e024d8 100644 --- a/usr/dash/cd.c +++ b/usr/dash/cd.c @@ -38,6 +38,9 @@ #include <string.h> #include <unistd.h> #include <limits.h> +#ifdef __CYGWIN__ +#include <sys/cygwin.h> +#endif /* * The cd and pwd commands. @@ -194,6 +197,17 @@ updatepwd(const char *dir) char *cdco...
2020 Mar 28
0
[klibc:update-dash] dash: [CD] support drive letters on Cygwin
...Eric Blake <eblake at redhat.com> Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/dash/cd.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/usr/dash/cd.c b/usr/dash/cd.c index 2d9d4b52..a4e024d8 100644 --- a/usr/dash/cd.c +++ b/usr/dash/cd.c @@ -38,6 +38,9 @@ #include <string.h> #include <unistd.h> #include <limits.h> +#ifdef __CYGWIN__ +#include <sys/cygwin.h> +#endif /* * The cd and pwd commands. @@ -194,6 +197,17 @@ updatepwd(const char *dir) char *cdco...
2020 Mar 28
0
[klibc:update-dash] dash: exec: Do not allocate stack string in padvance
...at decadent.org.uk> --- usr/dash/cd.c | 8 +++++--- usr/dash/exec.c | 26 +++++++++++++------------- usr/dash/exec.h | 2 +- usr/dash/mail.c | 7 +++++-- usr/dash/main.c | 12 +++++------- 5 files changed, 29 insertions(+), 26 deletions(-) diff --git a/usr/dash/cd.c b/usr/dash/cd.c index a4e024d8..610a4fa8 100644 --- a/usr/dash/cd.c +++ b/usr/dash/cd.c @@ -98,6 +98,7 @@ cdcmd(int argc, char **argv) char c; struct stat statb; int flags; + int len; flags = cdopt(); dest = *argptr; @@ -127,9 +128,10 @@ dotdot: if (!*dest) dest = "."; path = bltinlookup("CDPATH...