Hi,
When a file is open(2)ed with O_APPEND flag, write(2) seeks to the end
of file before writing. We are missing this in the man page.
If this is a valid point to note, I will send a patch to the man page.
-sac
Ted,
On Saturday 23 February 2013 12:22 PM, Ted Unangst wrote:
On Sat, Feb 23, 2013 at 12:07, Sachidananda wrote:
Hi,
When a file is open(2)ed with O_APPEND flag, write(2) seeks to the end
of file before writing. We are missing this in the man page.
If this is a valid point to note, I
Ted,
On Sunday 24 February 2013 10:10 AM, Ted Unangst wrote:
On Sun, Feb 24, 2013 at 09:12, Sachidananda wrote:
Also, for the record, it's open that seeks to the end. You can open a
file with O_APPEND and seek back to the beginning, and write will not
seek to the end again.
My observation
People any thought on this, whether if this is valid issue enough to
consider at all?
On Wednesday 06 March 2013 07:03 PM, sachidananda urs wrote:
Hi,
When ls -l is run on a directory which has no execute permissions, ls
fails but the return value is 0.
bash-4.2$ ls -ld /tmp/foo/
drw-r-xr-x
On 02/24/2013 05:34 PM, Sachidananda wrote:
Ted,
On Sunday 24 February 2013 10:10 AM, Ted Unangst wrote:
On Sun, Feb 24, 2013 at 09:12, Sachidananda wrote:
Also, for the record, it's open that seeks to the end. You can open a
file with O_APPEND and seek back to the beginning, and write
Hi,
When ls -l is run on a directory which has no execute permissions, ls
fails but the return value is 0.
bash-4.2$ ls -ld /tmp/foo/
drw-r-xr-x 3 sac wheel 512 Mar 6 18:11 /tmp/foo/
bash-4.2$ ls -l /tmp/foo/
bash-4.2$ echo $?
0
bash-4.2$
I see in the traverse function: