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
commit002969ba8021677cb6dc9a29374f174cbb4f8654 (patch)
treec0b12225fad601d2a4de9c590eeecbabd28a8654
parent3fbc79ce6f249c527f63763c02ea384e51180f99 (diff)
downloadtxr-002969ba8021677cb6dc9a29374f174cbb4f8654.tar.gz
txr-002969ba8021677cb6dc9a29374f174cbb4f8654.tar.bz2
txr-002969ba8021677cb6dc9a29374f174cbb4f8654.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.