PERFORCE change 31789 for review

Dag-Erling Smorgrav des at FreeBSD.org
Sat May 24 10:34:02 PDT 2003


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

Change 31789 by des at des.at.des.thinksec.com on 2003/05/24 10:33:56

	Revert part of previous commit; openpam_log(3) doesn't really need
	this hack.

Affected files ...

.. //depot/projects/openpam/misc/gendoc.pl#23 edit

Differences ...

==== //depot/projects/openpam/misc/gendoc.pl#23 (text+ko) ====

@@ -32,7 +32,7 @@
 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 # SUCH DAMAGE.
 #
-# $P4: //depot/projects/openpam/misc/gendoc.pl#22 $
+# $P4: //depot/projects/openpam/misc/gendoc.pl#23 $
 #
 
 use strict;
@@ -141,7 +141,7 @@
 
     $func = $fn;
     $func =~ s,^(?:.*/)?([^/]+)\.c$,$1,;
-    if ($source !~ m,\n \* ([\S ]+)\n \*/\n\n([\S ]+)\n_?$func\((.*?)\)\n\{,s) {
+    if ($source !~ m,\n \* ([\S ]+)\n \*/\n\n([\S ]+)\n$func\((.*?)\)\n\{,s) {
 	warn("$fn: can't find $func\n");
 	return undef;
     }


More information about the p4-projects mailing list