[Libguestfs] [PATCH 0/3] WIP readline escaping functions

mzatko at redhat.com mzatko at redhat.com
Fri Oct 31 17:18:13 UTC 2014


From: Maros Zatko <hacxman at gmail.com>

Auxiliary functions for readline to support space character escaping
in filenames in future.

Escaping function is taken from fish.c (used to be parse_quoted_string)
plus its un-escaping counterpart. There are a few tests for both.

Maros Zatko (3):
  fish: rl.{c,h} - escaping functions for readline
  fish: basic tests for readline escaping
  autotools: add fish/test

 Makefile.am             |   1 +
 configure.ac            |   1 +
 fish/rl.c               | 158 ++++++++++++++++++++++++++++++++++++++++++++++++
 fish/rl.h               |  32 ++++++++++
 fish/test/Makefile.am   |  39 ++++++++++++
 fish/test/testquoting.c | 120 ++++++++++++++++++++++++++++++++++++
 6 files changed, 351 insertions(+)
 create mode 100644 fish/rl.c
 create mode 100644 fish/rl.h
 create mode 100644 fish/test/Makefile.am
 create mode 100644 fish/test/testquoting.c

-- 
1.9.3




More information about the Libguestfs mailing list