Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 1996 14:19:20 -0800 (PST)
From:      Joerg Wunsch <joerg>
To:        CVS-committers, cvs-all, cvs-usrbin
Subject:   cvs commit:  src/usr.bin/file ascmagic.c
Message-ID:  <199612202219.OAA12080@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
joerg       96/12/20 14:19:19

  Modified:    usr.bin/file  ascmagic.c
  Log:
  Move the check for ASCIIness earlier.  This avoids the following
  misdetection:
  
  j@uriah 307% file X.hga
  X.hga: 80386 COFF executable not stripped
  j@uriah 308% strings X.hga | head -3
  ~f&`i
  .text
  .data
  j@uriah 309% strings X.hga | file -
  standard input:              assembler program text
  
  New version:
  
  j@uriah 310% strings X.hga | ./file -
  standard input:              International language text
  
  Reviewed by:	christos@deshaw.com (Christos Zoulas)
  
  Revision  Changes    Path
  1.4       +7 -7      src/usr.bin/file/ascmagic.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612202219.OAA12080>