socsvn commit: r240339 - soc2012/jhagewood/sdiff

jhagewood at FreeBSD.org jhagewood at FreeBSD.org
Tue Aug 14 01:29:20 UTC 2012


Author: jhagewood
Date: Tue Aug 14 01:29:18 2012
New Revision: 240339
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=240339

Log:

Modified:
  soc2012/jhagewood/sdiff/TODO

Modified: soc2012/jhagewood/sdiff/TODO
==============================================================================
--- soc2012/jhagewood/sdiff/TODO	Mon Aug 13 23:19:52 2012	(r240338)
+++ soc2012/jhagewood/sdiff/TODO	Tue Aug 14 01:29:18 2012	(r240339)
@@ -28,3 +28,44 @@
      -i      Do a case-insensitive comparison.
      -t      Expand tabs to spaces.
      -W      Ignore all spaces (the -w flag is passed to diff(1)).
+
+
+- gdb output for zsdiff:
+
+jesse at jesse /u/h/j/D/sdiff> gdb ./zsdiff
+GNU gdb 6.1.1 [FreeBSD]
+Copyright 2004 Free Software Foundation, Inc.
+GDB is free software, covered by the GNU General Public License, and you 
+are
+welcome to change it and/or distribute copies of it under certain 
+conditions.
+Type "show copying" to see the conditions.
+There is absolutely no warranty for GDB.  Type "show warranty" for 
+details.
+This GDB was configured as "amd64-marcel-freebsd"...
+(gdb) run sdiff.gz sdiff.1.gz
+Starting program: /usr/home/jesse/Documents/sdiff/zsdiff sdiff.gz 
+sdiff.1.gz
+
+Program received signal SIGBUS, Bus error.
+0x0000000800d6bad8 in getdtablesize () from /lib/libc.so.7
+(gdb) where
+#0  0x0000000800d6bad8 in getdtablesize () from /lib/libc.so.7
+#1  0x0000000800d4fae8 in funopen () from /lib/libc.so.7
+#2  0x0000000800d4f5ca in rewind () from /lib/libc.so.7
+#3  0x000000000040218a in istextfile (f=0x7fffffffdb77) at sdiff.c:558
+#4  0x0000000000402e44 in main (argc=2, argv=Variable "argv" is not 
+available.
+) at sdiff.c:468
+(gdb) list
+468		if (!istextfile(file1) || !istextfile(file2)) {
+469			/* Close open files and pipe, delete temps */ 
+470			fclose(file1);
+471			fclose(file2);
+472			fclose(diffpipe);
+473			if (tmp1)
+474				if (unlink(tmp1))
+475					warn("Error deleting %s.", 
+tmp1);
+476			if (tmp2)
+477				if (unlink(tmp2))


More information about the svn-soc-all mailing list