diff options
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | trip.rc | 12 | ||||
| -rw-r--r-- | tripping.c | 18 |
3 files changed, 6 insertions, 30 deletions
@@ -820,3 +820,9 @@ Changes since rc-1.5b2 command; history writes and reads outside allocated memory. Configuration: upgrade to autoconf-2.56 and automake-1.7.1. + +2003-07-17 + + Testing: remove test for large file support, as it causes + indigestion on file systems that don't support sparse files (thanks + Scott Schwartz). @@ -594,15 +594,3 @@ x=$tmp.qux/foo* ~ $x $tmp.qux/foo || { rm -rf $tmp.qux; fail broken symlink globbing } x=$tmp.qux*/foo ~ $x $tmp.qux/foo || { rm -rf $tmp.qux; fail broken symlink globbing } - -# large file support - -# this is, by no means, an exhaustive test. since particular file -# systems do, or do not, support large files, we try it both in the -# build directory and /tmp. - -if (./tripping l > big.$pid >[2] /dev/null || - ./tripping l > /tmp/big.$pid >[2] /dev/null) { - echo large file support seems to work -} else echo large file support seems NOT to work - see INSTALL file -rm -f big.$pid /tmp/big.$pid @@ -19,21 +19,6 @@ static void ctrl_a(void) { puts("a\001ab\002b"); } -static void large(void) { - char c = 'c'; - -#define LARGE (((off_t)1<<33)+1) - - if (lseek(1, LARGE, SEEK_SET) != LARGE) { - perror("lseek"); - exit(1); - } - if (write(1, &c, 1) == -1) { - perror("write"); - exit(1); - } -} - static void makenonblock(void) { int flags; @@ -52,9 +37,6 @@ int main(int argc, char **argv) { case 'a': ctrl_a(); break; - case 'l': - large(); - break; case 'n': makenonblock(); break; |