1New features with AN-2016-06-28: 2 3This is the first localization step for the schily source consolidation. Many 4programs now (hopefully) call gettext() for all strings that need localization. 5 6- The next step will include dgettext() calls for the libraries and the 7 missing programs 8 9- The following step will include the extracted strings 10 11- The last step will include German translations and install support 12 for the resulting binary message object files. 13 14----------> Please test and report compilation problems! <--------- 15 16***** NOTE: As mentioned since 2004, frontends to the tools should ***** 17***** call all programs in the "C" locale ***** 18***** by e.g. calling: LC_ALL=C cdrecord .... ***** 19***** unless these frontends support localized strings ***** 20***** used by the cdrtools with NLS support. ***** 21 22 *** WARNING *** 23 *** Need new smake *** 24 25 *** Due to the fact that schily-tools 2014-04-03 introduced to use new macro 26 *** expansions and a related bug fix in smake, you need a new smake 27 *** to compile this source. To ensure this, call: 28 29 cd ./psmake 30 ./MAKE-all 31 cd .. 32 psmake/smake 33 psmake/smake install 34 35 36 WARNING: the new version of the isoinfo program makes use of the 37 *at() series of functions that have been introduced by Sun 38 in August 2001 and added to POSIX.1-2008. For older platforms, 39 libschily now includes emulations for these functions but 40 these emulations have not yet been tested thoroughly. 41 Please report problems! 42 43 The new smake version mentioned above is smake-1.2.4 44 45- patch: implement some workarounds in our testsuite for bugs in 46 /usr/bin/patch from FreeBSD that is used in a randomized compare test 47 between spatch and the local patch. The current conclusion from this 48 test ist that our spatch is the only patch implementation without 49 known bugs. 50 gpatch always missbehaves when fed from "diff -U0" output. 51 BSDpatch always missbehaves when fed from "diff -e" output. 52 53 54- SCCS testsuite: fixed a bug in the new SCCS history format test. 55 The script still used the hardcoded "joerg" even though there 56 was a variable with the logname already. 57 58- Bourne Shell testsuite: Fixed a typo bug in a shell script. The file 59 sh/tests/shelltests/error/error.sh contained a "O" instead of a "0". 60 61- Bourne Shell: fixed a bug introduced with the last release: "exec 5>file" 62 did close fd #5 instead of keeping it open. 63 64- Bourne Shell testsuite: Added a test to check whether "exec 5>file" 65 works together with "echo bla 1>&5". 66 67- Test suite control software: Added a workaround for a dash bug in "echo". 68 Dash stops at null bytes and does not print them. 69 70- Test suite control software: Now defines a simple "seq" function in case 71 that there is no such command. This is needed on OS X 72 73- Test suite for patch: Accept /usr/bin/awk if this is a nawk - needed 74 for OSX 75 76- Test suite control software: Fixed a typo that used "test x -eq y" 77 where "x" could be a string instead of a number. We now use a string 78 compare with "test x = y". 79 80- Star: star in "-dump" mode and when using the FIFO did overwrite the 81 tar header for a file with the POSIX.1-2001 extended tar header for 82 efficiency. This unfortumately did overwrite data that was later 83 used by: 84 85 star -c -dump -vv 86 87 for the verbose listing and caused username/groupname to be "root". 88 We no longer allocate the PTB from the FIFO buffer in this case and 89 introduce a minor performance penalty when using "star -c -vv". 90 91- Star: now calling strlcpy() instead of strcpy() when copying CPIO 92 file names as CPIO has no checksum and may observe rotten archives. 93 Thanks to Hanno B�ck for the report. 94 95- Star: Only check CPIO-BIN filenames for swapped bytes when the filename 96 would fit into a 512 byte header. Cpio officially only support 256 bytes 97 in the filename. In theory 65k is possible but with star -no-fifo, 98 we only have 10k to check. 99 Thanks to Hanno B�ck for the report. 100 101- Star: Abort with CPIO-BIN archives when the symlink target name size is 102 seen as a number <= 0 in the cpio header. This avoids a core dump from 103 rotten CPIO archives. 104 Thanks to Hanno B�ck for the report. 105 106- Star: When using the outdated signed checksums, star could incorrectly 107 assume that a block o characters that sums up to 0 is an EOF block. 108 Star now defines such a block as a potential EOF block and repeats the 109 the computation using unsigned chars to verify whether it really is 110 an EOF block. 111 Thanks to Heiko Ei�feldt for the report. 112 113- Bourne Shell Missing features for POSIX compliance: 114 115 - Do not list functions when calling "set" with no arguments. 116 Note that this POSIX requirement is seen as a POSIX bug as there 117 is no POSIX command to list function definitions. 118 NOTE that this will not be implemented before POSIX bug 119 http://austingroupbugs.net/view.php?id=1025 was fixed. 120 121 - A POSIX whitepaper at: http://www.unix.org/whitepapers/shdiffs.html 122 claims that: 123 IFS=o; violet 124 125 should not execute "vi". The normative text in the POSIX standard 126 describes the historic Bourne Shell behavior, but the rationale 127 describes the deviating behavior from "ksh". 128 129 130 - Support for $'...' quoting (this is not needed for the current 131 version of POSIX but for the next POSIX 132 version that will be SUSv8) 133 134 We are getting very close to full POSIX support. 135 136 137- Bourne Shell further TODO list: 138 139 - Try to make 140 141 lastline= 142 while read line 143 do 144 lastline=$line 145 done < /etc/passwd 146 echo "lastline=$lastline" 147 148 print the last line of /etc/passwd without the exec "trick" 149 that is documented in the man page. 150 151 - Finish loadable builtin support. 152 153 - POSIX does not allow us to implement ". -h", so we will 154 add a "source" builtin to be able to implement "source -h" 155 156- The following builtins (that are available in bsh) are still missing in 157 the Bourne Shell: 158 159 err echo with output going to stderr 160 glob echo with '\0' instead of ' ' between args 161 env a builtin version of /usr/bin/env 162 163 The following bsh intrinsics are still missing in the Bourne Shell: 164 165 - the restricted bsh has restriction features that 166 are missing in the Bourne shell. 167 168 - source -h read file into history but do not excute 169 170 and probably more features not yet identified to be bsh unique. 171 172 173 174Author: 175 176Joerg Schilling 177D-13353 Berlin 178Germany 179 180Email: joerg@schily.net, js@cs.tu-berlin.de 181 joerg.schilling@fokus.fraunhofer.de 182 183Please mail bugs and suggestions to me. 184