| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Import inet_pton from gnulib and enable IPv6 support by default.
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are two changes from gnulib:
Treat a broken pipe as readable. If nc doesn't try to read from
the pipe it'll never find out it's broken.
Only allow console key press events to indicate that stdin is
readable. read_key leaves a key release event in the buffer
at the end of a shell command. This caused nc to block, thinking
that the console had input available.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support sequences are mostly color ones.
This was extracted from commit
e56b799d6ad8afba4168fffa7218d44c041a72d2
in Git repository. Changes from original version:
> diff --git a/home/pclouds/w/git/compat/winansi.c b/tmp/winansi2.c
> index 44dc293..e2e7010 100644
> --- a/home/pclouds/w/git/compat/winansi.c
> +++ b/tmp/winansi2.c
> @@ -2,8 +2,9 @@
> * Copyright 2008 Peter Harris <git@peter.is-a-geek.org>
> */
>
> +#include "libbb.h"
> #include <windows.h>
> -#include "../git-compat-util.h"
> +#undef PACKED
>
> /*
> Functions to be wrapped:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These were extracted from commit
e56b799d6ad8afba4168fffa7218d44c041a72d2
in Git repository. Changes from the original version:
> diff --git a/tmp/regex.c b/win32/regex.c
> index 87b33e4..2cca169 100644
> --- a/tmp/regex.c
> +++ b/win32/regex.c
> @@ -24,7 +24,9 @@
> #pragma alloca
> #endif
>
> +#ifndef _GNU_SOURCE
> #define _GNU_SOURCE
> +#endif
>
> /* We need this for `regex.h', and perhaps for the Emacs include files. */
> #include <sys/types.h>
|
|
|
|
| |
clearenv() is not supported yet.
|
| |
|
|
|
|
|
|
|
|
|
| |
Text mode is default on Windows, which is just bad.
This file also hosts many functions that were extracted from commit
e56b799d6ad8afba4168fffa7218d44c041a72d2
in Git repository, under directory compat. Some functions are
modified/added by me, but usually credits go to Git developers.
|
|
This was extracted from commit e56b799d6ad8afba4168fffa7218d44c041a72d2
in Git repository.
|