From owner-svn-soc-all@FreeBSD.ORG Tue Aug 14 01:29:20 2012 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from socsvn.FreeBSD.org (unknown [IPv6:2001:4f8:fff6::2f]) by hub.freebsd.org (Postfix) with SMTP id B7ECF106564A for ; Tue, 14 Aug 2012 01:29:18 +0000 (UTC) (envelope-from jhagewood@FreeBSD.org) Received: by socsvn.FreeBSD.org (sSMTP sendmail emulation); Tue, 14 Aug 2012 01:29:18 +0000 Date: Tue, 14 Aug 2012 01:29:18 +0000 From: jhagewood@FreeBSD.org To: svn-soc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20120814012918.B7ECF106564A@hub.freebsd.org> Cc: Subject: socsvn commit: r240339 - soc2012/jhagewood/sdiff X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 01:29:20 -0000 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@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))