From: Maros Zatko <[email protected]>

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

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to