search for: file_info

Displaying 20 results from an estimated 33 matches for "file_info".

2004 Sep 10
3
[st.n@gmx.net: Bug#200435: xmms-flac: doesn't properly support long files]
...why the command line tool would work while the xmms plugin would > > fail. > ... > > It's an overflow, this patch will fix it. > > --- plugin.c.orig 2003-05-20 21:57:04.000000000 +0200 > +++ plugin.c 2003-07-08 22:03:37.000000000 +0200 > @@ -537,7 +537,7 @@ > file_info->bits_per_sample = metadata->data.stream_info.bits_per_sample; > file_info->channels = metadata->data.stream_info.channels; > file_info->sample_rate = metadata->data.stream_info.sample_rate; > - file_info->length_in_msec = file_info->total_samples * 10 / (fil...
2004 Sep 10
5
[st.n@gmx.net: Bug#200435: xmms-flac: doesn't properly support long files]
severity 200435 normal thanks I received this bug report from a Debian user. I can't think of any reason offhand why the command line tool would work while the xmms plugin would fail. ----- Forwarded message from Stephan Niemz <st.n@gmx.net> ----- Date: Tue, 8 Jul 2003 10:24:57 +0200 From: Stephan Niemz <st.n@gmx.net> Resent-From: Stephan Niemz <st.n@gmx.net> To: Debian
2004 Sep 10
0
[st.n@gmx.net: Bug#200435: xmms-flac: doesn't properly support long files]
> > - file_info->length_in_msec = file_info->total_samples * 10 / (file_info->sample_rate / 100); > > + file_info->length_in_msec = (FLAC__uint64)file_info->total_samples * 10 / (file_info->sample_rate / 100); ... > It seems like would be simpler to do something like: > > (file_i...
2004 Sep 10
0
http streaming in the xmms plugin
...il.h> *************** *** 41,46 **** --- 44,50 ---- #include "configure.h" #include "wrap_id3.h" #include "charset.h" + #include "http.h" #ifdef min #undef min *************** *** 68,73 **** --- 72,106 ---- DitherContext dither_context; } file_info_struct; + typedef FLAC__StreamDecoderWriteStatus (*WriteCallback) (const void *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); + typedef void (*MetadataCallback) (const void *decoder, const FLAC__StreamMetadata *metadata, void *client_data); + typedef v...
2005 May 30
2
smbclient hangs
Hello, I'm having problems with using smbclient on a win2k share. The server runs samba 3.0.14a on Solaris 9. I want to tar the whole directory of a share. Into a file on the server What I found out so far is, that it works until a maximum file count of 35. It is not size dependant but if the file count in that share exceeds more than 35 the smbclient hangs for ever and with the time is
2004 Oct 14
2
compile errors
...distribute to 10.0.0.1, running locally instead plugin.c:71: error: syntax error before "AFormat" plugin.c:71: warning: no semicolon at end of struct or union plugin.c:77: error: syntax error before '}' token plugin.c:77: warning: type defaults to `int' in declaration of `file_info_struct' plugin.c:77: warning: data definition has no type or storage class plugin.c:97: error: syntax error before "flac_ip" plugin.c:97: warning: type defaults to `int' in declaration of `flac_ip' plugin.c:99: warning: initialization makes integer from pointer without a ca...
2004 Oct 14
0
compile errors
...running locally instead > plugin.c:71: error: syntax error before "AFormat" > plugin.c:71: warning: no semicolon at end of struct or union > plugin.c:77: error: syntax error before '}' token > plugin.c:77: warning: type defaults to `int' in declaration of > `file_info_struct' > plugin.c:77: warning: data definition has no type or storage class > plugin.c:97: error: syntax error before "flac_ip" > plugin.c:97: warning: type defaults to `int' in declaration of > `flac_ip' > plugin.c:99: warning: initialization makes integer...
2002 Dec 20
1
smbclient and large file support
...ut_total_size = 0; -int put_total_time_ms = 0; +unsigned int put_total_time_ms = 0; /* totals globals */ static double dir_total; --- samba-2.2.7a/source/client/clitar.c Tue Apr 30 06:26:18 2002 +++ samba-2.2.7a-fixed/source/client/clitar.c Thu Dec 19 15:50:20 2002 @@ -45,10 +45,10 @@ struct file_info_struct { - size_t size; + SMB_BIG_UINT size; uint16 mode; - int uid; - int gid; + uid_t uid; + gid_t gid; /* These times are normally kept in GMT */ time_t mtime; time_t atime; @@ -125,11 +125,11 @@ int blocksize=20; int tarhandle; -static void writetarheader(int f, char *an...
2004 Oct 15
1
compile errors
...> > plugin.c:71: error: syntax error before "AFormat" > > plugin.c:71: warning: no semicolon at end of struct or union > > plugin.c:77: error: syntax error before '}' token > > plugin.c:77: warning: type defaults to `int' in declaration of > > `file_info_struct' > > plugin.c:77: warning: data definition has no type or storage class > > plugin.c:97: error: syntax error before "flac_ip" > > plugin.c:97: warning: type defaults to `int' in declaration of > > `flac_ip' > > plugin.c:99: warning: init...
2005 Sep 25
1
File size and graphics from com32 modules (unrelated)
Hi, I'm working on a com32 module in which I need to get some file size. The only way I found was to include the "lib/sys/file.h" header file and get the i.length field from the file_info structure (once a file descriptor is open). I understand that this structure is internal to the Com32 file I/O implementation and should not be accessed from com32 modules. So is there a cleaner way to get this information ? (perhaps is a subset of stat planned ?) What are the possibilities f...
2013 Oct 08
1
Excel 'Document not saved' Error when using SMB2 Protocol
...parameter "client max protocol = NT1" in the smb.conf of my cluster members but the Win 7 clients continue to use the SMB2 protocol. Looking more closely at the communication between the Win 7 client and the Samba Servers when i attempt a file save in Excel i see that the Client issues a FILE_INFO/SMB2_FILE_RENAME_INFO request and the samba server returns a STATUS_ACCESS_DENIED response. I suspect disabling ACL's would resolve the issue but unfortunately these are necessary for the project . Ideally i would be able to use SMB2 but it is not a show stopper if i could force Win 7 clients...
1999 Apr 08
0
Keep-timestamp-in-`get'-patch for smbclient in samba-2.0.3
...************************************************************************ + get one fileinfo, used in do_get() s.n. Wed Apr 7 19:17:50 1999 + Ugly. Should write other interface to interpret_long_filename() ? + ****************************************************************************/ +static file_info an_finfo; /* Guess right to copy entity (not pointer). */ + +static void do_get_an_finfo(file_info *f, const char *mask) +{ + memcpy(&an_finfo,f,sizeof(*f)); + /* Debugger. + printf("do_get_an_finfo, a:%ld, m:%ld, mask:%s\n", + an_finfo->atime, an_finfo->mtime, ma...
2015 Jul 09
2
Constant error messages about failure to remove oplock
...le handle is returned & the file gets created alright 222.816196 10.6.0.101 10.48.66.95 SMB2 298 Create Response File: ~test.pst.tmp File Id: 3293dc4e-0000-0000-621a-68ed00000000 60-secs later Set-file-info/end-of-file comes 282.867285 10.48.66.95 10.6.0.101 SMB2 162 SetInfo Request FILE_INFO/SMB2_FILE_ENDOFFILE_INFO File: ~test.pst.tmp InfoLevel: SMB2_FILE_ENDOFFILE_INFO (0x14) End Of File: 65536 282.887473 10.6.0.101 10.48.66.95 SMB2 124 SetInfo Response NT Status: STATUS_SUCCESS (0x00000000) Set-file-info/file-allocation-info comes 282.900740 10.48.66.95 10.6.0.101 SMB2 162...
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com> Since we can't use __intcall() for EFI, and since we can now have the ELF module code resolve all our symbols at runtime, we should delete as many references to __intcall() as possible and just access the symbols directly. The most interesting patch is the support for weak symbols. We need to be able to reference derivative-specific
2020 Aug 24
0
smbclient mask command seems not to work the same way with recurse ON for mget and mput
...Here is the code that decides if smbclient should do anything with a given filename: /******************************************************************* Decide if a file should be operated on. ********************************************************************/ static bool do_this_one(struct file_info *finfo) { if (!finfo->name) { return false; } if (finfo->attr & FILE_ATTRIBUTE_DIRECTORY) { return true; } if (*client_get_fileselection() && !mask_match(finfo->name,client_get_fileselection()...
2003 Jul 18
0
patch: smbclient lost some files
.../* + * According to CIFS Technical Document 1.0, + * ff_last_name must point to last FILENAME. + * But Window 2000 points to the first byte + * of last file/directory entry. + */ + if (!ff_eos && !memcmp(p + ff_lastname, + "\0\0\0\0", 4)) { + file_info resume_fi; + + interpret_long_filename( + cli, info_level, + p + ff_lastname, + &resume_fi); + strlcpy(mask, resume_fi.name, + 255); + } else +#endif clistr_pull(cli, mask, p+ff_lastname, sizeof(mask), data_len-ff_la...
2013 Oct 03
0
Automatic boot menu?
...const char *name; + _push_function push; +}; + +struct _stat_members members[] = { + { "mode", push_st_mode }, + { "size", push_st_size }, + { NULL, push_invalid } +}; + +/* +** Get file or symbolic link information +*/ +static int _file_info_ (lua_State *L, int (*st)(const char*, STAT_STRUCT*)) { + int i; + STAT_STRUCT info; + const char *file = luaL_checkstring (L, 1); + + if (st(file, &info)) { + lua_pushnil (L); + lua_pushfstring (L, "cannot obtain information from f...
2012 Aug 14
1
[GIT PULL] elflink fixes
...ig.h> #include "file.h" #include "ansi.h" +#include "graphics.h" static void ansicon_erase(const struct term_state *, int, int, int, int); static void ansicon_write_char(int, int, uint8_t, const struct term_state *); @@ -90,8 +91,7 @@ int __ansicon_open(struct file_info *fp) ti.cols = 80; } else { /* Force text mode */ - ireg.eax.w[0] = 0x0005; - __intcall(0x22, &ireg, NULL); + syslinux_force_text_mode(); /* Initial state */ ti.rows = BIOS_ROWS ? BIOS_ROWS + 1 : 25; diff --git a/com32/lib/sys/gpxe.c b/com32/lib/sys/gpxe....
1999 Aug 30
4
xmms plugin
Anyone else hacked together an xmms plugin for Vorbis? I took my best shot at it based on the source and some of the info I've picked up off this list... I haven't really tested it yet, but I think with a little bit more hacking it might actually work. I can put the source up if anyone wants to dink around with it, but I'd rather just clean it up a little then perhaps ask xmms if
2015 Apr 16
0
Dovecot 2.2.16: disappearing messages, mismatched summaries, duplicated messages, excessive full re-downloads
...n.com/user/sieve/File_Travel.sieve' > Apr 15 13:49:41 lda(user at domain.com): Debug: sieve: file script: Opened > script `File_Tribe' from `/mail/domain.com/user/sieve/File_Tribe.sieve' > Apr 15 13:49:41 lda(user at domain.com): Debug: sieve: file script: Opened > script `File_Info' from `/mail/domain.com/user/sieve/File_Info.sieve' > Apr 15 13:49:41 lda(user at domain.com): Debug: sieve: file script: Opened > script `File_Lists' from `/mail/domain.com/user/sieve/File_Lists.sieve' > Apr 15 13:49:41 lda(user at domain.com): Debug: sieve: file script:...