Edit

IABSD.fr/src/lib/libedit/config.h

Branch :

  • Show log

    Commit

  • Author : schwarze
    Date : 2016-03-20 22:09:24
    Hash : f3a50c9e
    Message : Use getline(3) rather than fgetln(3) because it is standardized and simpler and safer to use. Implemented by Christos Zoulas following my suggestion, with a bug fix by me.

  • lib/libedit/config.h
  • /*	$OpenBSD: config.h,v 1.3 2016/03/20 22:09:24 schwarze Exp $	*/
    /* config.h.  Generated automatically by configure.  */
    /* #undef SUNOS */
    
    #define HAVE_SYS_CDEFS_H 1
    #define HAVE_TERMCAP_H 1
    /* #undef HAVE_CURSES_H */
    
    /* Define to 1 if you have the `getline' function. */
    #define HAVE_GETLINE 1
    
    /* #undef HAVE_NCURSES_H */
    /* #undef HAVE_TERM_H */
    #define HAVE_VIS_H 1
    #define HAVE_ISSETUGID 1
    
    #define HAVE_STRLCAT 1
    #define HAVE_STRLCPY 1
    #define HAVE_FGETLN 1
    #define HAVE_STRVIS 1
    #define HAVE_STRUNVIS 1
    
    #define HAVE_STRUCT_DIRENT_D_NAMLEN 1
    
    #include "sys.h"