[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug of excluding directories

From: Jie Zhang
Subject: Bug of excluding directories
Date: Wed, 12 Mar 2003 13:36:20 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130

Suppose directory first-dir contain two directories: d and d2. My modules file contains:
  exmodule -a !first-dir/d first-dir
then checking out the module 'exmodule' will not check out both d and d2.

I read the source code and found that we should use
  strcmp (name, dir_ign_list[i])
instead of
  strncmp (name, dir_ign_list[i], strlen (dir_ign_list[i])
in function ignore_directory(name) in file ignore.c.

Is this a bug or an intended character of cvs?

- Jie

reply via email to

[Prev in Thread] Current Thread [Next in Thread]