Displaying 20 results from an estimated 100 matches similar to: "[PATCH] Null terminate before printing the link name."
2014 Apr 15
0
[klibc:master] readlink: Better buffer handling
Commit-ID: 4a66f39cb53fde78c4518615382be83a9e2bff0b
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=4a66f39cb53fde78c4518615382be83a9e2bff0b
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 15 Apr 2014 09:27:38 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 15 Apr 2014 09:27:38 -0700
readlink: Better buffer handling
2011 Jul 07
5
[PATCH 0/5] checkpatch cleanups
It seems checkpatch errors krept in, this is a first go.
Next run will go into usr/kinit directory.
No code changes, just codingstyle fixes (verified with size(3)).
maximilian attems (5):
[klibc] sleep: have argument on next line
[klibc] readklink: remove unneeded braces
[klibc] mount: whitespace policy
[klibc] ls: fix various checkpatch complaints
[klibc] tests: checkpatch fixlets
2009 May 28
1
[PATCH] klibc-utils: add minils
Simple utility to list information about a files. The utility which
does the same thing as "ls -la". This is a useful test program.
Signed-off-by: Alexey Gladkov <gladkov.alexey at gmail.com>
---
usr/utils/Kbuild | 4 +-
usr/utils/minils.c | 198 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 201 insertions(+), 1 deletions(-)
create mode 100644
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
hello hpa,
please pull for the latest
git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks
with the following shortlog:
maximilian attems (9):
mount: add nodev, noexec and nosuid options
mount: add -n option
cpio: small cleanups
readlink: s/link/link_name/
kinit, mknod: s/(major|minor)/\1_num/
klibc: strcspn, strpbrk, strspn include string.h
2006 Jul 21
1
RJS Failing
This code was working before I created the update_link_list method in
the helper below (everything was in the controller). I can successfully
create a new link but I get a TypeError when I leave all form fields
blank -- I expect to see validation error messages.
---
#link_controller.rb:
def create
link = Link.new(params[:link])
saved = link.save
num_links = Link.find(:all).size
2014 Apr 15
0
[klibc:master] readlink: Handle multiple input arguments
Commit-ID: 1ba3e80738407d13bc4a71812578848b6f657e23
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=1ba3e80738407d13bc4a71812578848b6f657e23
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 15 Apr 2014 09:34:45 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 15 Apr 2014 09:34:45 -0700
readlink: Handle multiple input
2014 Sep 27
1
[PATCH 2/2] readlink: Add -f option
This is needed to support mounting non-root filesystems in
initramfs-tools.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
initramfs-tools 0.117 only works with busybox; this should allow it to
work with klibc again.
Ben.
--- a/usr/utils/readlink.c
+++ b/usr/utils/readlink.c
@@ -7,24 +7,45 @@ const char *progname;
static __noreturn usage(void)
{
- fprintf(stderr,
2016 Jan 06
0
[klibc:master] readlink: Add -f option
Commit-ID: 4d9db8a092aee0dfaebb65e0b4f054a40d92cbd9
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=4d9db8a092aee0dfaebb65e0b4f054a40d92cbd9
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Wed, 6 Jan 2016 01:09:16 +0000
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 5 Jan 2016 17:48:48 -0800
[klibc] readlink: Add -f option
2016 Jan 06
3
[PATCH klibc 0/3] Changes to support initramfs-tools 0.117
initramfs-tools version 0.117 requires 'readlink -f' and
'mount -o defaults' to work.
The first two patches were previously submitted but not applied.
Ben.
Ben Hutchings (3):
Implement realpath()
readlink: Add -f option
mount: Implement -o defaults
usr/include/stdlib.h | 2 ++
usr/klibc/Kbuild | 2 +-
usr/klibc/realpath.c | 49
2009 May 29
1
[PATCH v2] klibc-utils: add simple ls
Simple utility to list information about a files. The utility which
does the same thing as "ls -la". This is a useful test program.
Signed-off-by: Alexey Gladkov <gladkov.alexey at gmail.com>
---
usr/utils/Kbuild | 4 +-
usr/utils/ls.c | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 205 insertions(+), 1 deletions(-)
create mode 100644
2014 Apr 15
0
[klibc:master] readlink: Reduce size by calling _fwrite() instead of puts()
Commit-ID: 06e395cd75dc79289ae789c146795189c32babd8
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=06e395cd75dc79289ae789c146795189c32babd8
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 15 Apr 2014 13:23:49 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 15 Apr 2014 13:23:49 -0700
readlink: Reduce size by calling
2023 Jan 13
0
[klibc:master] ls: Handle relative directory names correctly
Commit-ID: 3d63cd68496a1c8aeccbdac6488bc1f002700bc8
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=3d63cd68496a1c8aeccbdac6488bc1f002700bc8
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 31 Dec 2022 16:00:28 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 31 Dec 2022 16:04:19 +0100
[klibc] ls: Handle relative
2006 Jul 18
6
RJS - Insert at top of table?
Quick question regarding RJS and inserting to the top of a table. Here''s
the view I''m working with:
<table id="links-list">
<tr>
<th>Display title</th>
<th>URL</th>
<th>Description</th>
<th>Category</th>
</tr>
<% for link in @links %>
<tr id="link-<%= h link.id
2006 Jun 02
3
Custom Pagination Links
Hi,
I''m using the code below to display some pagination links. It works
great apart from when there''s no paging i.e. the full collection is
displayed, when it still display a "1" to represent the current page.
How can I suppress that?
Thanks!
<div class="pager">
<%= link_to(''< Prev'', {:params =>
2006 May 23
3
image_tag problem
Hiall,
I want to make an image_tag from within a controller in order to be
able to present a link (with a status image) in a view. Here is my
controller method (in file webca_controller.rb, hence WebcaController)
def untouched_status_image_tag
image_tag("open", { :alt => "Offen", :title => "Offen", :size =>
"12x12", :class =>
2006 Jul 16
6
How to access element attributes using RJS?
For example, in the following block:
page.select(''.foo'').each do |element|
...
end
How would I access, just for example, the id attribute of each element in
the collection?
I''ve randomly tried element.id and element.attributes[''id''], but neither of
those has worked. I''ve also been unsuccessful in finding any documentation
on this, but it
2006 Jul 11
0
Ajax.InPlaceEditor + onComplete
Hello,
I am trying to use the helper "in_place_editor_field" and pass an
onComplete to it, but it seems that I can''t pass that :success or
:onComplete because they become attributes of the span on to of the
Javascript:
Here is my desired Javascript outcome:
new Ajax.InPlaceEditor(''div_name'', ''link_name'',
2019 Jan 18
0
[klibc:master] remove unused variables
Commit-ID: f00d99cb73813d94730900e46752612a9ce4fadb
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=f00d99cb73813d94730900e46752612a9ce4fadb
Author: Greg Thelen <gthelen at google.com>
AuthorDate: Sun, 25 Feb 2018 23:16:33 -0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Wed, 2 Jan 2019 03:08:04 +0000
[klibc] remove unused variables
Fix
2018 Feb 26
3
[PATCH 1/4] include sys/types.h in more places
Include sys/types.h to avoid compilation warnings:
In file included from $LINUX/usr/include/linux/byteorder/little_endian.h:12:0,
from $LINUX/usr/include/asm/byteorder.h:5,
from $KLIBC/usr/klibc/../include/klibc/endian.h:11,
from $KLIBC/usr/klibc/../include/endian.h:8,
from $KLIBC/usr/klibc/pread.c:7:
2006 Nov 23
3
dynamic mapping in controller
Hi,
I have used scaffold to create my rails project and hence I have a
database containing a table called "results" and when i call the "show"
action followed by the ID it brings up a list of the relative record and
its details.
What I want though is for if someone types in say
localhost/results/etab-mobile that it maps dynamically to
localhost/show/1 but keeps