search for: end_pos

Displaying 8 results from an estimated 8 matches for "end_pos".

2007 Nov 09
1
Patch for progressmeter.c
...../openssh-4.7p1.logging_features/progressmeter.c 2006-08-04 22:39:40.000000000 -0400 +++ progressmeter.c 2007-10-22 13:19:11.000000000 -0400 @@ -68,7 +68,9 @@ static time_t last_update; /* last progr static char *file; /* name of the file being transferred */ static off_t end_pos; /* ending position of transfer */ static off_t cur_pos; /* transfer position as of last refresh */ -static volatile off_t *counter; /* progress counter */ +static off_t last_pos; +static off_t max_delta_pos = 0; +static volatile off_t *counter; /* progress counter */ s...
2009 Feb 02
5
[PATCH] btrfs: call mark_inode_dirty when i_size is updated
...ff -Nrup linux-2.6.29-rc3.org/fs/btrfs/file.c linux-2.6.29-rc3/fs/btrfs/file.c --- linux-2.6.29-rc3.org/fs/btrfs/file.c 2009-02-02 16:53:18.000000000 +0900 +++ linux-2.6.29-rc3/fs/btrfs/file.c 2009-02-02 18:21:00.000000000 +0900 @@ -152,7 +152,7 @@ static noinline int dirty_and_release_pa } if (end_pos > isize) { i_size_write(inode, end_pos); - btrfs_update_inode(trans, root, inode); + mark_inode_dirty(inode); } err = btrfs_end_transaction(trans, root); out_unlock: -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordo...
2005 Aug 22
0
Segfault in imap
...ioloop.c:230 #8 0x08060877 in main (argc=1, argv=0xbffffa44, envp=0xbffffa4c) at main.c:229 (gdb) p *data $1 = {flags = 0, date = 0, received_date = 1124608407, virtual_size = 2870, physical_size = 2856, sent_date = {time = -1, timezone = 0}, parse_line = { field_idx = 0, start_pos = 0, end_pos = 0, line_num = 0, cache = 0}, parse_line_num = 0, parts = 0x0, envelope = 0x0, body = 0x0, bodystructure = 0x0, uid_string = 0x0, envelope_data = 0x0, seq = 11473, rec = 0xb7de7088, cache_flags = 0, access_part = 3, stream = 0x80cc224, filter_stream = 0x0, hdr_size = {physical_size = 2...
2009 Oct 25
0
alternate output for progressmeter
...setscreensize(); + ? ? ? ? ? ? ? signal(SIGWINCH, sig_winch); + ? ? ? } ? ? ? ?if (can_output()) ? ? ? ? ? ? ? ?refresh_progress_meter(); ? ? ? ?signal(SIGALRM, update_progress_meter); - ? ? ? signal(SIGWINCH, sig_winch); ? ? ? ?alarm(UPDATE_INTERVAL); ?} @@ -278,7 +289,8 @@ ? ? ? ?if (cur_pos != end_pos) ? ? ? ? ? ? ? ?refresh_progress_meter(); - ? ? ? atomicio(vwrite, STDOUT_FILENO, "\n", 1); + ? ? ? if (progresstype==0) + ? ? ? ? ? ? ? atomicio(vwrite, STDOUT_FILENO, "\n", 1); ?} ?/*ARGSUSED*/
2006 Jan 31
1
beta2: strange assert
...ol = 0xbb940, module_contexts = {buffer = 0xbbad8, element_size = 4}}, data = { flags = MAIL_SEEN, date = 0, received_date = 1138391916, virtual_size = 35917, physical_size = 35337, sent_date = {time = -1, timezone = 0}, parse_line = {field_idx = 4294967295, start_pos = 168, end_pos = 201, line_num = 32, cache = 1}, parse_line_num = 41, parts = 0x0, envelope = 0xc0f10 "\"Fri, 27 Jan 2006 14:58:13 -0500 (EST)\" \"Your Order Confirmation\" ((NIL NIL \"customerservice\" \"studentuniverse.com\")) ((NIL NIL \"customerservice...
2005 Jun 04
0
Crash and Assertion Error
...:218 #8 0x08060587 in main (argc=1, argv=0xbffffa44, envp=0xbffffa4c) at main.c:228 (gdb) p *data $2 = {flags = 0, date = 0, received_date = 1117844856, virtual_size = 2735, physical_size = 2721, sent_date = {time = -1, timezone = 0}, parse_line = { field_idx = 4294967295, start_pos = 67, end_pos = 118, line_num = 29, cache = 1}, parse_line_num = 53, parts = 0x80cb018, envelope = 0x0, body = 0x0, bodystructure = 0x0, uid_string = 0x0, envelope_data = 0x0, seq = 9276, rec = 0xb7dd3854, cache_flags = 0, stream = 0x80f53c4, filter_stream = 0x0, hdr_size = {physical_size = 2347, v...
2016 Jan 19
6
FWD: [patch] scp + UTF-8
...+ } + for (; buf_width < file_width && + buf_size < (int) sizeof(buf) - 35; buf_width++) + buf[buf_size++] = ' '; + buf[buf_size] = '\0'; } /* percent of transfer done */ @@ -174,18 +195,18 @@ refresh_progress_meter(void) percent = ((float)cur_pos / end_pos) * 100; else percent = 100; - snprintf(buf + strlen(buf), win_size - strlen(buf), + snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " %3d%% ", percent); /* amount transferred */ - format_size(buf + strlen(buf), win_size - strlen(buf), + format_size(buf + strlen(buf),...
2008 Jan 11
0
Wine release 0.9.53
...shdocvw: Use BindToObject to load document (except for http, https and ftp protocols). shdocvw: Call try_application_url after BindToObject failure. mshtml: Added Invoke(DISPID_READYSTATE) implementation. mshtml: Fixed Read implementations. mshtml: Don't assume that end_pos.node is text node in range_to_string. shdocvw: Fixed ref count leak. shdocvw: Set IE's IVer and Build registries. mshtml: Don't crash in before_async_open if there is no client site. mshtml: Handle fClearDirty flag in IPersistStreamInit::Save. mshtml: Move nsCh...