[darwinbuild-changes] [771] branches/PR-7593824/darwinup/Depot.cpp

source_changes at macosforge.org source_changes at macosforge.org
Fri Mar 12 09:07:05 PST 2010


Revision: 771
          http://trac.macosforge.org/projects/darwinbuild/changeset/771
Author:   wsiegrist at apple.com
Date:     2010-03-12 09:07:04 -0800 (Fri, 12 Mar 2010)
Log Message:
-----------
Do not print (null) in the archive list

Modified Paths:
--------------
    branches/PR-7593824/darwinup/Depot.cpp

Modified: branches/PR-7593824/darwinup/Depot.cpp
===================================================================
--- branches/PR-7593824/darwinup/Depot.cpp	2010-03-12 16:45:40 UTC (rev 770)
+++ branches/PR-7593824/darwinup/Depot.cpp	2010-03-12 17:07:04 UTC (rev 771)
@@ -1033,7 +1033,7 @@
 	strftime(date, sizeof(date), "%b %e %H:%M", &local);
 
 	fprintf((FILE*)context, "%-6llu %-36s  %-12s  %-7s  %s\n", 
-			serial, uuid, date, archive->build(), archive->name());
+			serial, uuid, date, (archive->build()?archive->build():""), archive->name());
 	
 	return 0;
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20100312/697853d0/attachment.html>


More information about the darwinbuild-changes mailing list