[BACK]Return to genthash CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libterminfo

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libterminfo/genthash between version 1.4 and 1.5

version 1.4, 2010/03/03 12:09:49 version 1.5, 2011/11/02 12:09:25
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $NetBSD$  # $NetBSD$
   
 # Copyright (c) 2009 The NetBSD Foundation, Inc.  # Copyright (c) 2009, 2011 The NetBSD Foundation, Inc.
 #  #
 # This code is derived from software contributed to The NetBSD Foundation  # This code is derived from software contributed to The NetBSD Foundation
 # by Roy Marples.  # by Roy Marples.
Line 36  set -e
Line 36  set -e
 TERMCAPC=${1:-termcap_map.c}  TERMCAPC=${1:-termcap_map.c}
   
 cat <<EOF  cat <<EOF
 /* \$NetBSD\$ */  
 /* DO NOT EDIT  /* DO NOT EDIT
  * Automatically generated from termcap.c */   * Automatically generated from termcap.c */
   
 #include <sys/cdefs.h>  
 __RCSID("\$NetBSD$");  
   
 #include <stdint.h>  #include <stdint.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <term_private.h>  #include <term_private.h>
Line 51  EOF
Line 47  EOF
   
 $TOOL_SED -n -e "1,/_ti_cap_flagids/d" -e '/};/,$d' \  $TOOL_SED -n -e "1,/_ti_cap_flagids/d" -e '/};/,$d' \
         -e 's/.*"\([^"]*\)".*/\1/p' $TERMCAPC | \          -e 's/.*"\([^"]*\)".*/\1/p' $TERMCAPC | \
         $TOOL_NBPERF -s -n _t_flaghash          $TOOL_NBPERF -p -s -n _t_flaghash
 echo  echo
 $TOOL_SED -n -e "1,/_ti_cap_numids/d" -e '/};/,$d' \  $TOOL_SED -n -e "1,/_ti_cap_numids/d" -e '/};/,$d' \
         -e 's/.*"\([^"]*\)".*/\1/p' $TERMCAPC | \          -e 's/.*"\([^"]*\)".*/\1/p' $TERMCAPC | \
         $TOOL_NBPERF -s -n _t_numhash          $TOOL_NBPERF -p -s -n _t_numhash
 echo  echo
 $TOOL_SED -n -e "1,/_ti_cap_strids/d" -e '/};/,$d' \  $TOOL_SED -n -e "1,/_ti_cap_strids/d" -e '/};/,$d' \
         -e 's/.*"\([^"]*\)".*/\1/p' $TERMCAPC | \          -e 's/.*"\([^"]*\)".*/\1/p' $TERMCAPC | \
         $TOOL_NBPERF -s -n _t_strhash          $TOOL_NBPERF -p -s -n _t_strhash

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb <webmaster@jp.NetBSD.org>