Changeset 3079


Ignore:
Timestamp:
Apr 9, 2007, 10:27:22 PM (18 years ago)
Author:
bird
Message:

don't mess with non-seekable files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/sys-apps/diffutils/src/io.c

    r2556 r3079  
    114114      current->buffer = xmalloc (current->bufsize);
    115115
     116#ifdef __EMX__
     117      if (! skip_test
     118       && ! lseek (current->desc, 0, SEEK_CUR))
     119#else
    116120      if (! skip_test)
     121#endif
    117122        {
    118123          /* Check first part of file to see if it's a binary file.  */
Note: See TracChangeset for help on using the changeset viewer.