Package: aspell
Version: 0.60.4-3
Severity: normal

aspell seems to skip files matching "*.c".  This wasn't documented in
the manpage, so I had to spend some time on it before coming to this
conclusion.  Oh, after rechecking my 26 files, I notice that it misses
*.h, too.  Please either:

  - don't skip files based on extension; or,
  - print a diagnostic message when a file is skipped; 

  *AND*

  - document the behavior

BTW, it opens the file 7 times anyway:

$ strace -e open aspell check aspell.c 2>&1 |grep 'aspell\.c'
open("/home/pryzbyj/.aspell.conf", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/etc/aspell.conf", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("aspell.c", O_RDONLY)              = 3
open("aspell.c.new", O_WRONLY|O_CREAT|O_TRUNC, 0100644) = 4
open("aspell.c", O_RDONLY)              = 5
open("aspell.c", O_RDONLY)              = 5
open("aspell.c", O_RDONLY)              = 5
open("aspell.c", O_RDONLY)              = 5
open("aspell.c", O_RDONLY)              = 5
open("aspell.c", O_RDONLY)              = 5


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to