diff options
| author | tjg <tjg> | 2003-07-17 11:59:38 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:23 +0100 |
| commit | 4096742b6e95c879444b004a92f4fa43e648abed (patch) | |
| tree | 1d96ffc4f78575c36c444fa8fbcdc5db893bff1c /tripping.c | |
| parent | ffe6f1d41d3711bcae4f622028966839f739419f (diff) | |
Testing: remove test for large file support, as it causes
indigestion on file systems that don't support sparse files (thanks
Scott Schwartz).
Diffstat (limited to 'tripping.c')
| -rw-r--r-- | tripping.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -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; |