1 Aug 2011 08:11
Re: Need testers for mg dired diff
Loganaden Velvindron <loganaden <at> devio.us>
2011-08-01 06:11:31 GMT
2011-08-01 06:11:31 GMT
This is what you're talking about. C-n & C-p warp the dot on the filename. I've overwritten the default forwline() and backline() functions. I like this. If others don't find it annoying, we can go forward. I'll look at another issue that Mark brought up when I'll be done with work. Index: dired.c =================================================================== RCS file: /cvs/src/usr.bin/mg/dired.c,v retrieving revision 1.48 diff -u -p -r1.48 dired.c --- dired.c 23 Jan 2011 00:45:03 -0000 1.48 +++ dired.c 1 Aug 2011 06:04:01 -0000 <at> <at> -36,6 +36,11 <at> <at> static int d_rename(int, int); static int d_shell_command(int, int); static int d_create_directory(int, int); static int d_makename(struct line *, char *, size_t); +static int d_forwpage(int, int); +static int d_backpage(int, int); +static int d_forwline(int, int); +static int d_backline(int, int); +static int d_gotoline(int, int); static void reaper(int); extern struct keymap_s helpmap, cXmap, metamap;(Continue reading)
>
> Just removing the check seems wrong to me. This would allow ::1
> addresses from the wire. Also the goto hbhcheck would get lost.
I have reconsidered the existing loopback check in ip6_input(). It
is wrong. The check that ::1 is not allowed from the wire must be
before pf_test(). Otherwise pf could reroute or redirect such a
packet.
KAME moved the check in rev 1.189 of their ip6_input.c. They also
removed the special goto ours logic for ::1. I do not change that
now before release so leave the goto where it is.
Redirect or nat to ::1 should work with this diff. But I still
believe that divert-to is more suitable for that.
ok?
bluhm
Index: netinet6/ip6_input.c
===================================================================
RCS file: /data/mirror/openbsd/cvs/src/sys/netinet6/ip6_input.c,v
retrieving revision 1.101
diff -u -p -r1.101 ip6_input.c
--- netinet6/ip6_input.c 6 Jul 2011 02:42:28 -0000 1.101
RSS Feed