[cairo-commit] svg2png/src args.c, 1.1.1.1, 1.2 svg2png.c, 1.1.1.1, 1.2

Carl Worth commit at pdx.freedesktop.org
Mon May 3 19:02:33 PDT 2004


Committed by: cworth

Update of /cvs/cairo/svg2png/src
In directory pdx:/tmp/cvs-serv574/src

Modified Files:
	args.c svg2png.c 
Log Message:
        * src/svg2png.c (main): Fix to write to stdout rather than trying
        to write to stdin. (Oops).


Index: args.c
===================================================================
RCS file: /cvs/cairo/svg2png/src/args.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** a/args.c	27 Apr 2004 02:10:02 -0000	1.1.1.1
--- b/args.c	4 May 2004 02:02:30 -0000	1.2
***************
*** 42,46 ****
  static const char ARGS_PROGRAM_BUG_ADDRESS[] = "<cworth at isi.edu>";
  
! static const char ARGS_PROGRAM_ARGDOC[] = "<SVG file>";
  
  enum {
--- 42,46 ----
  static const char ARGS_PROGRAM_BUG_ADDRESS[] = "<cworth at isi.edu>";
  
! static const char ARGS_PROGRAM_ARGDOC[] = "<SVG_file> <PNG_file>";
  
  enum {

Index: svg2png.c
===================================================================
RCS file: /cvs/cairo/svg2png/src/svg2png.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** a/svg2png.c	27 Apr 2004 02:10:02 -0000	1.1.1.1
--- b/svg2png.c	4 May 2004 02:02:30 -0000	1.2
***************
*** 67,71 ****
  
      if (strcmp (args.png_filename, "-") == 0) {
! 	png_file = stdin;
      } else {
  	png_file = fopen (args.png_filename, "w");
--- 67,71 ----
  
      if (strcmp (args.png_filename, "-") == 0) {
! 	png_file = stdout;
      } else {
  	png_file = fopen (args.png_filename, "w");





More information about the cairo-commit mailing list