Aucbvax.2613 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Mon Aug 10 20:33:37 1981 nulls in directories >From decvax!duke!phs!dennis@Berkeley Mon Aug 10 20:23:26 1981 Here's a general query: We have a memory problem which sometimes causes nasty things like nulls to appear in directory entries. Since namei() compares the full 14 characters of filename, but the gathering of a filename passed to a system call stops at the first null (reasonably enough), these filenames can never be opened, statted, or accessed. The question is this: is there any reason not to include a check in namei which stops comparison at the first null? I don't think so; maybe someone out there can point out any folly in this. ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.