search for: get_flags

Displaying 20 results from an estimated 38 matches for "get_flags".

2006 Apr 24
2
Checkboxes - Saving a Checked record to another table
I am displaying a bunch of records from a table called "assets". Next to each record i have a checkbox. When this box is checked i want to be able to save the id of the record into another table called "flagged_assets". All I need is the ID, nothing else. Im struggling with the logic to save to another table. I know how to do it if the asset_id is already in the
2006 Aug 21
3
sieve-cvs build failing @ 'make'
...-std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations - -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast - -I/usr/local/ssl/include -MT sieve-cmu.lo -MD -MP -MF .deps/sieve-cmu.Tpo -c sieve-cmu.c -fno-common -DPIC -o .libs/sieve-cmu.o sieve-cmu.c: In function 'get_flags': sieve-cmu.c:181: error: 'array_t' undeclared (first use in this function) sieve-cmu.c:181: error: (Each undeclared identifier is reported only once sieve-cmu.c:181: error: for each function it appears in.) sieve-cmu.c:181: error: parse error before 'union' sieve-cmu.c:181: war...
2007 Dec 31
1
Segmentation fault in dovecot-sieve-1.1.2 + dovecot-1.1.beta13
...--- when a message with a subject containing "test" is delivered via dovecot lda. The fault backtrace is: (gdb) run Starting program: /usr/local/libexec/dovecot/deliver -d load1 at virt1.cti2.com < bad.txt Program received signal SIGSEGV, Segmentation fault. get_flags (sieve_flags=0xbfe7e438, flags_r=0xbfe7dee4, keywords_r=0x2) at /root/dovecot-1.1.beta13/src/lib/array.h:145 145 *count_r = array->buffer->used / array->element_size; (gdb) bt #0 get_flags (sieve_flags=0xbfe7e438, flags_r=0xbfe7dee4, keywords_r=0x2) at /root/...
2019 May 28
0
[libnbd PATCH 4/4] api: Add DF flag support for pread
When structured replies are negotiated, the server may advertise support for the DF flag (the server promises to return at most one data/hole chunk, or to fail with EOVERFLOW if the chunk would be too large). As both nbdkit and qemu-nbd support this flag (the former only trivially, but the latter by not compressing holes over the wire), it is worth exposing to clients. While most clients will
2006 Jul 11
0
[rfc] standalone kinit/resume
git mv resume.c resumelib.c and the addition of a minimal resume.c, which calls resume() from resumelib produces a small standalone resume. happy to hear feedback on the needed kinit/Kbuild changes. resulting resume bin is small: ls -l /usr/lib/klibc/bin/resume -rwxr-xr-x 1 root root 2904 2006-07-11 02:11 /usr/lib/klibc/bin/resume it reduces busybox dependency of Debian initramfs-tools: if [ -e
2019 Aug 06
0
[PATCH libnbd 1/3] api: Change nbd_read_only -> nbd_is_read_only.
This makes it consistent with other nbd_is_* and nbd_can_* APIs. Suggested by Thomas Haller. --- docs/libnbd.pod | 2 +- examples/batched-read-write.c | 2 +- examples/simple-reads-and-writes.c | 2 +- examples/threaded-reads-and-writes.c | 2 +- generator/generator | 2 +- lib/flags.c | 2 +- lib/rw.c
2019 Aug 23
1
[libnbd PATCH 1/1] api: Add support for FAST_ZERO flag
Qemu was able to demonstrate that knowing whether a zero operation is fast is useful when copying from one image to another: there is a choice between bulk pre-zeroing and then revisiting the data sections (fewer transactions, but depends on the zeroing to be fast), vs. visiting every portion of the disk only once (more transactions, but no time lost to duplicated I/O due to slow zeroes). As
2019 Jun 21
0
[libnbd PATCH v2 5/5] states: Add DF flag support for pread
When structured replies are negotiated, the server may advertise support for the DF flag (the server promises to return at most one data/hole chunk, or to fail with NBD_EOVERFLOW if the chunk would be too large). As both nbdkit and qemu-nbd support this flag (the former only trivially, but the latter by not compressing holes over the wire), it is worth exposing to clients, if only for testing
2015 Jan 21
0
[ANNOUNCE] libdrm 2.4.59
...ed/object prop types configure/freedreno: make KGSL support optional configure/freedreno: enable freedreno by default Thierry Reding (6): libdrm: Add NVIDIA Tegra support tegra: Add simple test for drm_tegra_open() tegra: Add GET/SET_TILING IOCTLs tegra: Add SET/GET_FLAGS IOCTLs tegra: Implement drm_tegra_bo_{get,set}_flags() tegra: Implement drm_tegra_bo_{get,set}_tiling() Thomas Meyer (1): intel: Fix SIGSEGV in libdrm for heigth = 0 and width = 0 Ville Syrjälä (1): modetest: Print newline for empty blobs Zhenyu Wang (1): intel: Fix...
2006 Jan 31
1
beta2: strange assert
...no_newline = 0, use_full_value = 0} (gdb) print *mail $3 = {mail = {mail = {box = 0xb6ff8, transaction = 0xbb1b8, seq = 4, uid = 1233, expunged = 0, has_nuls = 1, has_no_nuls = 0}, v = { free = 0x490e0 <index_mail_free>, set_seq = 0x48d20 <index_mail_set_seq>, get_flags = 0x47b3c <index_mail_get_flags>, get_keywords = 0x47b88 <index_mail_get_keywords>, get_parts = 0x47d0c <index_mail_get_parts>, get_received_date = 0x37224 <mbox_mail_get_received_date>, get_date = 0x47db8 <index_mail_get_date>, get_virtua...
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...;, </span><span class="cx"> type == EVT_COMMAND_FIND_NEXT ? "next " : "", </span><span class="cx"> event.get_find_string(), </span><del>- DecodeFindDialogEventFlags(event.get_flags())) </del><ins>+ decode_find_dialog_event_flags(event.get_flags())) </ins><span class="cx"> elsif type == EVT_COMMAND_FIND_REPLACE || type == EVT_COMMAND_FIND_REPLACE_ALL </span><span class="cx"> log_message("Re...
2019 Aug 06
5
[PATCH libnbd 0/3] One API and small documentation changes.
One API change, some small documentation changes.
2007 May 14
3
[Bug 567] ulogd writes invalid len field in per-packet headers
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=567 ------- Additional Comments From kaber@trash.net 2007-05-14 14:28 MET ------- There are two len fields, caplen and len. Which one is wrong? -- Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the
2019 May 23
0
[PATCH libnbd 1/3] states: Factor out common code for setting export size and eflags.
Simple refactoring. --- generator/states-newstyle-opt-export-name.c | 12 +++++------ generator/states-newstyle-opt-go.c | 13 ++++++------ generator/states-oldstyle.c | 10 +++------- lib/flags.c | 22 +++++++++++++++++++++ lib/internal.h | 5 +++++ 5 files changed, 42 insertions(+), 20 deletions(-) diff
2017 Mar 23
2
[PATCH] p2v: Use lscpu instead of libvirt to get CPU information.
...ore"); + if (v) + ignore_value (sscanf (v, "%u", &cpu->threads)); } /** - * Read the capabilities from libvirt and parse out the fields - * we care about. + * Read some important flags from lscpu output. */ static void -libvirt_capabilities (struct cpu_config *cpu) +get_flags (char **lscpu, struct cpu_config *cpu) { - virConnectPtr conn; - CLEANUP_FREE char *capabilities_xml = NULL; - CLEANUP_XMLFREEDOC xmlDocPtr doc = NULL; - CLEANUP_XMLXPATHFREECONTEXT xmlXPathContextPtr xpathCtx = NULL; - CLEANUP_XMLXPATHFREEOBJECT xmlXPathObjectPtr xpathObj = NULL; - const ch...
2003 Apr 16
1
pop3 coredump
...readonly = 0, allow_custom_flags = 0, inconsistent = 0}, expunge_locked = 0, index = 0x808c200, autosync_to = 0x0, autosync_files = 0x0, autosync_type = MAILBOX_SYNC_NONE, sync_last_check = 0, min_newmail_notify_interval = 0, fetch_mail = {mail = {seq = 0, uid = 0, seen_updated = 0, get_flags = 0, get_parts = 0, get_received_date = 0, get_date = 0, get_size = 0, get_header = 0, get_address = 0, get_first_mailbox = 0, get_stream = 0, get_special = 0}, data = {flags = { flags = 0, custom_flags = 0x0, custom_flags_count = 0}, received_date = 0, size = 0, sent_t...
2007 Aug 17
0
Branch 'vivi' - 3 commits - player/Makefile.am player/swfdec_debug_movies.c player/swfdec_debug_movies.h vivified/core vivified/ui
...ibswfdec/swfdec_movie.h> -#include <libswfdec/swfdec_player_internal.h> -#include "swfdec_debug_movies.h" - -/*** GTK_TREE_MODEL ***/ - -#if 0 -# define REPORT g_print ("%s\n", G_STRFUNC) -#else -# define REPORT -#endif -static GtkTreeModelFlags -swfdec_debug_movies_get_flags (GtkTreeModel *tree_model) -{ - REPORT; - return 0; -} - -static gint -swfdec_debug_movies_get_n_columns (GtkTreeModel *tree_model) -{ - REPORT; - return SWFDEC_DEBUG_MOVIES_N_COLUMNS; -} - -static GType -swfdec_debug_movies_get_column_type (GtkTreeModel *tree_model, gint index_) -{ - REPORT;...
2019 May 23
5
[PATCH libnbd 0/3] Prevent some misuse of multi-conn.
Per recent discussion here: https://www.redhat.com/archives/libguestfs/2019-May/thread.html#00175
2007 May 05
0
[1012] trunk/wxruby2/doc/textile: Added docs for AUI Advanced User Interface classes
...+* "AuiManager#detach_pane":#AuiManager_detachpane +* "AuiManager#get_all_panes":#AuiManager_getallpanes +* "AuiManager#get_art_provider":#AuiManager_getartprovider +* "AuiManager#get_dock_size_constraint":#AuiManager_getdocksizeconstraint +* "AuiManager#get_flags":#AuiManager_getflags +* "AuiManager#get_managed_window":#AuiManager_getmanagedwindow +* "AuiManager#get_manager":#AuiManager_getmanager +* "AuiManager#get_pane":#AuiManager_getpane +* "AuiManager#hide_hint":#AuiManager_hidehint +* "AuiManager#inser...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...YPE, + gradient) + @mgr.update + end + + def on_manager_flag(event) + e_id = event.get_id + if e_id == ID_TransparentHint or + e_id == ID_VenetianBlindsHint or + e_id == ID_RectangleHint or + e_id == ID_NoHint + flags = @mgr.get_flags + flags &= ~Wx::AUI_MGR_TRANSPARENT_HINT + flags &= ~Wx::AUI_MGR_VENETIAN_BLINDS_HINT + flags &= ~Wx::AUI_MGR_RECTANGLE_HINT + @mgr.set_flags(flags) + end + + flag = nil + case e_id + when ID_AllowFloating + flag = Wx::AUI_MGR_ALLOW_FLOATING + wh...