Custom Query (1630 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (64 - 66 of 1630)

Ticket Resolution Summary Owner Reporter
#669 fixed please add ability to call fchdir to posix module. felix winkelmann Alan Post
Description

The fchdir call is like the chdir call, except it takes an open file descriptor rather than a filepath.

Using this call on Unix is more reliable for keeping a handle on where you are in the filesystem, relative to using a pathname: a file descriptor will point to the same resource even when the path (or a component of it) is renamed.

Will you apply this patch to chicken-core?

  • I'm not certain at all I've selected a good name for this routine. Will you perfect the name change-directory/fd?
  • I'm not sure how to implement it on w32, so I have not modified posixwin.scm.

If this patch is not acceptable, what must I do to get it applied?

#682 fixed sendfile egg has no trunk branch certainty Alan Post
Description

I ran the following command-line:

chicken-install -sudo -trunk -location "$CHICKEN_EGG_REPOSITORY" -transport local sendfile

which produced the following error message:

retrieving ...

sendfile located at /opt/chicken-master/src/eggs/sendfile

Warning: extension `sendfile' has no .meta file - assuming it has no dependencies install order: ()

looking at the repository, sendfile has no trunk branch, but only release branches. Either sendfile needs to have a trunk branch or the bug in chicken-install needs to be fixed to hand an egg formatted like sendfile. I expected it to either complain about a missing trunk or install version 1.7.3 (the latest version).

#721 fixed parley seems to drop newlines when piping input from stdin Christian Kellermann Alan Post
Description

The following program:

(let ((file (read-string)))
  (write file))

is a simple test of read-string. The following does not produce the result I expect:

$ csi test.scm < test.scm
"(let ((file (read-string)))  (write file))\n"

It appears if the newline in the middle of the file is not being preserved? Further, if I remove the "\n" from the test.scm file (please find it attached, I used a program called bvi to remove it, most editors will not let you save a file with a missing final newline), I get:

$ dd if=test.scm bs=1 count=42|csi test.scm
"(let ((file (read-string)))\n"

It seems the final line is being dropped! What is going on here? I expect read-string, when not given a size, to return my input file byte-for-byte?

Note: See TracQuery for help on using queries.