Re: c99 project

2013-02-05 Thread Giorgos Keramidas
On 2013-02-04 21:48, Eitan Adler wrote: > Is the following page still useful? > Would there be any objection to me removing it? > > http://www.freebsd.org/projects/c99/index.html I think this is useful until we have full C99 support in at least one compiler toolchain. To the best of my knowledge

Re: Ways to promote FreeBSD?

2012-05-02 Thread Giorgos Keramidas
On Wed, May 2, 2012 at 2:33 PM, Richard Yao wrote: >On 05/02/12 04:55, Giorgos Keramidas wrote: >> Judging from the amount of effort it takes to "harden" a system >> that already starts a thousand services (typical "desktop Linux" >> scenario these days

Re: Ways to promote FreeBSD?

2012-05-02 Thread Giorgos Keramidas
On Fri, Apr 27, 2012 at 11:18 PM, Mehmet Erol Sanliturk wrote: > Another point is that server installers are highly educated with respect to > desktop installers and their numbers are small with respect to desktop > users . > > For them , it is very easy to "harden" FreeBSD after installation if e

Re: Why not give git a try? (was "Re: [head tinderbox] failure on amd64/amd64")

2011-01-25 Thread Giorgos Keramidas
On Tue, 25 Jan 2011 02:22:34 -0800, per...@pluto.rain.com wrote: >Diane Bruce wrote: >> There certainly would not be a chance of putting mercurial or git >> into base for example. > > Completely apart from licensing, another strike against mercurial is > that it is written in Python, so it couldn'

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-04 Thread Giorgos Keramidas
On Tue, 4 Jan 2011 08:58:48 -0800, Garrett Cooper wrote: + errno = 0; + res = strtol(str, &endp, 10); + if (errno != 0 || endp == str || *endp != '\0') + err(1, "%s shall be a number", errname); >>> >>> Small nit, maybe use 'must' instead of 'shall'. >> >> it seems

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-04 Thread Giorgos Keramidas
On Tue, 4 Jan 2011 13:25:02 +0200, Kostik Belousov wrote: >On Tue, Jan 04, 2011 at 11:40:45AM +0100, Giorgos Keramidas wrote: >>On Tue, 04 Jan 2011 11:36:38 +0100, Giorgos Keramidas >>wrote: >>> Since the pattern of converting strings to int-derivative values appears

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-04 Thread Giorgos Keramidas
On Tue, 04 Jan 2011 11:36:38 +0100, Giorgos Keramidas wrote: > On Sun, 2 Jan 2011 18:46:47 -0500, Eitan Adler wrote: >> What about this patch? I incorporated your feedback so I am not going >> to reply inline. > > Since the pattern of converting strings to int-deri

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-04 Thread Giorgos Keramidas
On Sun, 2 Jan 2011 18:46:47 -0500, Eitan Adler wrote: > What about this patch? I incorporated your feedback so I am not going > to reply inline. Since the pattern of converting strings to int-derivative values appears multiple times, I'd probably prefer something like a new function that does th

Re: [patch] have rtprio check that arguments are numeric; change atoi to strtol

2011-01-02 Thread Giorgos Keramidas
On Sun, 2 Jan 2011 12:18:45 +0200, Kostik Belousov wrote: > On Sun, Jan 02, 2011 at 02:41:10AM -0500, Eitan Adler wrote: >> > Just set the second argument to strtol to something non-NULL and then check >> > the value returned; that will help provide the error handling with >> > simplicity that you

Re: Deterministic builds?

2010-11-15 Thread Giorgos Keramidas
On Mon, 15 Nov 2010 12:56:29 +0100, Erik Cederstrand wrote: >Den 15/11/2010 kl. 12.40 skrev Tom Evans: >> The important things for us are that given a binary, you should be >> able to easily reproduce the source environment that the binary was >> produced from, and any two binaries produced from

Re: Deterministic builds?

2010-11-14 Thread Giorgos Keramidas
On Sun, 14 Nov 2010 21:22:53 +0100, Erik Cederstrand wrote: >Den 12/11/2010 kl. 21.20 skrev Giorgos Keramidas: >>> Since the SVN rev. is recorded, I think a timestamp is redundant. Any >>> ideas where I can disable the timestamps in the source? >> >> The timestam

Re: Deterministic builds?

2010-11-12 Thread Giorgos Keramidas
On Fri, 12 Nov 2010 15:13:36 +0100, Erik Cederstrand wrote: > Den 22/10/2010 kl. 12.01 skrev Ulrich Spörlein: >> Why do you make this a requirement? Of course it's usually easier to >> build different releases from different source directories, but I think >> requiring the following conditions ar

Re: building world with debugging symbols

2010-03-31 Thread Giorgos Keramidas
On Tue, 30 Mar 2010 15:10:58 -0400, John Baldwin wrote: > On Tuesday 30 March 2010 11:48:58 am Giorgos Keramidas wrote: >> +.It Va DEBUG_FLAGS >> +Defines a set of debugging flags that will be used to build all userland >> +binaries under >> +.Pa /usr/src . >>

Re: building world with debugging symbols

2010-03-30 Thread Giorgos Keramidas
On Fri, 05 Mar 2010 18:15:33 +0100 (CET), Alexander Best wrote: >> DEBUG_FLAGS=-g > > ahh. thanks for the hint. with DEBUG_FLAGS i was able to build world with > debugging symbols but also managed to keep the bootloader small enough. > > i don't think this option is documented anywhere or is it?

Re: debug libraries

2010-02-26 Thread Giorgos Keramidas
On Thu, 25 Feb 2010 11:09:36 -0800 (PST), "Dr. Baud" wrote: > Apologies if this is the wrong list > > Are there prepackaged debug versions of the system libraries available > (like 'yum install *-debuginfo' in Fedora and 'apt-get install *-dbg' > in Ubuntu)? No, not really. You can always bu

Re: Building FreeBSD on a linux FC11 box.

2010-02-26 Thread Giorgos Keramidas
On Sun, 21 Feb 2010 21:22:51 +0100, Ulrich Spörlein wrote: > On Sat, 20.02.2010 at 13:03:14 -0800, R. Tyler Ballance wrote: >> You might want to ask the Debian GNU/kFreeBSD guys: >> http://www.debian.org/ports/kfreebsd-gnu/ >> >> I bet they've got a good idea :) > > They are using the kernel o

Re: Weekend PR smashing

2010-01-22 Thread Giorgos Keramidas
On Sun, 17 Jan 2010 13:30:50 -0800, "R. Tyler Ballance" wrote: > Are there similar resources I've not stumbled across yet? I would like to > help, > I have but one machine running -CURRENT and sporadic free time over the > weekends. Hi there. I just noticed this post in among others in -hacker

Re: old/unupdated xterm entries in termcap db

2009-12-10 Thread Giorgos Keramidas
On Thu, 10 Dec 2009 13:42:22 +0100, Ed Schouten wrote: > Hello Alexander, others, > > * Alexander Leidinger wrote: >> The practical attitude should be coordinated with ed@ (CCed), as he >> switched the console in 9-current to be an xterm, and AFAIR it does >> not support as much colors as the rea

Re: [patch] burncd: honour for envar SPEED

2009-11-09 Thread Giorgos Keramidas
On Mon, 09 Nov 2009 19:01:43 +0100 (CET), Alexander Best wrote: >Giorgos Keramidas schrieb am 2009-11-09: >> > i don't quite get why the value supplied with the envar has to be >> > validated. if the user supplies a speed value using the -s switch >> > n

Re: [patch] burncd: honour for envar SPEED

2009-11-09 Thread Giorgos Keramidas
On Mon, 09 Nov 2009 15:28:29 +0100 (CET), Alexander Best wrote: > Giorgos Keramidas schrieb am 2009-11-09: >> Hi Alexander, > >> The idea seems very good, but since the value of SPEED is user >> supplied data, I would rather see a bit of validation code after >> g

Re: [patch] burncd: honour for envar SPEED

2009-11-09 Thread Giorgos Keramidas
On Mon, 09 Nov 2009 11:00:43 +0100, Dag-Erling Smørgrav wrote: > Giorgos Keramidas writes: >> atoi() doesn't really have error checking and it does not necessarily >> affect `errno'. > > man 3 expand_number I know, but thanks. In this case, expand_number&

Re: [patch] burncd: honour for envar SPEED

2009-11-08 Thread Giorgos Keramidas
On Mon, 09 Nov 2009 02:22:36 +0100 (CET), Alexander Best wrote: > --- burncd.c.typo 2009-11-09 02:19:47.0 +0100 > +++ burncd.c 2009-11-09 02:20:27.0 +0100 > @@ -85,8 +85,8 @@ > if ((dev = getenv("CDROM")) == NULL) > dev = "/dev/acd0"; > > - if ((env_sp

Re: [patch] burncd: honour for envar SPEED

2009-11-08 Thread Giorgos Keramidas
On Mon, 09 Nov 2009 01:47:40 +0100 (CET), Alexander Best wrote: > any thoughts on these small changes to burncd? > > Index: usr.sbin/burncd/burncd.c > === > --- usr.sbin/burncd/burncd.c (revision 199064) > +++ usr.sbin/burncd/burncd

Re: Make process title - % complete

2009-10-20 Thread Giorgos Keramidas
On Tue, 20 Oct 2009 20:28:40 -0400, Boris Kochergin wrote: >Giorgos Keramidas wrote: >>On Mon, 19 Oct 2009 17:51:42 +0200, Ivan Voras wrote: >>>2009/10/19 Alex Kozlov : >>>> How about add this statistic to make info handler? >>> >>> You me

Re: Make process title - % complete

2009-10-20 Thread Giorgos Keramidas
On Mon, 19 Oct 2009 17:51:42 +0200, Ivan Voras wrote: >2009/10/19 Alex Kozlov : >> How about add this statistic to make info handler? > > You mean SIGINFO? Yes, that's the ``info handler''. While printing something on SINGINFO arrival is a nice idea, it may not be extremely useful for make(1).

Re: distributed scm+freebsd svn?

2009-08-02 Thread Giorgos Keramidas
ad 12002 96e04082ef3f 2009-06-19 15:58 + brooks In preparation for raising NGROUPS and NGROUPS_MAX, change base 7782 141cd5ffef80 2009-01-22 07:18 +0200 keramida Add a new -x option to chown and chgrp, to inhibit file system 0 dd5ed0412a8b 2007-12-31 2

Re: llvm/clang a tool chain or just a compiler for FreeBSD?

2009-08-02 Thread Giorgos Keramidas
On Wed, 22 Jul 2009 19:05:47 +0300, Kostik Belousov wrote: >> I know some ports using "USE_GCC" knob of /usr/ports/Mk/bsd.gcc.mk . >> Is this the same as you suggest? > > No. And this was actually not my idea. > > The proposal is to have portmgr-selected and approved version of gcc, > installed fr

Re: can we afford an extra column in iostat?

2009-07-14 Thread Giorgos Keramidas
On Tue, 14 Jul 2009 14:55:15 -0700, Brian Somers wrote: > On Tue, 14 Jul 2009 07:23:12 +0300, Giorgos Keramidas > wrote: >> While converting my laptop's main disk to zfs, I noticed iostat output >> like this (bits copied from here and there): >> >> | keram...@

can we afford an extra column in iostat?

2009-07-13 Thread Giorgos Keramidas
While converting my laptop's main disk to zfs, I noticed iostat output like this (bits copied from here and there): | keram...@kobe:/home/keramida$ iostat -w3 ad0 da0 | tty ad0 da0 cpu | tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id |5 21

Re: c question: *printf'ing arrays

2009-07-04 Thread Giorgos Keramidas
On Wed, 01 Jul 2009 00:06:05 +0200 (CEST), Alexander Best wrote: > thanks for all the help. i decided to take the pill and coded all the > fprintfs by hand. here's the result. usually i'd stick to a higher > level languag, but i need C's inline assembly support: > > struct Header > { >

Re: c question: *printf'ing arrays

2009-07-04 Thread Giorgos Keramidas
On Tue, 30 Jun 2009 20:21:03 +0200 (CEST), Alexander Best wrote: > thanks. now the output gets redirected using >. i'm quite new to programming > under unix. sorry for the inconvenience. > > so i guess there is no really easy way to output an inhomogeneous struct to > stdout without using a loop

Re: Is international support broken is msdosfs file system driver?

2009-04-06 Thread Giorgos Keramidas
On Mon, 06 Apr 2009 16:29:55 -0700, Yuri wrote: > Nobody replied and I still have the problem. > > I extracted the area of the disk where long file names are stored. And > can see that all characters are in UTF-8. > > So how to correctly read UTF-8 encoded VFAT? Remap the locale to something you

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread Giorgos Keramidas
On Wed, 28 Jan 2009 10:19:00 -0700 (MST), "M. Warner Losh" wrote: > : lseek(3,0x8000,SEEK_SET) = 32768 (0x8000) > : read(3,0xbfbfe3a3,2048) ERR#5 'Input/output error' > > OK. That's definitely not page aligned. Slightly modified to force the alig

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread Giorgos Keramidas
On Wed, 28 Jan 2009 18:29:10 +0200, Giorgos Keramidas wrote: > On Wed, 28 Jan 2009 09:20:46 -0700 (MST), "M. Warner Losh" > wrote: >> Not going to look at glabel for this. I lifted the code from glable, >> but must have done it badly. I'll grab a core 10 cd

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread Giorgos Keramidas
On Wed, 28 Jan 2009 09:20:46 -0700 (MST), "M. Warner Losh" wrote: > Not going to look at glabel for this. I lifted the code from glable, > but must have done it badly. I'll grab a core 10 cd and see what's up. It may not be Fedora specific. I just happened to have it handy... Sorry for creat

Re: Code review request: cdcontrol status label additon

2009-01-28 Thread Giorgos Keramidas
On Wed, 28 Jan 2009 02:09:50 -0700 (MST), "M. Warner Losh" wrote: > Please find enclosed patches to enable printing of the ISO-9660 Volume > label, if present, for a CD. I've connected this to the 'status > label' command. Please comment. The style looks ok, but this didn't work for a Fedora C

Re: Determine if a kernel is built with a specific option?

2009-01-12 Thread Giorgos Keramidas
On Mon, 12 Jan 2009 14:56:21 +, "Andrew Brampton" wrote: > If you were going to do this, would you make it a configure flag... ie > --enable-polling... That way it doesn't matter if the build box is > different? If both choices are available (i.e. no header files are missing, no link-time li

Re: [Testers wanted] vt100/xterm-support for syscons

2008-12-23 Thread Giorgos Keramidas
On Tue, 23 Dec 2008 14:59:51 +0100, Ed Schouten wrote: > Hello all, > Some time ago I sent a message to the lists about vt100/xterm/UTF-8 > support for syscons. I think the code is pretty stable now and after > some minor improvements/fixes, it should be ready to hit the tree. > > I'm sending this

Re: Small change to wc

2008-12-16 Thread Giorgos Keramidas
On Tue, 16 Dec 2008 23:25:07 +0100, Lars Engels wrote: >On Sat, Dec 06, 2008 at 09:25:05PM +0200, Giorgos Keramidas wrote: >>On Sat, 06 Dec 2008 17:40:14 +0200, Giorgos Keramidas >> wrote: >>> The updated patch, and a manpage change to document the new option is >>

Re: Small Change to chpass.c

2008-12-11 Thread Giorgos Keramidas
On Thu, 11 Dec 2008 08:11:20 +0100 (CET), Trond Endrestøl <[EMAIL PROTECTED]> wrote: >On Thu, 11 Dec 2008 08:32+0200, Giorgos Keramidas wrote: >> On Wed, 10 Dec 2008 18:00:25 -0800, "Sheldon Givens" <[EMAIL PROTECTED]> >> wrote: >> > --- /usr/src/us

Re: Enhancing cdboot [patch for review]

2008-12-11 Thread Giorgos Keramidas
On Thu, 11 Dec 2008 10:52:49 +0200, Jonathan McKeown <[EMAIL PROTECTED]> wrote: >> cdboot runs long after the prompt for BIOS setup. I don't think we >> can modify cdboot to add serial console support to systems whose BIOS >> setup doesn't support it. > > Sorry, of course you're right: I'm talking

Re: Enhancing cdboot [patch for review]

2008-12-11 Thread Giorgos Keramidas
On Thu, 11 Dec 2008 08:37:26 +0200, Jonathan McKeown <[EMAIL PROTECTED]> wrote: > While you're enhancing cdboot anyway, can I ask how complicated it > would be to make cdboot serial-console capable? (I'm not a C > programmer, I'm a sysadmin - but I'd be prepared to try and look at > this myself if

Re: Small Change to chpass.c

2008-12-10 Thread Giorgos Keramidas
On Wed, 10 Dec 2008 18:00:25 -0800, "Sheldon Givens" <[EMAIL PROTECTED]> wrote: > Hi guys, > > When I was doing some user management today I noticed that chpass, and > all the utilities that use chpass.c, only give one attempt to > authenticate to make the change. After I messed this up once or twi

Re: MAXFILES in subr_param.c

2008-12-10 Thread Giorgos Keramidas
On Wed, 10 Dec 2008 14:30:24 +0100, Ivan Voras <[EMAIL PROTECTED]> wrote: >>> Also, it looks like MAXFILES is used only once, and in a bit funny way: >>> >>> 238 maxfiles = MAXFILES; >>> 239 TUNABLE_INT_FETCH("kern.maxfiles", &maxfiles); >>> 240 maxprocperuid = (maxproc * 9)

Re: MAXFILES in subr_param.c

2008-12-10 Thread Giorgos Keramidas
On Mon, 08 Dec 2008 20:41:32 +0100, Ivan Voras <[EMAIL PROTECTED]> wrote: > Hi, > > I'm looking at kern/subr_param.c: > > 72 #ifndef MAXFILES > 73 #define MAXFILES (maxproc * 2) > 74 #endif > > Shouldn't this be at least maxproc*3, for stdin,out,err for every proc? > > Also, it looks like MAXFIL

Re: Enhancing cdboot [patch for review]

2008-12-08 Thread Giorgos Keramidas
On Mon, 08 Dec 2008 16:29:04 -0800, Maxim Sobolev <[EMAIL PROTECTED]> wrote: > Luigi Rizzo wrote: >> On Mon, Dec 08, 2008 at 02:40:41PM -0800, Maxim Sobolev wrote: >>> Hi, >>> Below please find patch that enhances cdboot with two compile-time options: >> ... >>> Any comments/suggestions are appreci

Re: Timer driven tasks in FreeBSD 7

2008-12-07 Thread Giorgos Keramidas
On Sun, 7 Dec 2008 17:56:47 +0200, "Yony Yossef" <[EMAIL PROTECTED]> wrote: > Hi All, > > What mechanism should I use for making my netwrok driver call a > function every half a second, for instnace? > > I am already using task queues but I haven't found a way to make it > work with a timer. callo

Re: Small change to wc

2008-12-06 Thread Giorgos Keramidas
On Sat, 06 Dec 2008 17:40:14 +0200, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > The updated patch, and a manpage change to document the new option is > attached below. Konstantin, if you like this version of the patch, > I'll commit it to /head and schedule an MF

Re: Small change to wc

2008-12-06 Thread Giorgos Keramidas
On Sat, 06 Dec 2008 13:57:53 +0200, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: >>> Can you post a `diff -u' or `diff -c' version of the patch? I like the >>> idea of the new option but it would be easier to read in -u/-c format. >> >> New diff -u:

Re: Small change to wc

2008-12-06 Thread Giorgos Keramidas
On Fri, 5 Dec 2008 18:46:00 -0800, "Sheldon Givens" <[EMAIL PROTECTED]> wrote: > On Fri, Dec 5, 2008 at 4:17 PM, Giorgos Keramidas <[EMAIL PROTECTED]>wrote: >> Adding the option to increase finger-compatibility and make shell >> scripts a bit easier to port

Re: Small change to wc

2008-12-05 Thread Giorgos Keramidas
On Fri, 5 Dec 2008 14:14:32 -0800, "Sheldon Givens" <[EMAIL PROTECTED]> wrote: > Hello everyone, > In the process of migrating the last of a few Linux servers to > FreeBSD, we ran in to a bit of a snag with one of our scripts when BSD > wc didn't have an equivalent to the Linux -L. This flag tells

Re: keeping track of local modifications

2008-12-02 Thread Giorgos Keramidas
On Mon, 01 Dec 2008 21:08:25 -0800, [EMAIL PROTECTED] wrote: >>> Git and Mercurial cannot import Subversion $FreeBSD$ lines so far, >>> and you may end up submitting patches that include unexpanded forms >>> of the "$FreeBSD: $" text. These will fail to apply if they >>> same patch touches ne

Re: keeping track of local modifications

2008-12-01 Thread Giorgos Keramidas
On Mon, 1 Dec 2008 22:56:02 +0300, Eygene Ryabinkin <[EMAIL PROTECTED]> wrote: > Giorgos, good day. Hi Eygene, thanks. The same to you too :) >> Git and Mercurial cannot import Subversion $FreeBSD$ lines so far, >> and you may end up submitting patches that include unexpanded forms >> of the "$F

Re: keeping track of local modifications

2008-12-01 Thread Giorgos Keramidas
On Mon, 1 Dec 2008 11:23:40 +0300, Eygene Ryabinkin <[EMAIL PROTECTED]> wrote: > May be I am missing something, but what's wrong with the patches from > other VCS, providing that with Subversion you can exchange only by the > plain diffs? Yes, Git/Mercurial patches should be applied with 'patch >

Re: Reccomendation for tools to use on FreeBSD for a wiki ?

2008-11-20 Thread Giorgos Keramidas
On Wed, 19 Nov 2008 18:24:21 +0100, "Julian Stacey" <[EMAIL PROTECTED]> wrote: > Hi hackers, > Maybe Some of you might suggest some software I might install, Wiki I guess. ? > I got zero response from ports@, I could use some reccomendations please. > PS From http://wiki.freebsd.org/HelpContents

Re: includes, configure, /usr/lib vs. /usr/local/lib, and linux coders

2008-11-06 Thread Giorgos Keramidas
On Mon, 3 Nov 2008 15:12:34 -0700, "Steve Franks" <[EMAIL PROTECTED]> wrote: > That's alot of good info. It should go in the porter's handbook, > maybe... Hi Steve, Probably not. What I wrote is specific to the GNU build system. We have many ports that use configure scripts and makefiles gener

Re: du -A / -B options [Re: zfs quota question]

2008-11-04 Thread Giorgos Keramidas
On Wed, 5 Nov 2008 03:39:51 +0100, Max Laier <[EMAIL PROTECTED]> wrote: >> That looks nice! With a small fix (``how _much_ space'') I like the >> idea a lot :) >> >> The patch fails to apply on a recent /head snapshot of du though: > ... >> Can you please refresh and repost it? > > Hum ... are you

Re: du -A / -B options [Re: zfs quota question]

2008-11-04 Thread Giorgos Keramidas
On Tue, 4 Nov 2008 23:42:49 +0100, Max Laier <[EMAIL PROTECTED]> wrote: > Hi again, > > On Saturday 01 November 2008 21:14:42 I wrote: >> a thread on freebsd-stable@ [1] about problems with du(1) and compressed >> zfs filesystems got me looking for a possible solution. Attached is a diff >> for du

Re: YAVP (Yet Another Vmstat Patch)

2008-11-04 Thread Giorgos Keramidas
On Tue, 04 Nov 2008 23:13:19 +0100, Ivan Voras <[EMAIL PROTECTED]> wrote: > Hi, > > I'm working on something that tends to generate a lot of context > switches and I don't like the way values in "vmstat 1" are printed > practically unbounded, causing wrapping, etc. > > Here's a patch against -CURRE

Re: du -A / -B options [Re: zfs quota question]

2008-11-01 Thread Giorgos Keramidas
On Sat, 1 Nov 2008 21:14:42 +0100, Max Laier <[EMAIL PROTECTED]> wrote: > Hi, > a thread on freebsd-stable@ [1] about problems with du(1) and > compressed zfs filesystems got me looking for a possible solution. > Attached is a diff for du(1) that adds two new options: > > -A to display the apparen

Re: includes, configure, /usr/lib vs. /usr/local/lib, and linux coders

2008-11-01 Thread Giorgos Keramidas
On Fri, 31 Oct 2008 12:30:46 -0700, "Steve Franks" <[EMAIL PROTECTED]> wrote: > Let's backup. What's the 'right' way to get a bloody linux program > that expects all it's headers in /usr/include to compile on freebsd > where all the headers are in /usr/local/include? That's all I'm > really askin

Re: mercurial working copy of FreeBSD src

2008-08-08 Thread Giorgos Keramidas
On Fri, 8 Aug 2008 11:47:15 -0700, "Navdeep Parhar" <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I'm looking for the fastest way to get a full mercurial repository of > HEAD. Do you really want the *FULL* history of head? It's probably going to be in the order of a couple of hundred of MB, or

Re: Sysinstall is still inadequate after all of these years / sorry I started flame war

2008-07-06 Thread Giorgos Keramidas
On Sun, 06 Jul 2008 10:51:10 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On Fri, 4 Jul 2008 14:31:51 +0200, "Paul B. Mahol" <[EMAIL PROTECTED]> wrote: >> On 7/4/08, Randy Bush <[EMAIL PROTECTED]> wrote: >>>> This is why there are precompil

Re: Sysinstall is still inadequate after all of these years / sorry I started flame war

2008-07-06 Thread Giorgos Keramidas
On Fri, 4 Jul 2008 14:31:51 +0200, "Paul B. Mahol" <[EMAIL PROTECTED]> wrote: > On 7/4/08, Randy Bush <[EMAIL PROTECTED]> wrote: >>> This is why there are precompiled packages on ftp.freebsd.org which you >>> can install with 'pkg_add -r'. You can install them from any FTP >>> mirror, actually; ju

Re: Sysinstall is still inadequate after all of these years / sorry I started flame war

2008-07-06 Thread Giorgos Keramidas
On Fri, 4 Jul 2008 09:38:37 +0300, "Aggelidis Nikos" <[EMAIL PROTECTED]> wrote: >> I'm sorry I started a kind of flame war. All I wanted was two >> things: 1. CD's that installed without being switched in and out >> dozens of times. That was fixed by the suggestion of using a DVD. I >> didn't e

Re: Sysinstall is still inadequate after all of these years

2008-07-06 Thread Giorgos Keramidas
On Thu, 3 Jul 2008 10:56:29 +0200, Holger Kipp <[EMAIL PROTECTED]> wrote: > Dear Antoine Brunel, > > I completely 100% agree. Actually I don't see the need for a new > sysinstall. It does what it needs to do. I have seen the later > RH- and SUSE-Installer, but I don't want them. What's the use of >

Re: Sysinstall is still inadequate after all of these years / sorry I started flame war

2008-07-02 Thread Giorgos Keramidas
On Wed, 2 Jul 2008 21:28:50 -0700, "Rob Lytle" <[EMAIL PROTECTED]> wrote: > 2. Being able to use Sysinstall and not having it crash when a > dependency is already present. Sometimes I like to use Sysinstall to > install gigantic packages where the compile time is 26 hours, e.g KDE > metapackage, a

Re: bin/124409: fsck(8) requires exact entry for mountpoints when executing / bug by design in getfsfile(3) in .../lib/libc/gen/fstab.c

2008-06-21 Thread Giorgos Keramidas
On Mon, 16 Jun 2008 20:28:08 -0700, "Garrett Cooper" <[EMAIL PROTECTED]> wrote: > On Tue, Jun 10, 2008 at 2:27 AM, Garrett Cooper <[EMAIL PROTECTED]> wrote: >> Ok it appears I wasn't intelligent enough to post this in the right >> place last night. Comments please? >> >> Hi hackers, >> >>

Re: Bug by design in getfsfile(3) / needed sanity check for mountpoints

2008-06-09 Thread Giorgos Keramidas
On Tue, 10 Jun 2008 03:53:41 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On Mon, 9 Jun 2008 01:34:19 -0700, "Garrett Cooper" <[EMAIL PROTECTED]> wrote: >> Hi hackers, >> I have a question, pending a bug found in getfsfile(3) [1]. >>

Re: Bug by design in getfsfile(3) / needed sanity check for mountpoints

2008-06-09 Thread Giorgos Keramidas
On Mon, 9 Jun 2008 01:34:19 -0700, "Garrett Cooper" <[EMAIL PROTECTED]> wrote: > Hi hackers, > I have a question, pending a bug found in getfsfile(3) [1]. > Is there any possibility where a mountpoint be any value other > than a directory, a symlink, or "none", i.e. a flat file? > Thank

Re: Impact of having a large number of open file descriptors

2008-06-03 Thread Giorgos Keramidas
On Mon, 2 Jun 2008 21:07:15 -0400, Garance A Drosihn <[EMAIL PROTECTED]> wrote: > At 12:33 AM +0200 6/3/08, Kris Kennaway wrote: >>Ivan Voras wrote: >>>Suleiman Souhlal wrote: >>> I have an old patch that makes kqueue monitor every file write on the system and return the inode number in t

Re: indent(1) support for gcc(1) 0b prefix

2008-05-01 Thread Giorgos Keramidas
On Sun, 27 Apr 2008 02:01:53 +0200, Max Laier <[EMAIL PROTECTED]> wrote: > On Saturday 26 April 2008 23:35:57 Romain Tarti?re wrote: >> Hello FreeBSD hackers! >> >> I'm using avr-gcc from the ports and relying on the 0b prefix notation >> for binary constants, that is: >> >> foo = 0b00101010;

Re: strdup(NULL) supposed to create SIGSEGV?

2008-04-23 Thread Giorgos Keramidas
On Wed, 23 Apr 2008 19:57:47 +0200, Hans Petter Selasky <[EMAIL PROTECTED]> wrote: > Hi, > > I recently had to tell someone that "strncpy" does not always zero > terminate the destination string. Surprised by what I was telling they > immediately wanted to change the way the function worked. When

Re: strdup(NULL) supposed to create SIGSEGV?

2008-04-23 Thread Giorgos Keramidas
On Wed, 23 Apr 2008 09:06:44 -0700 (PDT), Simun Mikecin <[EMAIL PROTECTED]> wrote: >>If you're going to quote documents to support your ideas, it's probably >>better to read them first. > > My apologies. My fingers were faster than my mind. But this made me > read it the way I should have done in

Re: strdup(NULL) supposed to create SIGSEGV?

2008-04-23 Thread Giorgos Keramidas
On Wed, 23 Apr 2008 10:30:39 +0200, Bernard van Gastel <[EMAIL PROTECTED]> wrote: > Op 23 apr 2008, om 08:50 heeft Mike Meyer het volgende geschreven: >> On Tue, 22 Apr 2008 22:40:21 -0700 >> "Garrett Cooper" <[EMAIL PROTECTED]> wrote: >> >>> Hi all, >>> I made an oops in a program, which unco

Re: bug in /bin/sh?!?

2008-04-06 Thread Giorgos Keramidas
On Sun, 06 Apr 2008 11:17:18 -0700, Julian Elischer <[EMAIL PROTECTED]> wrote: > dino wrote: >> Hello, >> >> on my FreeBSD 7.0-STABLE the line: >> >>> sh -c 'set -- ${HOME+A B C}; echo "1:$1"; echo "2:$2:"; echo "3:$3:"' >> >> prints >> >> 1:A B C: >> 2:: >> 3:: >> >> I would rather expect: >> >> 1

Re: Perforce and `p4 diff2' against the origin

2008-04-06 Thread Giorgos Keramidas
On Sat, 5 Apr 2008 16:50:38 +0200, Ed Schouten <[EMAIL PROTECTED]> wrote: > Hello everyone, > > Because my mpsafetty project in Perforce is going quite well, I'm > considering running some kind of cron job to generate nightly diffs, so > other people (interested friends, colleagues and others) to t

Re: crontab Patches

2008-04-02 Thread Giorgos Keramidas
On Wed, 2 Apr 2008 15:35:02 -0400, Steven Kreuzer <[EMAIL PROTECTED]> wrote: > I wrote two patches for crontab.c that I was wondering if someone would > take a look at. > > The first one zero out pw_passwd in crontab, just to be paranoid side. > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/122070

Re: pfind() and the proc structure

2008-04-02 Thread Giorgos Keramidas
On Wed, 2 Apr 2008 10:59:26 -0700, "Rao, Nikhil" <[EMAIL PROTECTED]> wrote: > Thanks for all your replies, > > the all_proc lock is held in pfind(..) at the point PROC_LOCK(p) is > obtained. In the kern_wait(..) code below, the allproc_lock is acquired > before removing the proc from the list of al

Re: pfind() and the proc structure

2008-04-01 Thread Giorgos Keramidas
On Tue, 1 Apr 2008 07:23:58 -0700, "Rao, Nikhil" <[EMAIL PROTECTED]> wrote: > Ok, I should have caught that :-( Another question - Now that the > PROC_LOCK on p is obtained the all_proc lock is released and the > function returns, at this point can't the proc get deallocated ? > > Nikhil > > 242 st

Re: Some versioned storage program?

2008-03-21 Thread Giorgos Keramidas
On Fri, 21 Mar 2008 16:10:22 -0700, Xin LI <[EMAIL PROTECTED]> wrote: > Hi, folks, > > I'm looking for some versioned storage program that can fulfill the > following requirements: > > - Open source/Free Software that can run on FreeBSD, or not far >(i.e. on other POSIX OS) > - Support of ato

Re: Building in /usr/src copied to $HOME

2008-03-21 Thread Giorgos Keramidas
On Fri, 21 Mar 2008 14:32:24 -0600 (MDT), "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Václav Haisman <[EMAIL PROTECTED]> writes: > : > The problem is that MK_DYNAMICROOT is defined by bsd.own.mk. This > : > likely means that he's not building the sa

Re: Building in /usr/src copied to $HOME

2008-03-18 Thread Giorgos Keramidas
On 2008-03-18 21:28, V??clav Haisman <[EMAIL PROTECTED]> wrote: > Hi, > I am trying to use /usr/src copied to my $HOME but the build process > doesn't want to work. For example when I try build /bin/cp I get the > following: > > shell::wilx:~/freebsd/src/bin/cp> make > "/usr/home/users/wilx/freebsd

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 09:58, David O'Brien <[EMAIL PROTECTED]> wrote: >On Mon, Mar 03, 2008 at 10:42:56PM -0700, M. Warner Losh wrote: >> #include "arch.h" >> +#include "config.h" > > Are you able to use "CFLAGS+= -include config.h" instead? > If so, that would mean less .[ch] changes. Not with Sun Stud

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 10:01, David O'Brien <[EMAIL PROTECTED]> wrote: > On Tue, Mar 04, 2008 at 05:37:30PM +0200, Giorgos Keramidas wrote: > > The next part, about the missing errx() functions on Solaris is going to > > be tonight's fun. If there are too many missing functi

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 09:56, David O'Brien <[EMAIL PROTECTED]> wrote: > On Tue, Mar 04, 2008 at 05:45:43PM +0200, Giorgos Keramidas wrote: > > To test just cpp(1) stuff, autoconf supports AC_PREPROC_IFELSE() too, > > which I used when I tried writing a check for __FBSDID(): >

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 15:45, Robert Watson <[EMAIL PROTECTED]> wrote: >> The next part, about the missing errx() functions on Solaris is going to >> be tonight's fun. If there are too many missing functions, it may be >> worth adding a static `libcompat' with copies of just the functions we >> need to run

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 08:52, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Giorgos Keramidas <[EMAIL PROTECTED]> writes: > : Nice! Thank you Robert. Can I copy parts of this and add them to the > : autoconf glue I&

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 08:50, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Giorgos Keramidas <[EMAIL PROTECTED]> writes: > : "arch.c", line 1063: undefined symbol: INT_MIN > : cc: acomp failed for arc

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 15:38, Robert Watson <[EMAIL PROTECTED]> wrote: > On Tue, 4 Mar 2008, M. Warner Losh wrote: > >> : In most ports of FreeBSD parts to Linux that I've seen, the preferred >> solution >> : has to been to bring the entire FreeBSD queue.h with you rather than >> relying >> : on the nativ

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 21:01, Girish Venkatachalam <[EMAIL PROTECTED]> wrote: >On 17:01:28 Mar 04, Daniel O'Connor wrote: >> I did this a while ago when porting some of our code to Linux because it >> builds with pmake.. >> >> Your patches are much nicer than mine however :) >> >> The tailq stuff could be s

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 15:15, Robert Watson <[EMAIL PROTECTED]> wrote: > On Mon, 3 Mar 2008, M. Warner Losh wrote: >> --- pmake.orig/config.h 2005-02-01 03:50:35.0 -0700 >> +++ pmake/config.h 2008-03-03 22:24:16.745493000 -0700 >> @@ -108,4 +108,27 @@ >> # endif >> #endif >> >> +#ifndef TAILQ

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-03 22:42, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > Greetings, > > here's a set of diffs that will allow FreeBSD's usr.bin/make to build > on Linux. I'm sure they are gross, and I don't plan to commit them > (at least not all of them), but I thought I'd post them here to see > what

Re: Comments on pmake diffs for building on Linux

2008-03-04 Thread Giorgos Keramidas
On 2008-03-04 17:01, Daniel O'Connor <[EMAIL PROTECTED]> wrote: > On Tue, 4 Mar 2008, M. Warner Losh wrote: > > Greetings, > > > > here's a set of diffs that will allow FreeBSD's usr.bin/make to build > > on Linux. I'm sure they are gross, and I don't plan to commit them > > (at least not all of t

Re: cvs tag renaming after repo copy

2008-02-27 Thread Giorgos Keramidas
On 2008-02-27 12:21, John Hein <[EMAIL PROTECTED]> wrote: >Giorgos Keramidas wrote at 21:04 +0200 on Feb 27, 2008: >> On 2008-02-27 08:36, John Hein <[EMAIL PROTECTED]> wrote: >> > Can someone point me at a script that does tag renaming >> > after a re

Re: find -lname and -ilname implemented

2008-02-27 Thread Giorgos Keramidas
On 2008-02-27 10:31, David O'Brien <[EMAIL PROTECTED]> wrote: >On Mon, Feb 25, 2008 at 10:33:41PM +0200, Giorgos Keramidas wrote: >>On 2008-02-23 16:48, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: >>> This knee-jerk reaction against gnu find function

Re: cvs tag renaming after repo copy

2008-02-27 Thread Giorgos Keramidas
On 2008-02-27 08:36, John Hein <[EMAIL PROTECTED]> wrote: > Can someone point me at a script that does tag renaming > after a repo copy? You don't really need a `script' to do this. Tags in CVS are not versioned, so you can force-tag the repo-copied files and move the tag to its new place. For e

Re: find -lname and -ilname implemented

2008-02-25 Thread Giorgos Keramidas
On 2008-02-23 16:48, "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Jonathan McKeown <[EMAIL PROTECTED]> writes: > : Yes, where it makes sense. I'm not at all convinced that this change makes > as > : much sense as you obviously think it does - especia

Re: encrypted executables

2008-02-18 Thread Giorgos Keramidas
On 2008-02-18 19:54, Jerry Toung <[EMAIL PROTECTED]> wrote: >On Feb 18, 2008 5:39 PM, Dimitry Andric <[EMAIL PROTECTED]> wrote: >>On 2008-02-19 02:18, Jerry Toung wrote: >>> anybody knows of a tool to encrypt executables under FreeBSD? may be >>> from the ports? I am not talking about simple file

Re: encrypted executables

2008-02-18 Thread Giorgos Keramidas
On 2008-02-19 02:39, Dimitry Andric <[EMAIL PROTECTED]> wrote: >On 2008-02-19 02:18, Jerry Toung wrote: >> anybody knows of a tool to encrypt executables under FreeBSD? may be >> from the ports? >> >> I am not talking about simple file encryption. > > Can you elaborate on what you *are* talking abo

  1   2   3   4   >