search for: has_body

Displaying 3 results from an estimated 3 matches for "has_body".

Did you mean: a_body
2007 Jan 31
0
warning while requiring 'net\http'
...C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:1121: warning: already initialized constant HTTPSession C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:1599: warning: already initialized constant METHOD C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:1600: warning: already initialized constant REQUEST_HAS_BODY C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:1601: warning: already initialized constant RESPONSE_HAS_BODY C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:1605: warning: already initialized constant METHOD C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:1606: warning: already initialized constant R...
2010 Mar 11
2
[PATCH FOR DISCUSSION ONLY] Rewrite libguestfs-supermin-helper in C.
...ename = "."; + + if (verbose >= 2) + fprintf (stderr, "cpio_append_stat %s 0%o -> %d\n", + orig_filename, statbuf->st_mode, out_fd); + + /* Regular files and symlinks are the only ones that have a "body" + * in this cpio entry. + */ + int has_body = S_ISREG (statbuf->st_mode) || S_ISLNK (statbuf->st_mode); + + size_t len = strlen (filename) + 1; + + char header[CPIO_HEADER_LEN + 1]; + snprintf (header, sizeof header, + "070701" /* magic */ + "%08X" /* inode */ +...
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...ename = "."; - - if (verbose >= 2) - fprintf (stderr, "cpio_append_stat %s 0%o -> %d\n", - orig_filename, statbuf->st_mode, out_fd); - - /* Regular files and symlinks are the only ones that have a "body" - * in this cpio entry. - */ - int has_body = S_ISREG (statbuf->st_mode) || S_ISLNK (statbuf->st_mode); - - size_t len = strlen (filename) + 1; - - char header[CPIO_HEADER_LEN + 1]; - snprintf (header, sizeof header, - "070701" /* magic */ - "%08X" /* inode */ -...