Displaying 20 results from an estimated 25 matches for "chsize".
Did you mean:
hsize
2005 May 19
1
problems with truncate() with files > 2Gb under Windows (possibly (PR#7879)
...tes to handling files > 2Gb under Windows. (I use 2Gb
as shorthand for 2^31-1 -- the largest integer representable in a signed
32 bit integer.)
First issue: truncate() is not able to successfully truncate files at a
position > 2Gb. This appears to be due to the use of the Windows
function chsize() in file_truncate() in main/connections.c (chsize()
takes a long int specification of the file size, so we would not expect
it to work for positions > 2Gb).
The Windows API has the function SetEndOfFile(handle) that is
supposed to truncate the file to the current position. However, this
funct...
2003 Sep 06
20
[Bug 615] OpenSSH 3.6.1p2 ON SCO 3.2v4.2 + STRICTMODES -->yes (broken dirname in libgen)
http://bugzilla.mindrot.org/show_bug.cgi?id=615
------- Additional Comments From dtucker at zip.com.au 2003-09-06 12:51 -------
Created an attachment (id=387)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=387&action=view)
Move libgen test after dirname test
Looked at this again, I think the reason it's not working is libgen has already
been detected before the dirname test,
2005 May 19
0
problems with truncate() with files > 2Gb under Windows (PR#7880)
...b under Windows. (I use 2Gb
> as shorthand for 2^31-1 -- the largest integer representable in a signed
> 32 bit integer.)
>
> First issue: truncate() is not able to successfully truncate files at a
> position > 2Gb. This appears to be due to the use of the Windows
> function chsize() in file_truncate() in main/connections.c (chsize()
> takes a long int specification of the file size, so we would not expect
> it to work for positions > 2Gb).
>
> The Windows API has the function SetEndOfFile(handle) that is
> supposed to truncate the file to the current positi...
2002 Mar 07
1
SCO 3 / CVS version
Hi,
just to give you a quick "success" note: current portable CVS snapshot
builds mostly fine on SCO3. The only remaining problem is truncate() in
sftp-server.c - SCO3 can replace ftruncate() with chsize() (detected by
configure and works), but has no truncate() equivalent.
Run-time testing tomorrow, but I do not expect nasty surprises.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germ...
2005 Feb 26
1
drop support for SCO 3.2v4.2
...miting something like this.
--------------------------------
--- configure.ac.old 2005-02-24 19:47:25.361190001 -0800
+++ configure.ac 2005-02-25 12:33:35.341390018 -0800
@@ -374,23 +374,7 @@
;;
# SCO UNIX and OEM versions of SCO UNIX
*-*-sco3.2v4*)
- CPPFLAGS="$CPPFLAGS -Dftruncate=chsize"
[snip next 16 deleted lines]
+ AC_MSG_ERROR("This Platform is no longer supported.")
;;
# SCO OpenServer 5.x
*-*-sco3.2v5*)
--------------------------------
I no longer have the time or interest in supporting OpenSSH on
the very old 3.2v4.2 platform. The TCP/IP stack is s...
2002 Jun 24
1
remove --with-rsh
...====================================================
RCS file: /var/cvs/openssh/configure.ac,v
retrieving revision 1.68
diff -u -r1.68 configure.ac
--- configure.ac 22 Jun 2002 18:51:48 -0000 1.68
+++ configure.ac 24 Jun 2002 00:50:32 -0000
@@ -247,7 +247,6 @@
CPPFLAGS="$CPPFLAGS -Dftruncate=chsize -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
LIBS="$LIBS -los -lprot -lx -ltinfo -lm"
- rsh_path="/usr/bin/rcmd"
RANLIB=true
no_dev_ptmx=1
AC_DEFINE(BROKEN_SYS_TERMIO_H)
@@ -264,7 +263,6 @@
LDFLAGS="$LDFLAGS -L/usr/local/lib"
L...
2003 Dec 30
8
[Bug 651] SCO 3.2v4.2 and OpenSSH 3.7.1p1 --> connection hangs and does not close (ssh2 only)
...------- Additional Comments From vikashb at comparexafrica.co.za 2003-12-30 16:39 -------
tried openssh-SNAP-20031223
does not compile:
(cd openbsd-compat && make)
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
-I/usr/local/ssl/include -Dftruncate=chsize -I/usr/local/include
-DHAVE_CONFIG_H -c bsd-arc4random.c
In file included from ../includes.h:170,
from bsd-arc4random.c:25:
../defines.h:146: #error "8 bit int type not found."
../defines.h:158: #error "16 bit int type not found."
../defines.h:167: #error "...
2001 Feb 12
5
SCO OS3 build broken (CVS 01/12/01)
It looks like something got broken in openbsd-compat/bsd-snprintf.c
...
gcc -g -O2 -Wall -Dftruncate=chsize -I/usr/local/include -I/usr/local/ssl/includ
e -I. -I.. -I../src/openbsd-compat -I../src/openbsd-compat/.. -DHAVE_CONFIG_H -c
../src/openbsd-compat/bsd-snprintf.c
In file included from ../src/openbsd-compat/bsd-snprintf.c:72:
/usr/local/lib/gcc-lib/i486-unknown-sco3.2v4.2/2.7.2.1/include/varargs.h...
2002 Apr 07
0
[Bug 208] New: SCO build/runtime fixes
...CO Unix 3.2v4.0 (SCO OSR 3.0).
entropy.c needs seteuid(getuid()) for the setuid(original_uid) to
succeed. This is per the man page for setuid(), though I won't claim to
understand the reasoning.
sftp-server.c uses truncate(), which does not exist on SCO. Only ftruncate()
exists (-Dftruncate=chsize). I'll try to attach patches.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2010 Dec 24
0
mcga 1.1 (machine coded genetic algorithms) package released
...d
chromosomes.
Increasing or decreasing a randomly selected byte of V3 stands for the mutation
operator. In mcga, we randomly change a byte like this:
________________________________
void GA::Mutate(Chromosome *c1){
char *cptr=(char *)c1->values;
int mutatepoint=(rand() % (this->chsize * sizeof(double)));
cptr+=mutatepoint;
if(((float)rand()/RAND_MAX)<0.5){
(*cptr)+=1;
}else{
(*cptr)-=1;
}
}
________________________________
Changing a byte of a double value can make a small or extremely high difference.
This is the mutatio...
2010 Dec 24
0
mcga 1.1 (machine coded genetic algorithms) package released
...d
chromosomes.
Increasing or decreasing a randomly selected byte of V3 stands for the mutation
operator. In mcga, we randomly change a byte like this:
________________________________
void GA::Mutate(Chromosome *c1){
char *cptr=(char *)c1->values;
int mutatepoint=(rand() % (this->chsize * sizeof(double)));
cptr+=mutatepoint;
if(((float)rand()/RAND_MAX)<0.5){
(*cptr)+=1;
}else{
(*cptr)-=1;
}
}
________________________________
Changing a byte of a double value can make a small or extremely high difference.
This is the mutatio...
2003 Jul 29
6
[Bug 615] OpenSSH 3.6.1p2 ON SCO 3.2v4.2 + STRICTMODES -->yes (broken dirname in libgen)
http://bugzilla.mindrot.org/show_bug.cgi?id=615
vikashb at comparexafrica.co.za changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|OpenSSH 3.6.1p2 ON SCO |OpenSSH 3.6.1p2 ON SCO
|3.2v4.2 + STRICTMODES -->yes|3.2v4.2 + STRICTMODES -->yes
|
2001 Feb 07
2
Patch for unformatted manpages
...suid_ssh=no
;;
*-*-sysv*)
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
- MANTYPE='$(CATMAN)'
- mansubdir=cat
LIBS="$LIBS -lgen -lsocket"
;;
*-*-sco3.2v4*)
AC_DEFINE(USE_PIPES)
CPPFLAGS="$CPPFLAGS -Dftruncate=chsize -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
- MANTYPE='$(CATMAN)'
- mansubdir=cat
LIBS="$LIBS -lgen -lsocket -los -lprot -lx -ltinfo -lm"
no_dev_ptmx=1
RANLIB=true
@@ -224,8 +201,6 @@
AC_DEFINE(USE_PIPES)
CPPFLAGS="$CPPFLAGS -I/usr/loc...
2008 Jul 08
0
Report this to samba-technical@samba.org, ldap_initialize error
...es
checking for setresuid... no
checking for setegid... yes
checking for setresgid... no
checking for chroot... yes
checking for bzero... yes
checking for strerror... yes
checking for vsyslog... yes
checking for setlinebuf... yes
checking for mktime... yes
checking for ftruncate... yes
checking for chsize... no
checking for rename... yes
checking for waitpid... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for initgroups... yes
checking for memmove... yes
checking for strdup... yes
checking for pread... yes
checking for pwrite... yes
checking for strndup... no
checking for str...
2010 Nov 01
1
Samba 4 on osx
...hecking for chroot : ok
Checking for strerror : ok
Checking for vsyslog : ok
Checking for setlinebuf : ok
Checking for mktime : ok
Checking for ftruncate : ok
Checking for chsize : not found
Checking for rename : ok
Checking for waitpid : ok
Checking for wait4 : ok
Checking for strlcpy : ok
Checking for strlcat : ok
Checking for initgroups...
2010 Oct 07
1
OSX and samba4 git
...hecking for chroot : ok
Checking for strerror : ok
Checking for vsyslog : ok
Checking for setlinebuf : ok
Checking for mktime : ok
Checking for ftruncate : ok
Checking for chsize : not found
Checking for rename : ok
Checking for waitpid : ok
Checking for wait4 : ok
Checking for strlcpy : ok
Checking for strlcat : ok
Checking for initgroups...
2000 Nov 14
14
New snapshot
I have just uploaded a new snapshot to:
http://www.mindrot.org/misc/openssh/openssh-SNAP-20001114.tar.gz
This snapshot includes Markus Friedl's new SSH2 RSA authentication work
and -R portforwarding for SSH2. Please give these a good test.
The new RSA authentications works similar to the current SSH2 DSA keys,
but requires a little modification to config files. Currently RSA
key cannot be
2002 Jul 17
13
Testing Call
Ok.. I'm starting official testing calls early this release. I'd like to
have more feedback and more time for handling fixes.
If people could test snapshots (http://www.openssh.org/portable.html, pick
your favorate mirror and select snapshots directory) and report failures
it would be useful.
For those with pmake install there is regress/ which you can try out. It
may help any platform
2011 May 14
3
Problems building wine 1.3.20 on Mac os x 10.6.7
...checking for _popen... no
checking for _snprintf... no
checking for _spawnvp... no
checking for _strdup... no
checking for _stricmp... no
checking for _strnicmp... no
checking for _strtoi64... no
checking for _strtoui64... no
checking for _vsnprintf... no
checking for asctime_r... yes
checking for chsize... no
checking for dlopen... yes
checking for epoll_create... no
checking for ffs... yes
checking for finite... yes
checking for fnmatch... yes
checking for fork... yes
checking for fpclass... no
checking for fstatfs... yes
checking for fstatvfs... yes
checking for ftruncate... yes
checking for fut...
2006 May 18
2
Problems compiling Wine
...checking for _lwp_create... no
checking for _lwp_self... no
checking for _pclose... no
checking for _popen... no
checking for _snprintf... no
checking for _spawnvp... no
checking for _stricmp... no
checking for _strnicmp... no
checking for _vsnprintf... no
checking for asctime_r... yes
checking for chsize... no
checking for clone... yes
checking for epoll_create... yes
checking for ffs... yes
checking for finite... yes
checking for fork... yes
checking for fpclass... no
checking for fstatfs... yes
checking for fstatvfs... yes
checking for ftruncate... yes
checking for futimes... yes
checking for fut...