PERFORCE change 81712 for review

soc-chenk soc-chenk at FreeBSD.org
Tue Aug 9 07:24:09 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=81712

Change 81712 by soc-chenk at soc-chenk_leavemealone on 2005/08/09 07:23:57

	darcs changes --last 1
	Tue Aug  9 09:23:00 CEST 2005  at node: creo.hu, nick: csaba
	  * smaller changes in genopnames.rb
	Submitted by:	soc-chenk

Affected files ...

.. //depot/projects/soc2005/fuse4bsd/tools/genopnames.rb#2 edit

Differences ...

==== //depot/projects/soc2005/fuse4bsd/tools/genopnames.rb#2 (text+ko) ====

@@ -16,8 +16,10 @@
   ops[inside] = $1
 }
 
-puts "/* Generated by a ruby script from fuse_kernel.h, don't hand hack it! */
+puts <<EOF
+/* Generated by a ruby script from fuse_kernel.h, don't hand hack it! */
 
-char *fuse_opnames[] = {"
-(ops + [nil]*5).each { |o| puts "\t\"#{o ? o : "???"}\"," }
+char *fuse_opnames[] = {
+EOF
+(ops + [nil]*5).each { |o| puts "\t\"#{o ? o : "N/A (your fuse_opnames.h is out of date?...)"}\"," }
 puts "};"


More information about the p4-projects mailing list