/rtmp/join

text/x-diff

Filename: /rtmp/join
Type: text/x-diff
Part: 0
Message: Re: psql \ir filename normalization

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
src/port/path.c 0 0
diff --git a/src/port/path.c b/src/port/path.c
new file mode 100644
index 13ca4f3..9cb0b01
*** a/src/port/path.c
--- b/src/port/path.c
*************** join_path_components(char *ret_path,
*** 212,218 ****
  	}
  	if (*tail)
  		snprintf(ret_path + strlen(ret_path), MAXPGPATH - strlen(ret_path),
! 				 "/%s", tail);
  }
  
  
--- 212,219 ----
  	}
  	if (*tail)
  		snprintf(ret_path + strlen(ret_path), MAXPGPATH - strlen(ret_path),
! 				/* only add slash if there is something already in head */
! 				 "%s%s", head[0] ? "/" : "", tail);
  }