How do I deal with (null) filenames?

Doug Gwyn gwyn at smoke.BRL.MIL
Sun Jul 30 21:32:47 AEST 1989


In article <2131 at jhunix.HCF.JHU.EDU> bio_zwbb at jhunix.HCF.JHU.EDU (Dr. William B. Busa) writes:
>These truly are nulls

They can't be.  Try invoking "od -c ." to see what's really in the
directory.  My bet is that you'll see the characters (, n, u, l, l, ),
etc., probably produced by a sprintf() that produces that for a %s
format spec with a corresponding null pointer argument.



More information about the Comp.unix.questions mailing list