[BACK]Return to match.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/match.c between version 1.5 and 1.6

version 1.5, 2000/03/23 22:15:33 version 1.6, 2000/04/14 10:30:31
Line 1 
Line 1 
 /*  /*
  *   *
  * match.c   * match.c
  *   *
  * Author: Tatu Ylonen <ylo@cs.hut.fi>   * Author: Tatu Ylonen <ylo@cs.hut.fi>
  *   *
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland   * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved   *                    All rights reserved
  *   *
  * Created: Thu Jun 22 01:17:50 1995 ylo   * Created: Thu Jun 22 01:17:50 1995 ylo
  *   *
  * Simple pattern matching, with '*' and '?' as wildcards.   * Simple pattern matching, with '*' and '?' as wildcards.
  *   *
  */   */
   
 #include "includes.h"  #include "includes.h"
Line 23 
Line 23 
  * and * as wildcards), and zero if it does not match.   * and * as wildcards), and zero if it does not match.
  */   */
   
 int  int
 match_pattern(const char *s, const char *pattern)  match_pattern(const char *s, const char *pattern)
 {  {
         for (;;) {          for (;;) {

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