[前][次][番号順一覧][スレッド一覧]

ruby-changes:48588

From: stomar <ko1@a...>
Date: Wed, 8 Nov 2017 05:08:39 +0900 (JST)
Subject: [ruby-changes:48588] stomar:r60704 (trunk): etc.c: improve docs for sysconfdir

stomar	2017-11-08 05:08:34 +0900 (Wed, 08 Nov 2017)

  New Revision: 60704

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60704

  Log:
    etc.c: improve docs for sysconfdir
    
    * ext/etc/etc.c: [DOC] small language fixes for etc_sysconfdir docs.

  Modified files:
    trunk/ext/etc/etc.c
Index: ext/etc/etc.c
===================================================================
--- ext/etc/etc.c	(revision 60703)
+++ ext/etc/etc.c	(revision 60704)
@@ -627,9 +627,9 @@ VALUE rb_w32_conv_from_wchar(const WCHAR https://github.com/ruby/ruby/blob/trunk/ext/etc/etc.c#L627
  * 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)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]