aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 20:08:34 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-07 20:08:34 +0000
commitd6e1bdb7b9441e2bc7f5597a3464a53a1c4275e6 (patch)
treea3a6a7ec6f4ec83136906c786b8bf62b7fffc287
parentdad8608eb3a690cf98b3f0f21cd239dcc42b680e (diff)
downloadruby-d6e1bdb7b9441e2bc7f5597a3464a53a1c4275e6.tar.gz
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
-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 d5197eb566..2dd4ed673e 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)