Changeset 20
- Timestamp:
- 07/04/06 02:00:00 (2 years ago)
- Location:
- trunk
- Files:
-
- 4 modified
-
ChangeLog (modified) (1 diff)
-
configure.in (modified) (1 diff)
-
fuse/obexautofs.c (modified) (7 diffs)
-
fuse/obexfs.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r18 r20 1 2006-07-03 Christian W. Zuckschwerdt <zany@triq.net> 2 3 * Removed statfs (caused problems on all but Siemens) 4 1 5 2006-06-12 Christian W. Zuckschwerdt <zany@triq.net> 2 6 -
trunk/configure.in
r18 r20 1 AC_INIT(ObexFS, 0. 9, zany@triq.net)1 AC_INIT(ObexFS, 0.10, zany@triq.net) 2 2 #AC_CONFIG_SRCDIR(src/foo.c) 3 3 AM_INIT_AUTOMAKE -
trunk/fuse/obexautofs.c
r18 r20 1 1 /* 2 2 * obexautofs.c: FUSE Filesystem to access OBEX with automount 3 * This is just a wrapper. ObexFTP API does the real work. 3 4 * 4 * Copyright (c) 200 5Christian W. Zuckschwerdt <zany@triq.net>5 * Copyright (c) 2003-2006 Christian W. Zuckschwerdt <zany@triq.net> 5 6 * 6 7 * This program is free software; you can redistribute it and/or modify it … … 18 19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 20 * 20 */21 /*22 * Created at: 2005-09-2223 * This is just a wrapper. ObexFTP API does the real work.24 21 */ 25 22 … … 617 614 if (actual > size) 618 615 actual = size; 619 DEBUG("reading %s at %" PRId64 " for % d(peek: %02x\n", path, offset, actual, wb->data[offset]);616 DEBUG("reading %s at %" PRId64 " for %zu (peek: %02x\n", path, offset, actual, wb->data[offset]); 620 617 memcpy(buf, wb->data + offset, actual); 621 618 … … 627 624 data_buffer_t *wb; 628 625 size_t newsize; 629 DEBUG("Writing %s at %" PRId64 " for % d\n", path, offset, size);626 DEBUG("Writing %s at %" PRId64 " for %zu\n", path, offset, size); 630 627 wb = (data_buffer_t *)fi->fh; 631 628 … … 685 682 } 686 683 684 #ifdef SIEMENS 687 685 /* just sum all clients */ 688 686 static int ofs_statfs(const char *UNUSED(label), struct statfs *st) … … 724 722 return 0; 725 723 } 724 #endif 726 725 727 726 static void *ofs_init(void) { … … 775 774 read: ofs_read, 776 775 write: ofs_write, 776 #ifdef SIEMENS 777 777 statfs: ofs_statfs, 778 #endif 778 779 release: ofs_release, 779 780 flush: NULL, -
trunk/fuse/obexfs.c
r18 r20 1 1 /* 2 2 * obexfs.c: FUSE Filesystem to access OBEX 3 * This is just a wrapper. ObexFTP API does the real work. 3 4 * 4 * Copyright (c) 2003-200 5Christian W. Zuckschwerdt <zany@triq.net>5 * Copyright (c) 2003-2006 Christian W. Zuckschwerdt <zany@triq.net> 5 6 * 6 7 * This program is free software; you can redistribute it and/or modify it … … 18 19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 20 * 20 */21 /*22 * Created at: 2003-01-0523 * This is just a wrapper. ObexFTP API does the real work.24 21 */ 25 22 … … 351 348 if (actual > size) 352 349 actual = size; 353 DEBUG("reading %s at %" PRId64 " for % d(peek: %02x\n", path, offset, actual, wb->data[offset]);350 DEBUG("reading %s at %" PRId64 " for %zu (peek: %02x\n", path, offset, actual, wb->data[offset]); 354 351 memcpy(buf, wb->data + offset, actual); 355 352 … … 361 358 data_buffer_t *wb; 362 359 size_t newsize; 363 DEBUG("Writing %s at %" PRId64 " for % d\n", path, offset, size);360 DEBUG("Writing %s at %" PRId64 " for %zu\n", path, offset, size); 364 361 wb = (data_buffer_t *)fi->fh; 365 362 … … 413 410 } 414 411 412 #ifdef SIEMENS 415 413 static int ofs_statfs(const char *UNUSED(label), struct statfs *st) 416 414 { … … 452 450 return 0; 453 451 } 452 #endif 454 453 455 454 static void *ofs_init(void) { … … 485 484 read: ofs_read, 486 485 write: ofs_write, 486 #ifdef SIEMENS 487 487 statfs: ofs_statfs, 488 #endif 488 489 release: ofs_release, 489 490 flush: NULL,
