![]() ![]() ![]() VM Region Info: 0x18 is not in any region. I wonder if anyone can help me glean more information from a crash report. I'm getting occasional crashes, which have not happened while running under a debugger and I haven't figured out how to reproduce. The result, running under Sonoma 14.2 (beta) is Std::cout << "read of symlink result: " << buffer << "\n" Std::cerr << "read failed with error " << err << "\n" Ssize_t bytesRead = read( fd, buffer, sizeof(buffer) ) Std::cerr << "open failed with error " << err << "\n" Int fd = open( "/tmp/ReadSymLink-test", O_RDONLY | O_SYMLINK ) Std::cerr << "symlink failed with error " << err << "\n" Std::cout << "created file /tmp/ReadSymLink-test\n" Int result = symlink( "./usr", "/tmp/ReadSymLink-test") Make sure there is not already a file where we will create the link ![]() Why is it that I can open a symbolic link, but can't read it? I am aware that I can get the contents of a symlink file using the readlink function, but still, it seems like this ought to work. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |