Re: [PATCH] sequencer: rectify empty hint in call of require_clean_work_tree()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 02, 2023 at 12:57:03PM -0600, Felipe Contreras wrote:
Oswald Buddenhagen wrote:
if i wanted to be super-pedantic about it, i'd assert that non-null strings are non-empty.

I would disagree. "" is empty but not null, not just in C but in many
other languages, including shell.

yes. that's kinda the point the assert would make.

-- ossi




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux