summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-21 08:46:51 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-21 08:46:51 -0700
commit060c2d6ff5ae49ab717dd984f2457a36df8e6ad9 (patch)
treec0b12225fad601d2a4de9c590eeecbabd28a8654
parent4472b8b256e9a65bcba71b479741295bc0502902 (diff)
downloadtxr-060c2d6ff5ae49ab717dd984f2457a36df8e6ad9.tar.gz
txr-060c2d6ff5ae49ab717dd984f2457a36df8e6ad9.tar.bz2
txr-060c2d6ff5ae49ab717dd984f2457a36df8e6ad9.zip
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.
-rw-r--r--stream.c3
-rw-r--r--txr.15
2 files changed, 8 insertions, 0 deletions
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 <unistd.h>
#endif
+#ifdef __CYGWIN__
+#include <sys/utsname.h>
+#endif
#if HAVE_FCNTL_H
#include <fcntl.h>
#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.