rm -f 1
touch 1
for i in . console gnome-console cats dird filed filed/win32 \
- win32 win32/compat findlib lib wx-console stored tools; do
+ win32 win32/compat findlib lib wx-console stored tools \
+ win32/wx-console win32/console win32/baculafd; do
ls -1 $i/*.c $i/*.cpp $i/*.h $i/*.in 2>/dev/null >>1
done
cat 1 | $HOME/bin/lines
/* Adjust write size to min/max for tapes only */
if (dev->state & ST_TAPE) {
- if (wlen < dev->min_block_size) {
- wlen = ((dev->min_block_size + TAPE_BSIZE - 1) / TAPE_BSIZE) * TAPE_BSIZE;
- }
/* check for fixed block size */
if (dev->min_block_size == dev->max_block_size) {
wlen = block->buf_len; /* fixed block size already rounded */
+ /* Check for min block size */
+ } else if (wlen < dev->min_block_size) {
+ wlen = ((dev->min_block_size + TAPE_BSIZE - 1) / TAPE_BSIZE) * TAPE_BSIZE;
+ /* Ensure size is rounded */
+ } else {
+ wlen = ((wlen + TAPE_BSIZE - 1) / TAPE_BSIZE) * TAPE_BSIZE;
}
}
if (wlen-blen > 0) {
#undef VERSION
#define VERSION "1.34.3"
#define VSTRING "1"
-#define BDATE "30 Apr 2004"
-#define LSMDATE "30Apr04"
+#define BDATE "01 May 2004"
+#define LSMDATE "01May04"
/* Debug flags */
#undef DEBUG