summaryrefslogtreecommitdiffstats
path: root/fish/copy.c
Commit message (Collapse)AuthorAgeFilesLines
* syntax: Remove PATH_MAX-sized buffers allocated on the stack.Richard W.M. Jones2012-09-151-8/+17
| | | | | | | | | | | | | | On Linux PATH_MAX is 4096, but on some platforms it can be much larger or even not defined (ie. unlimited). Therefore using a PATH_MAX-sized stack buffer is not a great idea for portable programs. This change removes use of PATH_MAX-sized stack-allocated buffers. This change only applies to the library and standalone programs. Inside the daemon, memory allocation is much more complicated so I have not changed those (yet). Found by 'make syntax-check'.
* fish: Fix 'copy-out /' (RHBZ#845522).Richard W.M. Jones2012-08-031-0/+16
|
* Remove "convenience header" "gettext.h" and use <libintl.h> instead.Richard W.M. Jones2012-05-011-0/+1
| | | | | | | | | | | | gettextize provides a local file called "gettext.h". Remove this and use <libintl.h> from glibc headers instead. Most of this change is mechanical: #include <libintl.h> in every C file which uses any gettext function. But also we remove the gettext.h file, and adjust the "_" macros. Note that this effectively removes the ./configure --disable-nls option, although we don't know if that ever worked.
* Tempus fugit.Richard W.M. Jones2012-01-181-1/+1
| | | | Update all copyright dates to 2012.
* copy-in/copy-out: Wait for the tar subprocess only (RHBZ#760669).Richard W.M. Jones2011-12-071-26/+35
|
* Update FSF address.Matthew Booth2011-11-081-1/+1
|
* fish: copy-in, copy-out, edit, more commands can use win:... prefix.Richard W.M. Jones2011-04-051-18/+64
|
* fish: Fix typo in error message (copy-in should be copy-out).Richard W.M. Jones2011-01-221-1/+1
|
* Don't need to include XDR headers in <guestfs.h>.Richard W.M. Jones2010-11-111-0/+1
| | | | | | | Include the XDR headers in the internal guestfs-internal.h instead. This is knock-on effects to several other source files which were implicitly relying on indirectly loaded headers.
* fish: Change 'int argc' to 'size_t argc' throughout.Richard W.M. Jones2010-10-211-2/+2
|
* generator: Generate guestfish-only commands.Richard W.M. Jones2010-09-181-2/+2
| | | | | | The guestfish-only commands such as 'alloc' and 'edit' are now generated from one place in the generator instead of being spread around ad-hoc in the C code.
* syntax: Remove unused assert.h header.Richard Jones2010-09-101-1/+0
|
* fish: const-correctness fixes in copy.cRichard Jones2010-09-101-6/+6
|
* fish: Fix 'copy-out' command when local directory is "/foo".Richard Jones2010-09-101-1/+4
|
* fish: Implement copy-in and copy-out commands.Richard Jones2010-09-091-0/+307