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")
5596    testfile
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/*")
5588    dst/1
2808    dst/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-6    GNU C Library: Shared libraries an

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

-- no debconf information


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

Reply via email to