Home
last modified time | relevance | path

Searched refs:st_old (Results 1 – 14 of 14) sorted by relevance

/dports/editors/vim/vim-8.2.3745/src/
H A Dbufwrite.c666 stat_T st_old; in buf_write() local
1040 st_old.st_dev = 0; in buf_write()
1041 st_old.st_ino = 0; in buf_write()
1047 perm = st_old.st_mode; in buf_write()
1050 if (S_ISDIR(st_old.st_mode)) in buf_write()
1187 if (st_old.st_nlink > 1 in buf_write()
1226 vim_ignored = fchown(fd, st_old.st_uid, st_old.st_gid); in buf_write()
1274 && st_old.st_nlink > 1 in buf_write()
1496 set_file_time(backup, st_old.st_atime, st_old.st_mtime); in buf_write()
1902 && st.st_ino != st_old.st_ino) in buf_write()
[all …]
H A Dviminfo.c3111 if (mch_fstat(fileno(fp_in), &st_old) < 0 in write_viminfo()
3112 || S_ISDIR(st_old.st_mode) in write_viminfo()
3118 && !(st_old.st_uid == getuid() in write_viminfo()
3119 ? (st_old.st_mode & 0200) in write_viminfo()
3120 : (st_old.st_gid == getgid() in write_viminfo()
3121 ? (st_old.st_mode & 0020) in write_viminfo()
3122 : (st_old.st_mode & 0002)))) in write_viminfo()
3185 && st_new.st_ino == st_old.st_ino) in write_viminfo()
3214 (int)((st_old.st_mode & 0777) | 0600)); in write_viminfo()
3265 if (st_old.st_uid != tmp_st.st_uid) in write_viminfo()
[all …]
H A Dundo.c1574 stat_T st_old; in u_write_undo() local
1608 if (mch_stat((char *)buf->b_ffname, &st_old) >= 0) in u_write_undo()
1610 perm = st_old.st_mode; in u_write_undo()
1709 && st_new.st_gid != st_old.st_gid in u_write_undo()
1711 && fchown(fd, (uid_t)-1, st_old.st_gid) != 0 in u_write_undo()
/dports/devel/libqb/libqb-2.0.3/tests/
H A Dcheck_array.c114 struct test_my_st *st_old; in START_TEST() local
119 res = qb_array_index(a, 99, (void**)&st_old); in START_TEST()
132 ck_assert(st == st_old); in START_TEST()
/dports/mail/neomutt/neomutt-20211029/mutt/
H A Dfile.c80 static bool compare_stat(struct stat *st_old, struct stat *st_new) in compare_stat() argument
82 return (st_old->st_dev == st_new->st_dev) && (st_old->st_ino == st_new->st_ino) && in compare_stat()
83 (st_old->st_rdev == st_new->st_rdev); in compare_stat()
301 struct stat st_old = { 0 }; in mutt_file_symlink() local
336 if ((stat(oldpath, &st_old) == -1) || (stat(newpath, &st_new) == -1) || in mutt_file_symlink()
337 !compare_stat(&st_old, &st_new)) in mutt_file_symlink()
566 struct stat st_old = { 0 }; in mutt_file_open() local
568 if (((lstat(path, &st_old) < 0) || (fstat(fd, &st_new) < 0)) || in mutt_file_open()
569 !compare_stat(&st_old, &st_new)) in mutt_file_open()
/dports/security/samhain-server/samhain-4.4.3/scripts/
H A Dsamhainadmin-sig.pl.in455 my $st_old = stat($file1)
460 unless ($st_new->size > $st_old->size);
H A Dsamhainadmin-gpg.pl.in544 my $st_old = stat($file1)
549 unless ($st_new->size > $st_old->size);
/dports/security/samhain-client/samhain-4.4.3/scripts/
H A Dsamhainadmin-sig.pl.in455 my $st_old = stat($file1)
460 unless ($st_new->size > $st_old->size);
H A Dsamhainadmin-gpg.pl.in544 my $st_old = stat($file1)
549 unless ($st_new->size > $st_old->size);
/dports/security/samhain/samhain-4.4.3/scripts/
H A Dsamhainadmin-sig.pl.in455 my $st_old = stat($file1)
460 unless ($st_new->size > $st_old->size);
H A Dsamhainadmin-gpg.pl.in544 my $st_old = stat($file1)
549 unless ($st_new->size > $st_old->size);
/dports/www/links/links-2.25/
H A Dsession.c313 if (ses->st_old) { in print_only_screen_status()
314 if (ses->st && !strcmp(cast_const_char ses->st, cast_const_char ses->st_old)) return; in print_only_screen_status()
315 mem_free(ses->st_old); in print_only_screen_status()
316 ses->st_old = NULL; in print_only_screen_status()
318 …if (!memcmp(&ses->term->dev->clip, &ses->term->dev->size, sizeof(struct rect))) ses->st_old = stra… in print_only_screen_status()
2957 if (ses->st_old) mem_free(ses->st_old), ses->st_old = NULL; in destroy_session()
2994 if (ses->st_old) mem_free(ses->st_old), ses->st_old = NULL; in win_func()
3001 if (ses->st_old) mem_free(ses->st_old), ses->st_old = NULL; in win_func()
H A Dlinks.h3560 unsigned char *st_old; /* old status line --- compared with st to prevent cursor flicker */ member
/dports/databases/dbh/libdbh2-5.0.22/src/
H A Ddbh_static.i1689 struct stat st_old; in sdbh_regen() local
1693 if (stat (archivo, &st_old) < 0){ in sdbh_regen()
1783 if(st_old.st_dev == st_new.st_dev) { in sdbh_regen()