Bug 137631 - [PATCH] lang/neko: update to 1.8.1
Summary: [PATCH] lang/neko: update to 1.8.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 11:50 UTC by Masanori OZAWA
Modified: 2009-08-11 03:20 UTC (History)
0 users

See Also:


Attachments
file.diff (2.77 KB, patch)
2009-08-10 11:50 UTC, Masanori OZAWA
no flags Details | Diff
file.diff (404 bytes, patch)
2009-08-10 11:50 UTC, Masanori OZAWA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Masanori OZAWA 2009-08-10 11:50:03 UTC
- update to 1.8.1

Fix: (note: files/patch-libs_mod_tora_protocol.c removed)

- 	}

- 

--static int pwrite( mcontext *c, const char *buf, int len ) {

-+static int _pwrite( mcontext *c, const char *buf, int len ) {

- 	while( len > 0 ) {

- 		int k = send(c->sock,buf,len,MSG_NOSIGNAL);

- 		if( k <= 0 ) return 0;

-@@ -47,7 +47,7 @@
- 	return 1;

- }

- 

--static int pread( mcontext *c, char *buf, int len ) {

-+static int _pread( mcontext *c, char *buf, int len ) {

- 	while( len > 0 ) {

- 		int k = recv(c->sock,buf,len,MSG_NOSIGNAL);

- 		if( k <= 0 ) return 0;

-@@ -63,8 +63,8 @@
- 	h[1] = (unsigned char)len;

- 	h[2] = (unsigned char)(len >> 8);

- 	h[3] = (unsigned char)(len >> 16);

--	pwrite(c,(char*)h,4);

--	pwrite(c,str,len);

-+	_pwrite(c,(char*)h,4);

-+	_pwrite(c,str,len);

- }

- 

- static void psend( mcontext *c, proto_code code, const char *str ) {

-@@ -329,7 +329,7 @@
- 	int buflen = BUFSIZE;

- 	*exc = 0;

- 	while( true ) {

--		if( !pread(c,header,4) )

-+		if( !_pread(c,header,4) )

- 			ABORT("Connection Closed");

- 		len = header[1] | (header[2] << 8) | (header[3] << 16);

- 		if( buflen <= len ) {

-@@ -338,7 +338,7 @@
- 			free(buf);

- 			buf = (char*)malloc(buflen);

- 		}

--		if( !pread(c,buf,len) )

-+		if( !_pread(c,buf,len) )

- 			ABORT("Connection Closed");

- 		buf[len] = 0;

- 		switch( *header ) {
Comment 1 dfilter service freebsd_committer freebsd_triage 2009-08-11 03:19:46 UTC
daichi      2009-08-11 02:19:32 UTC

  FreeBSD ports repository

  Modified files:
    lang/neko            Makefile distinfo pkg-plist 
  Removed files:
    lang/neko/files      patch-libs_mod_tora_protocol.c 
  Log:
  Update for 1.8.1
  
  PR:             137631
  Submitted by:   maintainer
  
  Revision  Changes    Path
  1.12      +20 -2     ports/lang/neko/Makefile
  1.3       +3 -3      ports/lang/neko/distinfo
  1.2       +0 -49     ports/lang/neko/files/patch-libs_mod_tora_protocol.c (dead)
  1.3       +1 -0      ports/lang/neko/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Daichi GOTO freebsd_committer freebsd_triage 2009-08-11 03:19:48 UTC
State Changed
From-To: open->closed

Committed. Thanks!