PERFORCE change 123522 for review

Garrett Cooper gcooper at FreeBSD.org
Sun Jul 15 06:15:20 UTC 2007


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

Change 123522 by gcooper at optimus-revised_pkgtools on 2007/07/15 06:14:16

	Use fileGetContentsByFilename(..) in lib/file.c instead of fileGetContents(..).

Affected files ...

.. //depot/projects/soc2007/revised_fbsd_pkgtools/usr/src/usr.sbin/pkg_install/lib/str.c#2 edit

Differences ...

==== //depot/projects/soc2007/revised_fbsd_pkgtools/usr/src/usr.sbin/pkg_install/lib/str.c#2 (text+ko) ====

@@ -44,7 +44,7 @@
     if (*s == '-')
 	*str = copy_string_adds_newline(s + 1);
     else
-	*str = fileGetContents(s);
+	*str = fileGetContentsByFilename(s);
     return *str;
 }
 


More information about the p4-projects mailing list