]> granicus.if.org Git - graphviz/commitdiff
- no more username in output.
authorellson <devnull@localhost>
Thu, 12 Feb 2009 17:47:23 +0000 (17:47 +0000)
committerellson <devnull@localhost>
Thu, 12 Feb 2009 17:47:23 +0000 (17:47 +0000)
- creator always "graphviz"
- pass in lt_preload_symbols from code using libgvc - avoiding problems with --enable-static
- clean out various bits of dead code

cmd/gvpr/gvpr.c
cmd/tools/gvpack.c

index 9d498f4c3997b082bdf5561d42e514e3e703c91d..261a629d5fa1c822553510bf7a7de8059f25c1c4 100644 (file)
@@ -29,6 +29,7 @@
 #else
 #include "compat_unistd.h"
 #endif
+#include "builddate.h"
 #include "gprstate.h"
 #include "cgraph.h"
 #include "ingraphs.h"
 #else
 #include "compat_getopt.h"
 #endif
-#include "builddate.h"
 
 char *Info[] = {
-    "dot",                     /* Program */
+    "gvpr",                    /* Program */
     VERSION,                   /* Version */
     BUILDDATE                  /* Build Date */
 };
index 55eb166547b0d7bfebdea0f75e8e304deb0debf6..76b2f3322c94ba857b0c03282cb7d65ebdd2416f 100644 (file)
@@ -36,8 +36,6 @@
 #include "ingraphs.h"
 #include "pack.h"
 
-#include "builddate.h"
-
 extern Agdict_t *agdictof(void *);
 
 /* gvpack:
@@ -49,12 +47,6 @@ extern Agdict_t *agdictof(void *);
  *  -m <i> specifies the margin, in points, about each graph.
  */
 
-char *Info[] = {
-    "gvpack",                  /* Program */
-    VERSION,                   /* Version */
-    BUILDDATE                  /* Build Date */
-};
-
 typedef struct {
     Dtlink_t link;
     char *name;
@@ -798,7 +790,7 @@ int main(int argc, char *argv[])
 
     init(argc, argv);
 
-    gvc = gvNEWcontext(Info, gvUsername(), lt_preloaded_symbols);
+    gvc = gvNEWcontext(lt_preloaded_symbols);
     gs = readGraphs(&cnt, gvc);
     if (cnt == 0)
        exit(0);