namazu-dev(ring)


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

newline in file name (Re: mknmz: NMZ.r (39469) and NMZ.t (39485) are not consistent!)



  高林さんのおっしゃるように find.pl に print を入れて、見つけ
たものは消したつもりなのに、まだ問題が起きるので、調べたら、そ
れとは別に譜名に改行文字が入っているものがありました。

   そういうのがあるからいけないので、そこまで親切にする必要は
ないという説もありますが、(とりあえず)今朝の版でまだ直っていな
い気がします。

(きのうときょうの実行の様子も付けておきます。その一部を..)
0 /export/home/makoto/namazu/test-case/customize-installer.html [text/plain]
1 /export/home/makoto/namazu/test-case/customize-installer.html [text/plain]
2  is 0 size! skipped.
2 /export/home/makoto/namazu/test-case/index.shtml [text/html]

(この問題のものを tar して付けておきます)
makoto@fujiwara■9:35:38/991217(~/namazu)> tar zcfv /tmp/newline-in-file-name.tar.gz test-case/
test-case/
test-case/customize-installer.html
test-case/customize-installer.html\n
test-case/index.shtml

---
(藤原)
【1999-12-16】
-----------
makoto@fujiwara■9:17:58/991217(~/namazu/test-case)> mknmz -O /tmp .
Reading config file:  /usr/local/etc/namazu/mknmzrc /home/makoto/.mknmzrc
0 /export/home/makoto/namazu/test-case/customize-installer.html [text/plain]
1 /export/home/makoto/namazu/test-case/customize-installer.html [text/plain]
2  is 0 size! skipped.
2 /export/home/makoto/namazu/test-case/index.shtml [text/html]
[Base]
Date: Fri Dec 17 09:18:52 1999
Added Files: 3 files
Total Files: 3 files
Size: 6,731 bytes
Added Keywords: 359 words
Total Keywords: 359 words
Perl: 5.00503
Namazu: 1.9.12
System: netbsd
Wakati: module_kakasi -ieuc -oeuc -w
Time: 47 sec.

makoto@fujiwara■9:18:53/991217(~/namazu/test-case)> mknmz -O /tmp .
Reading config file:  /usr/local/etc/namazu/mknmzrc /home/makoto/.mknmzrc
mknmz: NMZ.r (1) and NMZ.t (2) are not consistent!
makoto@fujiwara■9:19:57/991217(~/namazu/test-case)> mknmz --version
mknmz of Namazu 1.9.12
Copyright (C) 1997-1999 Satoru Takabayashi All rights reserved.

This is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
makoto@fujiwara■9:20:18/991217(~/namazu/test-case)> 

【1999-12-17】
makoto@fujiwara■9:31:03/991217(~/namazu/test-case)> mknmz -O /tmp .
Reading rcfile:  /usr/local/etc/namazu/mknmzrc /home/makoto/.mknmzrc
0 /export/home/makoto/namazu/test-case/customize-installer.html [text/plain]
1 /export/home/makoto/namazu/test-case/customize-installer.html [text/plain]
2  is 0 size! skipped.
2 /export/home/makoto/namazu/test-case/index.shtml [text/html]
[Base]
Date: Fri Dec 17 09:31:53 1999
Added Files: 3 files
Total Files: 3 files
Size: 6,731 bytes
Added Keywords: 359 words
Total Keywords: 359 words
Perl: 5.00503
Namazu: 1.9.12
System: netbsd
Wakati: module_kakasi -ieuc -oeuc -w
Time: 29 sec.

makoto@fujiwara■9:31:53/991217(~/namazu/test-case)> 

makoto@fujiwara■9:31:53/991217(~/namazu/test-case)> mknmz -O /tmp .
Reading rcfile:  /usr/local/etc/namazu/mknmzrc /home/makoto/.mknmzrc
ASSERTION ERROR!: NMZ.r (1) and NMZ.t (2) are not consistent! at /usr/local/share/namazu/pl/util.pl line 236.
makoto@fujiwara■9:32:12/991217(~/namazu/test-case)> 

Attachment: newline-in-file-name.tar.gz
Description: Binary data