Re: Removing syscall(2) from libc and kernel

2023-10-27 Thread Lucas Gabriel Vuotto
On Fri, Oct 27, 2023 at 09:36:25AM -0600, Theo de Raadt wrote: > Index: sys/arch/m88k/m88k/trap.c > === > RCS file: /cvs/src/sys/arch/m88k/m88k/trap.c,v > diff -u -p -u -r1.128 trap.c > --- sys/arch/m88k/m88k/trap.c 2 Aug 2023 06:14:46

gre(4): remove linkX from example

2017-11-30 Thread Lucas Gabriel Vuotto
Hi tech@, According rev 1.45, linkX in gre(4) is a deprecated style and isn't documented in ifconfig(8) (couldn't find it ever was, but I'm not to used to cvs so I couldn't search properly). This removes linkX from the example in the manpage. Cheers. Index: share/man/man4/gre.4 ===

Re: mg backup directory (bump)

2017-07-06 Thread Lucas Gabriel Vuotto
Bump. Emacs gets HOME from environment here. I think that getting it from pw entry is more correct, but I can make a patch to behave like emacs if needed. On 19/05/17 14:11, Lucas Gabriel Vuotto wrote: > Previous patch shall be ignored, as it was an ugly hack. Below is a patch > t

Re: mg backup directory

2017-06-07 Thread Lucas Gabriel Vuotto
bump because I forgot to CC florian@ On 26/05/17 18:11, Lucas Gabriel Vuotto wrote: On 26/05/17 12:38, Florian Obser wrote: On Fri, May 19, 2017 at 02:11:22PM -0300, Lucas Gabriel Vuotto wrote: Previous patch shall be ignored, as it was an ugly hack. Below is a patch that is simpler and

Re: mg backup directory

2017-05-26 Thread Lucas Gabriel Vuotto
On 26/05/17 12:38, Florian Obser wrote: On Fri, May 19, 2017 at 02:11:22PM -0300, Lucas Gabriel Vuotto wrote: Previous patch shall be ignored, as it was an ugly hack. Below is a patch that is simpler and fixes expandtilde instead, so it fixes the problem in other situations (writing files to

Re: mg backup directory

2017-05-19 Thread Lucas Gabriel Vuotto
user); if (pw != NULL) { plen = strlcpy(path, pw->pw_dir, sizeof(path)); if (plen == 0 || path[plen - 1] != '/') { On 13/05/17 01:32, Lucas Gabriel Vuotto wrote: Sorry, space got mangled in previous email. Index: fileio.c ==

Re: ksh(1): don't output invalid UTF-8 characters

2017-05-19 Thread Lucas Gabriel Vuotto
Hi, On 19/05/17 03:42, Anton Lindqvist wrote: > Hi, > I did submit this problem[1] earlier but with an incomplete analysis and > fix. Here's a second attempt. > > This does only occur when running ksh with emacs mode under tmux. How to > re-produce: > > 1. Run ksh under tmux. > > 2. Input the f

Re: mg backup directory

2017-05-12 Thread Lucas Gabriel Vuotto
"%s/.mg.d" #define_PATH_MG_STARTUP "%s/.mg" #define_PATH_MG_TERM "%s/.mg-%s" On 13/05/17 01:25, Lucas Gabriel Vuotto wrote: > Hi tech@, > > mg(1)'s backup-to-home-directory writes backup files to `~/.mg.d' > according

mg backup directory

2017-05-12 Thread Lucas Gabriel Vuotto
Hi tech@, mg(1)'s backup-to-home-directory writes backup files to `~/.mg.d' according to the manpage. In order to expand the tilde, it uses a custom function (expandtilde, fileio.c:700) which uses the pw entry for the user name returned by getlogin(2). This can lead to an undesired result if mg i