Bug#333293: gauche: copy-file to full dst does not signal an error

2010-01-19 Thread Jens Thiele
can't reproduce this bug with current lenny version:
gosh (gauche-version)
0.8.13
gosh (copy-file /mnt/tmp0/foo/bar1 /mnt/tmp0/foo/bar2)
*** SYSTEM-ERROR: write failed on #oport /mnt/tmp0/foo/bar2 0xc16c00: No 
space left on device
Stack Trace:
___
  0  (write-block buf dst 0 data)
At line 147 of /usr/share/gauche/0.8.13/lib/gauche/portutil.scm



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#333293: gauche: copy-file to full dst does not signal an error

2005-10-11 Thread Harri Haataja
Package: gauche
Version: 0.8.4-1
Severity: normal


I was playing with some code (gdumpfs) that copies/links a lot of files.
Particularly I wanted to make a saner output that doesn't log all
successes when run from cron, but only errors. It seems to me, that the
function copy-file doesn't actually signal anything when the destination
filesystem is full.

gosh (use file.util)
#undef
gosh (sys-system du testfile)
5596testfile
0
gosh (sys-system cp testfile dst/1)
0
gosh (sys-system cp testfile dst/2)
cp: closing `dst/2': No space left on device
256
gosh (sys-system rm dst/*)
0
gosh (copy-file testfile dst/1)
#t
gosh (copy-file testfile dst/2)
#t
gosh (copy-file testfile dst/3)
#t
gosh (sys-system du dst/*)
5588dst/1
2808dst/2
0   dst/3
0
gosh


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_GB, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages gauche depends on:
ii  libc6 2.3.5-6GNU C Library: Shared libraries an

Versions of packages gauche recommends:
ii  slib  3a1-4.2Portable Scheme library

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]