summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSimon Ruderich <simon@ruderich.org>2016-09-15 04:20:45 +0200
committerSimon Ruderich <simon@ruderich.org>2016-09-15 04:20:45 +0200
commit21433477df28ab1078c15bbd20c12fd313a7fdb8 (patch)
treea00b4f6729ee6bd95a2e949c2d2fa770ad3907b7
parentaf2b0aed06236beddbece65df10a95cc38e37184 (diff)
downloadNim-21433477df28ab1078c15bbd20c12fd313a7fdb8.tar.gz
os: createHardlink: clarify documentation
I know no (UNIX-like) system which restricts creation of hardlinks.
-rw-r--r--lib/pure/os.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index c2ee212df..e7c5ad5f4 100644
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -1070,8 +1070,8 @@ proc createHardlink*(src, dest: string) =
   ## Create a hard link at `dest` which points to the item specified
   ## by `src`.
   ##
-  ## **Warning**: Most OS's restrict the creation of hard links to
-  ## root users (administrators) .
+  ## **Warning**: Some OS's restrict the creation of hard links to
+  ## root users (administrators).
   when defined(Windows):
     when useWinUnicode:
       var wSrc = newWideCString(src)