Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root /home/djszapi/Munka/ArchLinux-devel/Projects/tmp/pacman-g2 # git diff
- diff --git a/lib/libpacman/sync.c b/lib/libpacman/sync.c
- index 35a4b01..b9a790e 100644
- --- a/lib/libpacman/sync.c
- +++ b/lib/libpacman/sync.c
- @@ -819,6 +819,14 @@ int _pacman_sync_commit(pmtrans_t *trans, pmdb_t *db_local, pmlist_t **data)
- (char *)_pacman_pkg_getinfo(spkg, PM_PKG_NAME),
- (char *)_pacman_pkg_getinfo(spkg, PM_PKG_VERSION),
- (char *)_pacman_pkg_getinfo(spkg, PM_PKG_ARCH));
- +
- + char lcpath[PATH_MAX];
- + struct stat lcbuf;
- + snprintf(lcpath, sizeof(lcpath), "%s/%s", ldir, path);
- + printf("Helloworld!\n");
- + if (stat(lcpath, &lcbuf) == 0) {
- + continue;
- + }
- EVENT(trans, PM_TRANS_EVT_PRINTURI, pacman_db_getinfo(current, PM_DB_FIRSTSERVER), path);
- } else {
- struct stat buf;
Add Comment
Please, Sign In to add comment