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

ruby-changes:24901

From: nobu <ko1@a...>
Date: Wed, 12 Sep 2012 23:16:27 +0900 (JST)
Subject: [ruby-changes:24901] nobu:r36953 (trunk): pathname.c: suppress -Wcomment warning

nobu	2012-09-12 23:16:16 +0900 (Wed, 12 Sep 2012)

  New Revision: 36953

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36953

  Log:
    pathname.c: suppress -Wcomment warning
    
    * ext/pathname/pathname.c (path_s_glob): get rid of "/*" within block
      comment.

  Modified files:
    trunk/ext/pathname/pathname.c

Index: ext/pathname/pathname.c
===================================================================
--- ext/pathname/pathname.c	(revision 36952)
+++ ext/pathname/pathname.c	(revision 36953)
@@ -934,7 +934,7 @@
 /*
  * Returns or yields Pathname objects.
  *
- *  Pathname.glob("config/*.rb")
+ *  Pathname.glob("config/" "*.rb")
  *	#=> [#<Pathname:config/environment.rb>, #<Pathname:config/routes.rb>, ..]
  *
  * See Dir.glob.

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

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