summaryrefslogtreecommitdiff
path: root/ext/etc
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 20:08:34 (GMT)
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 20:08:34 (GMT)
commit0f7fed9253007ce5c491440300d70205a82d7906 (patch)
treea3a6a7ec6f4ec83136906c786b8bf62b7fffc287 /ext/etc
parent3b071b080c1933f17bef39e4b3e776a9d4c3b7ad (diff)
etc.c: improve docs for sysconfdir
* ext/etc/etc.c: [DOC] small language fixes for etc_sysconfdir docs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/etc')
-rw-r--r--ext/etc/etc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/etc/etc.c b/ext/etc/etc.c
index d5197eb..2dd4ed6 100644
--- a/ext/etc/etc.c
+++ b/ext/etc/etc.c
@@ -627,9 +627,9 @@ VALUE rb_w32_conv_from_wchar(const WCHAR *wstr, rb_encoding *enc);
* Returns system configuration directory.
*
* This is typically "/etc", but is modified by the prefix used when Ruby was
- * compiled. For example, if Ruby is built and installed in /usr/local, returns
- * "/usr/local/etc" on other than Windows. On Windows, this returns system
- * provided directory always.
+ * compiled. For example, if Ruby is built and installed in /usr/local,
+ * returns "/usr/local/etc" on other platforms than Windows.
+ * On Windows, this always returns the directory provided by the system.
*/
static VALUE
etc_sysconfdir(VALUE obj)