Brian Utterback wrote:
> I don't know if this is the right list, so bear with me.
> 
> There is a bug in the test or a readable /dev/zero. It assumes that
> /dev/zero is a device, but at least on Solaris it is a link:
> 
> ls -l /dev/zero
> lrwxrwxrwx   1 root other  27 Nov 26  2001 /dev/zero -> 
> ../devices/pseudo/[EMAIL PROTECTED]:zero
> 
> A better way would be to use "ls -lL":
> 
> ls -lL /dev/zero
> crw-rw-rw-   1 root     sys       13, 12 Jan  2 12:59 /dev/zero
> 
> The capital "L" flag has no effect if the file is not a link.

That is a much better way.  Thank you, Brian.  The text_mmap stuff
needs some tweaking anyway.  Cheers - Bruce

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to