Well I finally managed to find out what is up but my programming
experience has me confused as to why this actually works....I turn on a
debugging option and everything starts working!!!  O_o

the diff of my changes:
[code]
diff ncpfs-2.2.6/lib/ndslib.c ncpfs-2.2.6-4ubuntu1*/lib/ndslib.c
52c52
< /*#define FIND_ISR */ /* if defined: show reasons for -330 invalid response */
---
> #define FIND_ISR /* if defined: show reasons for -330 invalid response */
[/code]

I downloaded both
http://archive.ubuntu.com/ubuntu/pool/universe/n/ncpfs/ncpfs_2.2.6.orig.tar.gz
and
http://archive.ubuntu.com/ubuntu/pool/universe/n/ncpfs/ncpfs_2.2.6-4ubuntu1.diff.gz


now by defining FIND_ISR the only code to be affect is
[code]
#ifdef FIND_ISR
#include <stdio.h>
#define ISRPrint(X...) do { fprintf(stderr, __FILE__ ":%d: ", __LINE__); 
fprintf(stderr, X); } while (0)
#else
#define ISRPrint(X...) do {} while (0)
#endif
[/code]

no matter what kind of mix-n-match i did with the above lines FIND_ISR
had to be defined....

I'm going to play with it more so maybe someone else can tel me what is
up...and fix in the repo's too!

-- 
ncpfs 2.2.6-4 breaks ncpmount
https://bugs.launchpad.net/bugs/140464
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to