Re: cvs deprecated

2012-12-27 Thread Sergey Matveychuk
27.12.2012 20:29, Sam Fourman Jr. wrote: On Thu, Dec 27, 2012 at 4:18 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: but i can't find moron guide for using svn to update tree. I cant seem to find a way to handle conflicts, ive tried to do svn revert on every directory, but there is

Re: watching for a directory with kqueue

2012-03-06 Thread Sergey Matveychuk
06.03.2012 0:57, Markiyan Kushnir wrote: On 05.03.2012 20:12, Sergey Matveychuk wrote: Hi. I've met a problem with the subj. Could you help? I'm watching for a directory: EV_SET(kq_change_list, fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_ONESHOT, NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND

watching for a directory with kqueue

2012-03-05 Thread Sergey Matveychuk
Hi. I've met a problem with the subj. Could you help? I'm watching for a directory: EV_SET(kq_change_list, fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_ONESHOT, NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB, 0, 0); When the directory changed, I read

watching for a directory with kqueue

2012-03-05 Thread Sergey Matveychuk
Hi. I've met a problem with the subj. Could you help? I'm watching for a directory: EV_SET(kq_change_list, fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_ONESHOT, NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB, 0, 0); When the directory changed, I read

Re: LIST_REMOVE problem

2008-11-08 Thread Sergey Matveychuk
Joerg Sonnenberger wrote: On Fri, Nov 07, 2008 at 10:07:17PM +0300, Sergey Matveychuk wrote: If we'll take a look at code, LIST_REMOVE don't change a head pointer if you remove the first element: It does via le_priv. OK, thanks. I see now. I'll try to find out why my code don't work

LIST_REMOVE problem

2008-11-07 Thread Sergey Matveychuk
Hi! I wonder how this example from queue(3) works: while (!LIST_EMPTY(head)) {/* List Deletion. */ n1 = LIST_FIRST(head); LIST_REMOVE(n1, entries); free(n1); } If we'll take a look at code, LIST_REMOVE don't change a head pointer if

gprof: weird output

2008-02-10 Thread Sergey Matveychuk
Hi. Why there are signed counters in gprof? It look weird: -0.20 -0.10 3749040/-2102105488 insert_overlayed [1800] 112.74 57.07 -2105854528/-2102105488 route2ro [4] [5] 76.3 112.53 56.97 -2102105488 ro_sort [5]

How to get a kthread ID?

2007-10-25 Thread Sergey Matveychuk
Is there a possibility to get a kthread ID inside a kthread? Just like pthread_self(3). -- Dixi. Sem. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL

passwd: what problem to allow to try PAM?

2007-03-19 Thread Sergey Matveychuk
Hi! passwd(1) now disallow changing a password via PAM. Why? Is there some hidden reason like a security one or something I missed? Here is code: /* check where the user's from */ switch (pwd-pw_fields _PWF_SOURCE) { case _PWF_FILES: fprintf(stderr,

Re: freebsd port of gnu parted

2006-04-16 Thread Sergey Matveychuk
Viktor Vasilev wrote: Hi, I've spent some time this saturday trying to port gnu parted over to FreeBSD. You can find the result and some instructions on building it here: http://0xdeadc0de.net/v/parted/ For the moment it only handles ATA drives. A chart describing parted's features

Re: portmanager

2005-10-13 Thread Sergey Matveychuk
Michael C. Shultz wrote: if ( getenv(TERM) ) { . . . } Anyway you should use code like that for the cases: char *term; term = getenv(TERM); And check the variable afterwards. It much better than call getenv() twice. And the first condition would be: if( term !strncmp( term, xterm, 5

Re: bin/76089: The -n option in /usr/bin/w is broken

2005-02-14 Thread Sergey Matveychuk
Sergey Matveychuk wrote: BTW, UT_HOSTSIZE=16 is too short in my opinion. As I can see, linux has UT_HOSTSIZE=256. -- Sem. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: bin/76089: The -n option in /usr/bin/w is broken

2005-02-13 Thread Sergey Matveychuk
w(1) behaviour has changed with brien commit in w.c revision 1.48. Funny, but looks like '-n' options works right after commit, not before. The reason is utmp holds a host name and w(1) with '-n' flag _do_ resolve hostname back in IP address and without '-n' don't resolve it. It's confised. IMHO

Re: bin/76089: The -n option in /usr/bin/w is broken

2005-02-13 Thread Sergey Matveychuk
Peter Jeremy wrote: Depending on the environment, the IP address may be more changeable than the hostname. Definitely, in a DHCP or dialup environment, you can't rely on the IP address at any time other than during the session. There is little (if any) benefit in logging the IP address instead

Re: bin/76089: The -n option in /usr/bin/w is broken

2005-02-13 Thread Sergey Matveychuk
Garance A Drosihn wrote: Actually, it would be nice to log both. That's what I have done for some printer-related statistics (not sure if I did that in FreeBSD, but I do that for production use at RPI). I like the idea. We can add field 'address' in utmp structure and save hostname and IP

primary slave HDD hangs

2003-10-17 Thread Sergey Matveychuk
Hello. I've sent this email in stable@ but got no answer. Can you give me some advice on this situation? I had have a Maxtor 6Y120L0 HDD (120Gb, 2Mb cache) as primary master. Now I bought Maxtor 6Y160P0 (160Gb, 8Mb cache) and installed it as slave. 4.8-RELEASE hangs on booting with diagnostic:

Re: pkg_create

2003-08-20 Thread Sergey Matveychuk
Adam Balogh wrote: On Wed, 2003-08-20 at 07:21, Sergey Matveychuk wrote: Adam Balogh wrote: Hello, Has anyone found a solution for the pkg_create problem mentioned here in June? I'm planing to hack pkg_install with other reasons. So, I can take a look on this. Sem. That would indeed

Re: pkg_create

2003-08-19 Thread Sergey Matveychuk
Adam Balogh wrote: Hello, Has anyone found a solution for the pkg_create problem mentioned here in June? I'm planing to hack pkg_install with other reasons. So, I can take a look on this. Sem. ___ [EMAIL PROTECTED] mailing list

GNATS problem

2003-08-19 Thread Sergey Matveychuk
What's up with GNATS? PR's are not submitted from august 18 evening. Sem. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: OpenPAM and OSVERSION

2003-02-10 Thread Sergey Matveychuk
Sergey Matveychuk [EMAIL PROTECTED] writes: What is OSVERSION num right after OpenPAM implemented? What problem are you trying to solve? security/pam-* ports. I'v fiexed pam-mysql for this time. It's works for me. I'm working for PR. Sem. To Unsubscribe: send mail to [EMAIL PROTECTED

Re: OpenPAM and OSVERSION

2003-02-10 Thread Sergey Matveychuk
If you've fixed it in a way which requires knowing whether the system runs Linux-PAM or OpenPAM, you've fixed it wrong. OK. Why? What fix will be a right one? My strategy is checking OSVERSION when build port and aplay a patch if it's 5.0+. Sem. To Unsubscribe: send mail to [EMAIL

Re: OpenPAM and OSVERSION

2003-02-10 Thread Sergey Matveychuk
Because most PAM problems in ports are bugs in the ports themselves, which Linux-PAM just happens to tolerate and OpenPAM doesn't. In other words, it should be possible to find a solution to the problem which works equally well for Linux-PAM and OpenPAM, without the need to know which is

OpenPAM and OSVERSION

2003-02-09 Thread Sergey Matveychuk
What is OSVERSION num right after OpenPAM implemented? There is no such in the porters-handbook :( To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Weak port system or how can I attract attention to my PRs?

2003-01-16 Thread Sergey Matveychuk
Hi! For a long time I'v been disapointed with features in ports system. No ports conflicts checking and other stuff. Last year I'v begun make some things - I'v found obsoleted bin/13649 and ports/13650 PRs that introduce a ports conflics checking, I'v asked in freebsd-ports and portmgr about this

ports conflicts: PR/13650

2002-11-26 Thread Sergey Matveychuk
I'v tried find out a fate of PR/13650 dated by September 1999. I'v wrote to freebsd-ports and to Satoshi. And I'v got no answer. Who can answer me? Who can change bsd.port.mk? Sem. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

wc* function

2001-12-05 Thread Sergey Matveychuk
According to mail archive, work on supporting wide-char functions was in progress some time but then stopped. May be is there some results of this work somewhere? Continue will better than beginning from scratch. Sem. --- Sergey

Re: wc* function

2001-12-05 Thread Sergey Matveychuk
Check out Citrus[1] project's CVS Repo. They have quite promising implementation of w* functions. Also as I recall correctly some amount of w* functions are already commited in. [1] http://citurs.bsdclub.org Link is dead. Can you check it? To Unsubscribe: send mail to [EMAIL PROTECTED]

Re: wc* function

2001-12-05 Thread Sergey Matveychuk
Check out Citrus[1] project's CVS Repo. They have quite promising implementation of w* functions. Also as I recall correctly some amount of w* functions are already commited in. [1] http://citurs.bsdclub.org Link is dead. Can you check it? To Unsubscribe: send mail to [EMAIL PROTECTED]

Re: wc* function

2001-12-05 Thread Sergey Matveychuk
On Wed, Dec 05, 2001 at 03:28:29PM +0300, Sergey Matveychuk wrote: According to mail archive, work on supporting wide-char functions was in progress some time but then stopped. We are in need of a new wchar i18n person. Interested? Yes, but I can't. I don't know a lot about wchar. I read

??: wctype.h

2001-12-04 Thread Sergey Matveychuk
If you can provide sample code to verify the correctness of an implementation then i may be able to integrate it from netbsd. To my sorrow I don't know enough about wide-char. I need this functions for porting some programm. But if you send me a code I promise to find out about wide-char and

wctype.h

2001-12-03 Thread Sergey Matveychuk
Hi! Why widechar functions is not implemented? Is there real difficulty? And can I get it somwhere from a external lib? I need towupper, towlower and iswspace. Thank you. Sem. --- Sergey Matveychuk | System Administrator

Re: wctype.h

2001-12-03 Thread Sergey Matveychuk
what is great in that? I need them to port some application. May be exist some external libs? why don't u write ur own release to everyone? I'v got no enough time. But if I would have time may be exist some troubles with it if FreeBSD don't have this function yet. Sem. To