Edit

IABSD.fr/src/usr.bin/grep/binary.c

Branch :

  • Show log

    Commit

  • Author : tb
    Date : 2021-12-15 19:22:44
    Hash : 75891f45
    Message : grep: Add missing unistd.h and limits.h includes Both binary.c and file.c currently pull in unistd.h via zlib's zconf.h. binary.c uses SEEK_SET and file.c a bunch of things like close(), isatty(), lseek(). In addition file.c needs limits.h for PATH_MAX. ok deraadt

  • usr.bin/grep/binary.c
  • /*	$OpenBSD: binary.c,v 1.20 2021/12/15 19:22:44 tb Exp $	*/
    
    /*-
     * Copyright (c) 1999 James Howard and Dag-Erling Co