From 060c2d6ff5ae49ab717dd984f2457a36df8e6ad9 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 21 May 2017 08:46:51 -0700 Subject: doc: emphasize platform-independence of abs-path-p. * txr.1: Adding text to abs-path-p description which emphasizes that the definition of absolute path it uses is platform-agnostic. --- stream.c | 3 +++ txr.1 | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/stream.c b/stream.c index 9016555e..a7ff92c8 100644 --- a/stream.c +++ b/stream.c @@ -40,6 +40,9 @@ #if HAVE_UNISTD_H #include #endif +#ifdef __CYGWIN__ +#include +#endif #if HAVE_FCNTL_H #include #endif diff --git a/txr.1 b/txr.1 index 423fdb8e..6a29f53d 100644 --- a/txr.1 +++ b/txr.1 @@ -41370,6 +41370,11 @@ or .code nil indication. +The function behaves in the same manner on all platforms, implementing +a platform-agnostic definition of +.IR "absolute path" , +as follows. + An absolute path is a string which either begins with a slash or backslash character, or which begins with an alphanumeric word, followed by a colon, followed by a slash or backslash. -- cgit v1.2.3