Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New API: write for creating files with fixed content (RHBZ#501889). | Richard Jones | 2010-05-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | The guestfs_write call can be used to create small files with arbitrary 8 bit content, including \0 bytes. This replaces and deprecates write-file, which cannot be modified to use BufferIn because of an unfortunate choice in the ABI: the size parameter to write-file, if zero, means that the daemon tries to calculate the length of the buffer using strlen. However this fails if we pass a zero-length buffer using BufferIn because then the daemon tries to do strlen on a (really) zero length buffer, not even containing a terminating \0 character, thus segfaulting. | ||||
* | change strncmp() == 0 to STREQLEN() | Jim Meyering | 2009-11-09 | 1 | -1/+1 |
| | | | | | git grep -l 'strncmp *([^=]*== *0'|xargs \ perl -pi -e 's/\bstrncmp( *\(.*?\)) *== *0\b/STREQLEN$1/g' | ||||
* | convert uses of strcasecmp to STRCASEEQ | Jim Meyering | 2009-11-09 | 1 | -2/+2 |
| | | | | | git grep -l 'strcasecmp *([^=]*== *0'| xargs \ perl -pi -e 's/\bstrcasecmp( *\(.*?\)) *== *0/STRCASEEQ$1/' | ||||
* | edit.c: avoid warning about signed/unsigned comparison | Jim Meyering | 2009-08-21 | 1 | -2/+3 |
| | | | | | * fish/edit.c (load_file): Change type of param from int to size_t. (do_edit): Adjust caller. | ||||
* | remove trailing blanks | Jim Meyering | 2009-07-03 | 1 | -1/+1 |
| | |||||
* | Implement "more" and "less" commands in guestfish. | Richard W.M. Jones | 2009-06-29 | 1 | -18/+0 |
| | | | | | | | | Use commands such as: more /etc/passwd less /etc/fstab These commands are specific to guestfish. | ||||
* | Gettextize the source, make library strings translatable. | Richard Jones | 2009-05-21 | 1 | -1/+1 |
| | |||||
* | 'guestfish edit' commands and several bugfixes. | Richard Jones | 2009-04-15 | 1 | -0/+185 |