Re: mg: auto-indent-mode gets indentation wrong [PATCH]

2024-07-08 Thread Omar Polo
&& linsert(n, '\t') == FALSE) + if ((n = cols / curbp->b_tabw) != 0 && linsert(n, '\t') == FALSE) return (FALSE); - if ((n = cols % 8) != 0 && linsert(n, ' ') == FALSE) + if ((n = cols % curbp->b_tabw) != 0 && linsert(n, ' ') == FALSE) return (FALSE); return (TRUE); } Thanks, Omar Polo

Re: ls -l Segmentation fault

2024-03-26 Thread Omar Polo
[moving to bugs@] On 2024/03/26 17:15:28 +, Peter Fraser wrote: > For some reason I don't know my partition /var/www got screwed up and there > was a long list in /var/www/lost+found. > > Since I populate /var/www by using rsync from another computer, and I expect > didn't notice the

Re: touchpad sometimes stops working

2024-03-14 Thread Omar Polo via bugs
joshua stein wrote: > On Fri, 01 Mar 2024 at 09:52:51 +0100, o...@omarpolo.com wrote: > > >Description: > > Sometimes the touchpad stops working. It doesn't respond to > > finger movements nor to clicks with the buttons. > > So far it happened only while I was moving the mouse, i.e.

Re: touchpad sometimes stops working

2024-03-01 Thread Omar Polo
1765094 712 Total 5490384 2216 Thanks, Omar Polo

Re: xenodm doesn't login after enabling UTF-8 by setting LC_CTYPE

2023-11-25 Thread Omar Polo
On 2023/11/25 22:02:38 +0700, hahahahacker2...@airmail.cc wrote: > > Description: > Adding the line export LC_CTYPE="en_US.UTF-8" then login, it just check > the > password, then fall back to the xenodm login screen. > Can't find any log for the error, tried /var/log and logs at ~ but no >

Re: [PATCH] mg: batch mode leaves terminal in insane mode

2023-10-24 Thread Omar Polo
On 2023/10/23 21:09:00 +0100, Mark Willson wrote: > Hi Folks, > > When mg(1) is run in batch mode (-b), at exit the terminal is left in a > non-sane state. Entering ^Jstty sane^J at the shell prompt corrects the > display. This behaviour was observed on OpenBSD 7.4. It there since the

Re: Syslog does not attempt DNS resolution if it previously failed during startup - proposed patch In

2023-06-28 Thread Omar Polo
zeof(msghdr)); > msghdr.msg_name = >f_un.f_forw.f_addr; > msghdr.msg_namelen = f->f_un.f_forw.f_addr.ss_len; > @@ -2704,25 +2796,12 @@ cfline(char *line, char *progblock, char > f->f_un.f_forw.f_loghost); > break; > } > - if (priv_getaddrinfo(ipproto, host, port, > -(struct sockaddr*)>f_un.f_forw.f_addr, > -sizeof(f->f_un.f_forw.f_addr)) != 0) { > - log_warnx("bad hostname \"%s\"", > -f->f_un.f_forw.f_loghost); > - break; > - } > f->f_file = -1; > if (strncmp(proto, "udp", 3) == 0) { > - switch (f->f_un.f_forw.f_addr.ss_family) { > - case AF_INET: > - f->f_file = fd_udp; > - break; > - case AF_INET6: > - f->f_file = fd_udp6; > - break; > - } > + f->f_un.f_forw.f_resolved = 0; > f->f_type = F_FORWUDP; > } else if (strncmp(ipproto, "tcp", 3) == 0) { > + f->f_un.f_forw.f_resolved = 0; > if ((f->f_un.f_forw.f_bufev = bufferevent_new(-1, > tcp_dropcb, tcp_writecb, tcp_errorcb, f)) == NULL) { > log_warn("bufferevent \"%s\"", Thanks, Omar Polo

Re: ftp(1) will never attempt to set the modification date of any file retrieved by http[s]

2023-06-28 Thread Omar Polo
On 2023/06/25 18:22:31 -0700, a dog wrote: > >Synopsis:ftp(1) will never attempt to set the modification date of any > >file retrieved by http[s] > >Category:user > >Environment: > System : OpenBSD 7.3 > Details : OpenBSD 7.3-current (GENERIC.MP) #1259: Fri Jun 23 >

Re: grive2 doesn't work

2023-06-12 Thread Omar Polo
ackage to download files. There was a submission in ports for megacmd which didn't got any replies, but you might want to give it a shot: https://marc.info/?l=openbsd-ports=168414335307603=2 Cheers, Omar Polo

Re: segmentation fault in opensmtpd mda

2023-03-18 Thread Omar Polo
On 2023/03/18 15:58:14 -0600, Todd C. Miller wrote: > On Sat, 18 Mar 2023 21:17:36 +0100, Omar Polo wrote: > > > If cscope is not missing anything, mda_expand_token is only called by > > mda_expand_format which is only called by mda_unpriv. > > > > Now, m

Re: segmentation fault in opensmtpd mda

2023-03-18 Thread Omar Polo
On 2023/03/18 13:10:49 -0600, "Todd C. Miller" wrote: > Thanks, I was unable to get a backtrace so this really helped. I > think the safest thing to do is to just return an error if the > expanded string is NULL. I'm not sure if there are other expansions > that can also be NULL here. > >

Re: segmentation fault in opensmtpd mda

2023-03-18 Thread Omar Polo
On 2023/03/18 15:06:43 +0100, p...@delphinusdns.org wrote: > >Synopsis:segmentation fault in opensmtpd mda > >Category:system > >Environment: > System : OpenBSD 7.2 > Details : OpenBSD 7.2 (GENERIC.MP) #2: Thu Nov 24 23:53:03 MST 2022 > >

Re: Kernel lock vmmaplk using net/toxic

2022-12-17 Thread Omar Polo
On 2022/12/12 16:15:22 -0800, Jacqueline Jolicoeur wrote: > >Synopsis:Kernel lock vmmaplk using net/toxic > >Category:Kernel > >Environment: > System : OpenBSD 7.2 > Details : OpenBSD 7.2-current (GENERIC.MP) #874: Fri Dec 9 > 10:09:48 MST 2022 >

Re: doas bug

2022-08-13 Thread Omar Polo
cmd venera$ doas whoami root venera$ doas head -1 /etc/doas.conf permit keepenv nopass "cmd" same thing for all the other keywords. Cheers, Omar Polo

Re: httpd+slowcgi sometimes wrongly interpret next request

2022-08-10 Thread Omar Polo
Claudio Jeker wrote: > On Tue, Jul 05, 2022 at 10:08:53AM +, alex.vatche...@gmail.com wrote: > > >Synopsis: httpd+slowcgi sometimes wrongly interpret next request > > >Category: daemon > > >Environment: > > System : OpenBSD 7.1 > > Details : OpenBSD 7.1 (GENERIC.MP) #3: Sun

Re: patch to ksh to show current rdomain

2022-07-26 Thread Omar Polo
mgra...@brainfat.net wrote: > Having the information in an env variable would make it useful in > scripts. The only thing I'm not sure of is can the $RDOMAIN variable be > used to show the current rdomain in the prompt? (which is my use case) > If it's not possible to use an env variable in the