world - Replace gnu diff, diff3, and sdiff with BSD versions* Replace diff and diff3 with the OpenBSD diff and diff3, Replace sdiff with the FreeBSD sdiff, Remove the GNU diff, diff3, and sdiff
world - Replace gnu diff, diff3, and sdiff with BSD versions* Replace diff and diff3 with the OpenBSD diff and diff3, Replace sdiff with the FreeBSD sdiff, Remove the GNU diff, diff3, and sdiff* Basic testing with dsynth bulk to ensure no significant compatibility disruptions.Submitted-by: Tyler <tyler.clark@foxide.xyz>
show more ...
libc/stdio: Add _unlocked() flavors of fflush, fputc, fputs, fread, fwrite.These are needed by some dports and can also be used in various thingsin base. Bump __DragonFly_version, too.Reported-b
libc/stdio: Add _unlocked() flavors of fflush, fputc, fputs, fread, fwrite.These are needed by some dports and can also be used in various thingsin base. Bump __DragonFly_version, too.Reported-by: zrjTaken-from: FreeBSD
Upgrade diffutils. 2/2- update README.{DELETED,DRAGONFLY}- regenerate header files- adapt Makefile to vendor update
diffutils: Reconfigure and revert some obsolete local changes.Our wcwidth() is by now capable of handling UTF-8 so revert thechanges from d76863bd1dbf9c1e4c04a977e3a7271a23cdb718.While here, rem
diffutils: Reconfigure and revert some obsolete local changes.Our wcwidth() is by now capable of handling UTF-8 so revert thechanges from d76863bd1dbf9c1e4c04a977e3a7271a23cdb718.While here, remove two more files from libdiffutils' Makefile.
diff: s/.o/.c/ in the Makefile.
diffutils: Trim sources that create empty objects.There are several things that need to be addressed here.Should (like in grep(1)) wctype-h.c produce symbols?
libdiffutils: Don't "predefine" _NoreturnLibdiffutils config.h defines _Noreturn which causes a redefinition warningwhen <sys/cdefs> defines it afterward. Comment it out to prevent the warnings.
iconv sync 8/x: FreeBSD SVN 281550Remove the const qualifier from iconv(3) to comply with POSIX:http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.htmlAdjust all code that calls icon
iconv sync 8/x: FreeBSD SVN 281550Remove the const qualifier from iconv(3) to comply with POSIX:http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.htmlAdjust all code that calls iconvNote: The libcpp Makefile cflag was added because the host iconv.h header was getting pulled in. This always should have been the src version of iconv.h, but the error wasn't exposed until now.
Set ICONV_CONST to "const" for various GNU softwareThe prototype of iconv changed to match FreeBSD and NetBSD with therecent locales update.
diff utils: Update from version 3.2 to 3.3** New features--new-file (-N) and --unidirectional-new-file now allow comparisons to"-". A standard input that's closed acts like a nonexistent file.
diff utils: Update from version 3.2 to 3.3** New features--new-file (-N) and --unidirectional-new-file now allow comparisons to"-". A standard input that's closed acts like a nonexistent file.A file name containing spaces, double quotes, backslashes or controlcharacters is now encoded in a diff header as a double-quoted C stringliteral. The escape sequences \\, \", \a, \b, \f, \n, \r, \t, \v and\ooo (a three-digit octal number between 0 and 255) are used.
diffutils: Upgrade to version 3.2The majority of the changes were inherited from gnulib. There were onlya few observable differences from version 3.0:Release 3.2 (2011-09-02) [stable]Release 3
diffutils: Upgrade to version 3.2The majority of the changes were inherited from gnulib. There were onlya few observable differences from version 3.0:Release 3.2 (2011-09-02) [stable]Release 3.1 (2011-08-10) [stable]Bug fixes===================diff no longer reports spurious differences merely because two entriesin the same directory have names that compare equal in the currentlocale, or compare equal because --ignore-file-name-case was given.Changes in behavior===================--ignore-file-name-case now applies at the top level too.For example, "diff dir inIt" might compare "dir/Init" to "inIt".New features===================diff and sdiff have a new option --ignore-trailing-space (-Z).
sdiff: fix wcwidth recursionApparently trying to diff non-UTF8 documents caused a stack overflow.The culprit was correctly identified by Yonetani as the redefinitionof wcwidth in the wcwidth.c fi
sdiff: fix wcwidth recursionApparently trying to diff non-UTF8 documents caused a stack overflow.The culprit was correctly identified by Yonetani as the redefinitionof wcwidth in the wcwidth.c file. Within that function, it calls itselfrecursively forever. I'm not sure how this would work differently(macro or not) on another system.My solution was to stop redefining wcwidth and just create a separatefunction, one that will call the system wcwidth function as needed.reported by: Peter Avaloshttp://bugs.dragonflybsd.org/issue2134
This is a complete overhaul in the diffutils makefile system. Thedirectories gnu/usr.bin/diff3 and gnu/usr.bin/sdiff have been removedas a result. Those directories also used the deprecated patch
This is a complete overhaul in the diffutils makefile system. Thedirectories gnu/usr.bin/diff3 and gnu/usr.bin/sdiff have been removedas a result. Those directories also used the deprecated patch approach.Like grep before it, diffutils uses its own regex library. Theprevious version used gnuregex.The README.DELETED was woefully out of date. It is hoped this overhaulwill make future diffutils upgrades easier.========================================================= Noteworthy changes in release 2.9 (2010-02-11) [stable]=========================================================** New features New diff option --suppress-blank-empty. Bring back support for `diff -NUM', where NUM is a number, even when conforming to POSIX 1003.1-2001. This change reverts to the behavior of GNU diff 2.7 and earlier. This is a change only when conforming to POSIX 1003.1-2001; there is no effect when conforming to older POSIX versions. This change is in response to decisions taken in the January 2005 Austin Group standardization meeting. For more details, please see "Utility Syntax Guidelines" in the Minutes of the January 2005 Meeting <http://www.opengroup.org/austin/docs/austin_239.html>. sdiff now understands '1' and '2' as synonyms for 'l' and 'r'.** Changes in behavior sdiff and diff3 now invoke diff, not $(bindir)/diff** Administrivia New discussion and bug-reporting address: bug-diffutils@gnu.org updated gnulib support========================================================= Noteworthy changes in release 3.0 (2010-05-03) [stable]=========================================================** Bug fixes diff once again prints the required "\ No newline at end of file" line when at least one input lacks a newline-at-EOF and the final hunk plus context-length aligns exactly with the end of the newline-lacking file. [bug introduced between 2.8.7 and 2.9]** Changes in behavior In context-style diffs, diff prints a portion of a preceding "function" line for each hunk, with --show-function-line=RE (-F) or --show-c-function (-p). Now, it trims leading blanks from such lines before extracting a prefix. This is useful especially when a function line is so far indented that the name itself would be truncated or not included in the limited-width substring that diff appends. diff once again reports a difference with the diagnostic "Binary files A and B differ" when at least one of the files appears to be binary. From 2.8.4 through diffutils-2.9, it printed "Files A and B differ".