summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-24 11:34:38 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-24 11:34:38 +0000
commit6d217dbeac86c8e5a15fed4c7d3a58d81420d9b0 (patch)
treeca1e19fddc2ec8da4b04e792f2a8f34acd48b64a
parent680b08a9d69fcb3582203ca5e1e6f0ba88fea9e0 (diff)
downloadexecline-6d217dbeac86c8e5a15fed4c7d3a58d81420d9b0.tar.gz
execline-6d217dbeac86c8e5a15fed4c7d3a58d81420d9b0.tar.xz
execline-6d217dbeac86c8e5a15fed4c7d3a58d81420d9b0.zip
Trivial bugfix
-rw-r--r--src/execline/forstdin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execline/forstdin.c b/src/execline/forstdin.c
index 1a329f2..b907ef2 100644
--- a/src/execline/forstdin.c
+++ b/src/execline/forstdin.c
@@ -48,7 +48,7 @@ static void parallel_sigchld_handler (int sig)
 int main (int argc, char const **argv, char const *const *envp)
 {
   char const *delim = "\n" ;
-  size_t delimlen = 4 ;
+  size_t delimlen = 1 ;
   size_t nbc = 0 ;
   unsigned short okcodes[256] ;
   int crunch = 0, chomp = 0, not = 1, eofcode = 1 ;