Browse Source

small fixes

tags/pre-alpha-0.4.0
Manos Pitsidianakis 3 weeks ago
parent
commit
05d9ca6e0d
No known key found for this signature in database
2 changed files with 0 additions and 38 deletions
  1. 0
    37
      .gdbinit
  2. 0
    1
      melib/src/backends/imap/protocol_parser.rs

+ 0
- 37
.gdbinit View File

@@ -1,42 +1,5 @@
set language rust
source ~/.gdbinit
break rust_panic
break core::option::expect_failed::h4927e1fef06c4878
break core::panicking::panic
break libcore/panicking.rs:58
break libcore/result.rs:945
set auto-load python-scripts
break melib/src/mailbox/thread.rs:1010
set print thread-events off

#python
#import os
#import sys
#
#sys.path.insert(0, os.getcwd() + '/scripts/gdb_meli/')
#import gdb
#import gdb_meli
#
#print(gdb_meli.__file__)
#
#help(gdb_meli)
##from gdb_meli import build_pretty_printer
##print(gdb.objfiles()[0].filename)
##gdb_meli.register_pretty_printer(gdb)
##gdb.printing.register_pretty_printer(
## gdb.current_objfile(),
## gdb_meli.build_pretty_printer())
#end
python

import sys, os

sys.path.insert(0, os.getcwd() + '/scripts/gdb_meli/')


import gdb_meli, gdb
#gdb_meli.register_meli_printers(gdb)
#gdb.printing.register_pretty_printer(
# gdb.current_objfile(),
# gdb_meli.build_meli_printer())
end

+ 0
- 1
melib/src/backends/imap/protocol_parser.rs View File

@@ -603,7 +603,6 @@ named!(
>> tag!(")\r\n")
>> ({
let mut env = env;
debug!(unsafe { std::str::from_utf8_unchecked(bodystructure) });
let has_attachments = bodystructure_has_attachments(bodystructure);
env.set_has_attachments(has_attachments);
(uid_flags.0, uid_flags.1, env)

Loading…
Cancel
Save