Hi Bruno,

On 5/19/24 5:03 PM, Bruno Haible wrote:
> Perfect. Thanks a lot!

Sadly, it looks like this uncovered that the gnulib version is buggy
too.

Given this etc/shells:
============================

# valid login shells

/bin/sh  # abc
/bin/ash # 123 
/bin/bash          # def

============================

$ ./gltests/test-getusershell 
valid
login
shells
/bin/sh
abc
/bin/ash
123
/bin/bash
def
abc
/bin/sh
abc

I'll have a look at fixing that now.

Collin

Reply via email to