File: mailout

package info (click to toggle)
wily 0.13.41-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,560 kB
  • ctags: 3,426
  • sloc: ansic: 25,364; perl: 580; makefile: 445; sh: 415; python: 30; exp: 17
file content (14 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
~/.wilydirhide, .wilytools
> If wily checked to see if it needed to reload this file before generating a
> listing (a simple stat(2) -- a feature .wilytools needs as well), it would
> substitute for Dotfiles quite nicely.

That's a whole lot of stat-ing going on.  Every time
a window opens for .wilytools, and every time
a directory opens for .wilydirhide.

A cheesy hack would be to look at those files when
we open or write them from inside wily, i.e. check the
label of the file we write/open to see if it is magic.  strcmp
should be cheaper than stat