index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-27 | Use ARRAYSIZE macro for non-string array size computation | Pierre Neidhardt | |
Signed-off-by: Pierre Neidhardt <ambrevar@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2015-09-20 | move strtrim to util-common | Andrew Gregory | |
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2015-02-01 | Update copyright notices for 2015 | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2014-09-23 | wrap fgets to retry on EINTR | Andrew Gregory | |
The read() underlying fgets() can be interrupted by a signal handler causing fgets() to return NULL. Before we started handling SIGWINCH, the odds of interrupting a read were low and typically resulted in termination anyway. Replace all fgets calls with a wrapper that retries in EINTR. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> | |||
2014-08-03 | llstat: modify path in place | Andrew Gregory | |
This makes llstat's signature differ from lstat's, but we never actually use it on a const string and this saves a large number of strdup's. This also allows stripping multiple trailing slashes and corrects a bug where calling llstat on "/" would result in calling lstat on an empty string. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> | |||
2014-08-03 | move _alpm_lstat into util-common | Andrew Gregory | |
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> | |||
2014-01-28 | Remove ts and sw from vim modeline when noet is set | Florian Pritz | |
Forcing vim users to view files with a tabstop of 2 seems really unnecessary when noet is set. I find it much easier to read code with ts=4 and I dislike having to override the modeline by hand. Command run: find . -type f -exec sed -i '/vim.* noet/s# ts=2 sw=2##' {} + Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2014-01-06 | Update copyright years for 2014 | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2013-01-04 | Split common utility functions for libalpm and pacman | Allan McRae | |
There is duplicated code in the util.c files in the libalpm and pacman source code. Split this into a separate file so that it can be shared via a symlink. This prevents code divergence between the two code bases. Also, move mbasename and mdirname from pacman/util.c into util-common.c in preparation for the following patch that uses them to add an extension to pacsave files. Signed-off-by: Allan McRae <allan@archlinux.org> |