1 $NetBSD: patch-ad,v 1.2 2002/03/09 03:27:51 yyamano Exp $
3 --- language/language.c.orig Thu Sep 23 11:23:20 1993
4 +++ language/language.c
6 /* Process user response */
8 response = toupper( response ); /* Damn macros */
9 - blankLine( screenWidth );
10 + blankLine( screenWidth - 1 );
11 if( response == RESPONSE_QUIT )
13 lineNo -= ( response == ' ' ) ? screenHeight : 1;
15 if( ( inFD = hopen( fileNamePtr, O_RDONLY | S_DENYWR | A_RANDSEQ ) ) == ERROR )
17 #elif defined( __UNIX__ )
18 + fileNamePtr = getFirstKeyPath( PREFIX "/share/hpack", DATA_FILENAME );
19 + if( ( inFD = hopen( fileNamePtr, O_RDONLY | S_DENYWR | A_RANDSEQ ) ) != ERROR )
21 /* Build path to language file and try and process it */
22 fileNamePtr = getFirstKeyPath( getenv( "PATH" ), DATA_FILENAME );
23 while( fileNamePtr != NULL )
25 return( ERROR ); /* Couldn't find/open input file */
27 #endif /* System-specific handling of how to find language defn.file */
28 +#if defined(__UNIX__)